Physical Activity Implementation Guide, published by HL7 International / Patient Care. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/physical-activity/ and changes regularly. See the Directory of published versions
| Official URL: http://hl7.org/fhir/us/physical-activity/StructureDefinition/reference-rest-or-logical | Version: 1.0.1 | |||
| Standards status: Trial-use | Maturity Level: 2 | Computable Name: ReferenceRestOrLogical | ||
A Reference data type where the referenced resource could be resolvable RESTfully or pointed to logically.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Reference
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | C | 0..* | Reference | A reference from one resource to another PA-ident-1: reference or identifier must be present PA-ident-2: If reference is not present, display must be present  | 
![]() ![]()  | SC | 0..1 | string | Literal reference, Relative, internal or absolute URL | 
![]() ![]()  | SC | 0..1 | Identifier | Logical reference, when literal reference is not known | 
![]() ![]() ![]()  | 0..1 | uri | The namespace for the identifier value Required Pattern: http://hl7.org/fhir/sid/us-npi  | |
![]() ![]() ![]()  | S | 1..1 | string | The value that is unique | 
![]() ![]()  | SC | 0..1 | string | Text alternative for the resource | 
  Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements | 
| PA-ident-1 | error | Reference | reference or identifier must be present : reference.exists() or identifier.exists()  | |
| PA-ident-2 | error | Reference | If reference is not present, display must be present : reference.exists().not() implies display.exists()  | 
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | C | 0..* | Reference | A reference from one resource to another ref-1: SHALL have a contained resource if a local reference is provided PA-ident-1: reference or identifier must be present PA-ident-2: If reference is not present, display must be present  | 
![]() ![]()  | SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | 
![]() ![]()  | SΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | 
![]() ![]() ![]()  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]()  | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: http://hl7.org/fhir/sid/us-npi  | 
![]() ![]() ![]()  | SΣ | 1..1 | string | The value that is unique Example General: 123456  | 
![]() ![]()  | SΣC | 0..1 | string | Text alternative for the resource | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Reference.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1from the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| PA-ident-1 | error | Reference | reference or identifier must be present : reference.exists() or identifier.exists()  | |
| PA-ident-2 | error | Reference | If reference is not present, display must be present : reference.exists().not() implies display.exists()  | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| 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'))  | 
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | C | 0..* | Reference | A reference from one resource to another ref-1: SHALL have a contained resource if a local reference is provided PA-ident-1: reference or identifier must be present PA-ident-2: If reference is not present, display must be present  | 
![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]()  | SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | 
![]() ![]()  | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).  | 
![]() ![]()  | SΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | 
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]()  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]()  | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | 
![]() ![]() ![]()  | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: http://hl7.org/fhir/sid/us-npi  | 
![]() ![]() ![]()  | SΣ | 1..1 | string | The value that is unique Example General: 123456  | 
![]() ![]() ![]()  | Σ | 0..1 | Period | Time period when id is/was valid for use | 
![]() ![]() ![]()  | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | 
![]() ![]()  | SΣC | 0..1 | string | Text alternative for the resource | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Reference.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesfrom the FHIR Standard  | |
| Reference.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1from the FHIR Standard  | |
| Reference.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typefrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| PA-ident-1 | error | Reference | reference or identifier must be present : reference.exists() or identifier.exists()  | |
| PA-ident-2 | error | Reference | If reference is not present, display must be present : reference.exists().not() implies display.exists()  | |
| 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()  | |
| 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'))  | 
Differential View
This structure is derived from Reference
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | C | 0..* | Reference | A reference from one resource to another PA-ident-1: reference or identifier must be present PA-ident-2: If reference is not present, display must be present  | 
![]() ![]()  | SC | 0..1 | string | Literal reference, Relative, internal or absolute URL | 
![]() ![]()  | SC | 0..1 | Identifier | Logical reference, when literal reference is not known | 
![]() ![]() ![]()  | 0..1 | uri | The namespace for the identifier value Required Pattern: http://hl7.org/fhir/sid/us-npi  | |
![]() ![]() ![]()  | S | 1..1 | string | The value that is unique | 
![]() ![]()  | SC | 0..1 | string | Text alternative for the resource | 
  Documentation for this format | ||||
| Id | Grade | Path(s) | Details | Requirements | 
| PA-ident-1 | error | Reference | reference or identifier must be present : reference.exists() or identifier.exists()  | |
| PA-ident-2 | error | Reference | If reference is not present, display must be present : reference.exists().not() implies display.exists()  | 
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | C | 0..* | Reference | A reference from one resource to another ref-1: SHALL have a contained resource if a local reference is provided PA-ident-1: reference or identifier must be present PA-ident-2: If reference is not present, display must be present  | 
![]() ![]()  | SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | 
![]() ![]()  | SΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | 
![]() ![]() ![]()  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]()  | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: http://hl7.org/fhir/sid/us-npi  | 
![]() ![]() ![]()  | SΣ | 1..1 | string | The value that is unique Example General: 123456  | 
![]() ![]()  | SΣC | 0..1 | string | Text alternative for the resource | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Reference.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1from the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| PA-ident-1 | error | Reference | reference or identifier must be present : reference.exists() or identifier.exists()  | |
| PA-ident-2 | error | Reference | If reference is not present, display must be present : reference.exists().not() implies display.exists()  | |
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count())  | |
| 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'))  | 
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints![]()  | 
|---|---|---|---|---|
![]()  | C | 0..* | Reference | A reference from one resource to another ref-1: SHALL have a contained resource if a local reference is provided PA-ident-1: reference or identifier must be present PA-ident-2: If reference is not present, display must be present  | 
![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]()  | SΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | 
![]() ![]()  | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).  | 
![]() ![]()  | SΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | 
![]() ![]() ![]()  | 0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]()  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |
![]() ![]() ![]()  | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | 
![]() ![]() ![]()  | Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | 
![]() ![]() ![]()  | Σ | 0..1 | uri | The namespace for the identifier value Required Pattern: http://hl7.org/fhir/sid/us-npi  | 
![]() ![]() ![]()  | SΣ | 1..1 | string | The value that is unique Example General: 123456  | 
![]() ![]() ![]()  | Σ | 0..1 | Period | Time period when id is/was valid for use | 
![]() ![]() ![]()  | Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | 
![]() ![]()  | SΣC | 0..1 | string | Text alternative for the resource | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Reference.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesfrom the FHIR Standard  | |
| Reference.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1from the FHIR Standard  | |
| Reference.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typefrom the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| PA-ident-1 | error | Reference | reference or identifier must be present : reference.exists() or identifier.exists()  | |
| PA-ident-2 | error | Reference | If reference is not present, display must be present : reference.exists().not() implies display.exists()  | |
| 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()  | |
| 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'))  | 
Other representations of profile: CSV, Excel, Schematron