Guia de Implementação do AnHealth
0.2.0 - CI Build
Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions
| Official URL: https://ancode.app/fhir/StructureDefinition/Reference | Version: 0.2.0 | |||
| Draft as of 2022-04-20 | Computable Name: Reference | |||
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Reference | A reference from one resource to another |
![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children unless an empty Parameters resource : hasValue() or (children().count() > id.count()) or $this is Parameters | |
| ref-1 | error | Reference | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource) |
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Reference | A reference from one resource to another |
![]() ![]() | 0..1 | id | Unique id for inter-element referencing | |
![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) |
![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Reference.type | extensible | ResourceType |
| Id | Grade | Path(s) | Details | Requirements |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Reference
Differential View
This structure is derived from Reference
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | 0..* | Reference | A reference from one resource to another | |
![]() ![]() | 1..1 | string | Literal reference, Relative, internal or absolute URL | |
Documentation for this format | ||||
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Reference | A reference from one resource to another |
![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children unless an empty Parameters resource : hasValue() or (children().count() > id.count()) or $this is Parameters | |
| ref-1 | error | Reference | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) or (reference='#' and %rootResource!=%resource) |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]() |
|---|---|---|---|---|
![]() | C | 0..* | Reference | A reference from one resource to another |
![]() ![]() | 0..1 | id | Unique id for inter-element referencing | |
![]() ![]() | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
![]() ![]() | ΣC | 1..1 | string | Literal reference, Relative, internal or absolute URL |
![]() ![]() | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) |
![]() ![]() | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
![]() ![]() | Σ | 0..1 | string | Text alternative for the resource |
Documentation for this format | ||||
| Path | Conformance | ValueSet |
| Reference.type | extensible | ResourceType |
| Id | Grade | Path(s) | Details | Requirements |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This structure is derived from Reference
Other representations of profile: CSV, Excel, Schematron