This page is part of the Occupational Data for Health (ODH) FHIR IG (v1.0.0: STU 1) based on FHIR R4. The current version which supercedes this version is 1.2.0. For a full list of available versions, see the Directory of published versions
The official URL for this extension is:
http://hl7.org/fhir/us/odh/StructureDefinition/obf-MedicationCodeOrReference-extension
A choice of a medication code or reference.
This extension was published on Sat Jan 04 00:00:00 UTC 2020 as a draft by HL7 International Public Health Work Group.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | MedicationCodeOrReference | |
extension | 0..0 | |||
url | uri | "http://hl7.org/fhir/us/odh/StructureDefinition/obf-MedicationCodeOrReference-extension" | ||
value[x] | 1.. | |||
valueCodeableConcept | CodeableConcept | |||
valueReference | Reference(Medication) | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | I | 0..* | Extension | MedicationCodeOrReference ext-1: Must have either extensions or value[x], not both |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "http://hl7.org/fhir/us/odh/StructureDefinition/obf-MedicationCodeOrReference-extension" | |
value[x] | 1..1 | Value of extension | ||
valueCodeableConcept | CodeableConcept | |||
valueReference | Reference(Medication) | |||
Documentation for this format |
Differential View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | MedicationCodeOrReference | |
extension | 0..0 | |||
url | uri | "http://hl7.org/fhir/us/odh/StructureDefinition/obf-MedicationCodeOrReference-extension" | ||
value[x] | 1.. | |||
valueCodeableConcept | CodeableConcept | |||
valueReference | Reference(Medication) | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | I | 0..* | Extension | MedicationCodeOrReference ext-1: Must have either extensions or value[x], not both |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "http://hl7.org/fhir/us/odh/StructureDefinition/obf-MedicationCodeOrReference-extension" | |
value[x] | 1..1 | Value of extension | ||
valueCodeableConcept | CodeableConcept | |||
valueReference | Reference(Medication) | |||
Documentation for this format |
Downloads: StructureDefinition: (XML, JSON, TTL), Schema: XML Schematron
Id | Path | Details | Requirements |
ele-1 | Extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | Extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
This extension is used in the following profiles: