# structure_cache

package_name: hl7.fhir.au.core-1.1.0
package_version: preview
resource_type: Medication
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-medication", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2}, {"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use", "_valueCode": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core"}]}}], "url": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication", "version": "1.1.0-preview", "name": "AUCoreMedication", "title": "AU Core Medication", "status": "active", "date": "2025-03-06T07:19:11+00:00", "publisher": "HL7 Australia", "contact": [{"name": "HL7 Australia FHIR Work Group", "telecom": [{"system": "url", "value": "https://confluence.hl7.org/display/HAFWG", "use": "work"}]}], "description": "This profile sets minimum expectations for a Medication resource to record, search, and fetch medications associated with a patient. It is based on the [AU Base Medication](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-medication.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Medication when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context. \n\nIn AU Core a Medication resource is used within the context of a referencing resource: MedicationAdministration, MedicationDispense, MedicationRequest, or MedicationStatement resource.", "jurisdiction": [{"coding": [{"system": "urn:iso:std:iso:3166", "code": "AU"}]}], "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia\u00a9 2022+; Licensed Under Creative Commons No Rights Reserved.", "fhirVersion": "4.0.1", "mapping": [{"identity": "script10.6", "uri": "http://ncpdp.org/SCRIPT10_6", "name": "Mapping to NCPDP SCRIPT 10.6"}, {"identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping"}, {"identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping"}, {"identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping"}], "kind": "resource", "abstract": false, "type": "Medication", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-medication", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "Medication", "path": "Medication", "short": "A medication in an Australian healthcare context", "definition": "This resource is primarily used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication as well as for making statements about medication use.", "min": 0, "max": "*", "base": {"path": "Medication", "min": 0, "max": "*"}, "constraint": [{"key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-5", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a security label", "expression": "contained.meta.security.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:security))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "valueBoolean": true}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}], "key": "dom-6", "severity": "warning", "human": "A resource should have narrative for robust management", "expression": "text.`div`.exists()", "xpath": "exists(f:text/h:div)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Entity. Role, or Act"}, {"identity": "script10.6", "map": "NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed"}, {"identity": "rim", "map": "ManufacturedProduct[classCode=ADMM]"}]}, {"id": "Medication.id", "path": "Medication.id", "short": "Logical id of this artifact", "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min": 0, "max": "1", "base": {"path": "Resource.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "id"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": true}, {"id": "Medication.meta", "path": "Medication.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "min": 0, "max": "1", "base": {"path": "Resource.meta", "min": 0, "max": "1"}, "type": [{"code": "Meta"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true}, {"id": "Medication.implicitRules", "path": "Medication.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", "min": 0, "max": "1", "base": {"path": "Resource.implicitRules", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", "isSummary": true}, {"id": "Medication.language", "path": "Medication.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min": 0, "max": "1", "base": {"path": "Resource.language", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language"}], "strength": "preferred", "description": "A human language.", "valueSet": "http://hl7.org/fhir/ValueSet/languages"}}, {"id": "Medication.text", "path": "Medication.text", "short": "Text summary of the resource, for human interpretation", "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", "alias": ["narrative", "html", "xhtml", "display"], "min": 0, "max": "1", "base": {"path": "DomainResource.text", "min": 0, "max": "1"}, "type": [{"code": "Narrative"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Act.text?"}]}, {"id": "Medication.contained", "path": "Medication.contained", "short": "Contained, inline Resources", "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", "alias": ["inline resources", "anonymous resources", "contained resources"], "min": 0, "max": "*", "base": {"path": "DomainResource.contained", "min": 0, "max": "*"}, "type": [{"code": "Resource"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Medication.extension", "path": "Medication.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Medication.modifierExtension", "path": "Medication.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "DomainResource.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Medication.identifier", "path": "Medication.identifier", "short": "Business identifier for this medication", "definition": "Business identifier for this medication.", "comment": "The serial number could be included as an identifier.", "min": 0, "max": "*", "base": {"path": "Medication.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "rim", "map": ".id"}]}, {"id": "Medication.code", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Medication.code", "short": "Coding for the medicine", "definition": "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.", "comment": "Australian codings are typical medicine/product concept codes.\r\n\r\nA code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.", "min": 1, "max": "1", "base": {"path": "Medication.code", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"extension": [{"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}, {"url": "documentation", "valueMarkdown": "This value set is for use when AMT (Australian Medicines Terminology) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org.au/ValueSet/pbs-item"}, {"url": "documentation", "valueMarkdown": "This value set is for use when PBS (Pharmaceutical Benefits Scheme) item codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org.au/ValueSet/mims"}, {"url": "documentation", "valueMarkdown": "This value set is for use when MIMS (Monthly Index of Medical Specialties) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org/ValueSet/v3-GTIN"}, {"url": "documentation", "valueMarkdown": "This value set is for use when GTIN (Global Trade Item Number) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}], "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes"}, "mapping": [{"identity": "script10.6", "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription"}, {"identity": "w5", "map": "FiveWs.class"}, {"identity": "v2", "map": "RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code"}, {"identity": "rim", "map": ".code"}]}, {"id": "Medication.code.id", "path": "Medication.code.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.code.extension", "path": "Medication.code.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.code.coding", "path": "Medication.code.coding", "slicing": {"discriminator": [{"type": "pattern", "path": "$this"}], "rules": "open"}, "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "Medication.code.coding.id", "path": "Medication.code.coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.code.coding.extension", "path": "Medication.code.coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Medication.code.coding.extension:medicationClass", "path": "Medication.code.coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Medication.code.coding.system", "path": "Medication.code.coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "Medication.code.coding.version", "path": "Medication.code.coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "Medication.code.coding.code", "path": "Medication.code.coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "Medication.code.coding.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "Medication.code.coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "Medication.code.coding.userSelected", "path": "Medication.code.coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "Medication.code.coding:pbs", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Medication.code.coding", "sliceName": "pbs", "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"strength": "required", "valueSet": "http://terminology.hl7.org.au/ValueSet/pbs-item"}, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "Medication.code.coding:pbs.id", "path": "Medication.code.coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.code.coding:pbs.extension", "path": "Medication.code.coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Medication.code.coding:pbs.extension:medicationClass", "path": "Medication.code.coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Medication.code.coding:pbs.system", "path": "Medication.code.coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "Medication.code.coding:pbs.version", "path": "Medication.code.coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "Medication.code.coding:pbs.code", "path": "Medication.code.coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "Medication.code.coding:pbs.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "Medication.code.coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "Medication.code.coding:pbs.userSelected", "path": "Medication.code.coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "Medication.code.coding:amt", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Medication.code.coding", "sliceName": "amt", "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"strength": "required", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "Medication.code.coding:amt.id", "path": "Medication.code.coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.code.coding:amt.extension", "path": "Medication.code.coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Medication.code.coding:amt.extension:medicationClass", "path": "Medication.code.coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Medication.code.coding:amt.system", "path": "Medication.code.coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "Medication.code.coding:amt.version", "path": "Medication.code.coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "Medication.code.coding:amt.code", "path": "Medication.code.coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "Medication.code.coding:amt.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "Medication.code.coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "Medication.code.coding:amt.userSelected", "path": "Medication.code.coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "Medication.code.text", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "Medication.code.text", "short": "Medication primary text", "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user. This may be a brand or generic name as suitable for the intent of the entry.", "comment": "Very often the text is the same as a displayName of one of the codings.", "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", "min": 0, "max": "1", "base": {"path": "CodeableConcept.text", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.9. But note many systems use C*E.2 for this"}, {"identity": "rim", "map": "./originalText[mediaType/code=\"text/plain\"]/data"}, {"identity": "orim", "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"}]}, {"id": "Medication.status", "path": "Medication.status", "short": "active | inactive | entered-in-error", "definition": "A code to indicate if the medication is in active use.", "comment": "This status is intended to identify if the medication in a local system is in active use within a drug database or inventory.  For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status.  At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\".   This status is not intended to specify if a medication is part of a particular formulary.  It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.", "min": 0, "max": "1", "base": {"path": "Medication.status", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element changes the interpretation of all descriptive attributes.", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationStatus"}], "strength": "required", "description": "A coded concept defining if the medication is in active use.", "valueSet": "http://hl7.org/fhir/ValueSet/medication-status|4.0.1"}, "mapping": [{"identity": "rim", "map": ".statusCode"}]}, {"id": "Medication.manufacturer", "path": "Medication.manufacturer", "short": "Physical product manufacturer organisation", "definition": "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product it is the manufacturer of the actual physical medicine product.", "min": 0, "max": "1", "base": {"path": "Medication.manufacturer", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Organization"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "script10.6", "map": "no mapping"}, {"identity": "w5", "map": "FiveWs.actor"}, {"identity": "v2", "map": "RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name"}, {"identity": "rim", "map": ".player.scopingRole[typeCode=MANU].scoper"}]}, {"id": "Medication.form", "path": "Medication.form", "short": "powder | tablets | capsule +", "definition": "Describes the form of the item.  Powder; tablets; capsule.", "comment": "When Medication is referenced from MedicationRequest, this is the ordered form.  When Medication is referenced within MedicationDispense, this is the dispensed form.  When Medication is referenced within MedicationAdministration, this is administered form.", "min": 0, "max": "1", "base": {"path": "Medication.form", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/medication-form-1"}, "mapping": [{"identity": "script10.6", "map": "coding.code =  //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode"}, {"identity": "v2", "map": "RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form"}, {"identity": "rim", "map": ".formCode"}]}, {"id": "Medication.amount", "path": "Medication.amount", "short": "Amount of drug in package", "definition": "Specific amount of the drug in the packaged product.  For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).", "min": 0, "max": "1", "base": {"path": "Medication.amount", "min": 0, "max": "1"}, "type": [{"code": "Ratio"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "rim", "map": ".quantity"}]}, {"id": "Medication.ingredient", "path": "Medication.ingredient", "short": "Active or inactive ingredient", "definition": "Identifies a particular constituent of interest in the product. Can be coded with AMT.", "comment": "The ingredients need not be a complete list.  If an ingredient is not specified, this does not indicate whether an ingredient is present or absent.  If an ingredient is specified it does not mean that all ingredients are specified.  It is possible to specify both inactive and active ingredients.", "min": 0, "max": "*", "base": {"path": "Medication.ingredient", "min": 0, "max": "*"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": ".scopesRole[typeCode=INGR]"}]}, {"id": "Medication.ingredient.id", "path": "Medication.ingredient.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.ingredient.extension", "path": "Medication.ingredient.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.ingredient.modifierExtension", "path": "Medication.ingredient.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Medication.ingredient.item[x]", "path": "Medication.ingredient.item[x]", "short": "The actual ingredient or content", "definition": "The actual ingredient - either a substance (simple ingredient) or another medication of a medication.", "requirements": "The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base).", "min": 1, "max": "1", "base": {"path": "Medication.ingredient.item[x]", "min": 1, "max": "1"}, "type": [{"code": "CodeableConcept"}, {"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Substance", "http://hl7.org/fhir/StructureDefinition/Medication"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"strength": "preferred", "valueSet": "http://terminology.hl7.org.au/ValueSet/amt-mp-codes"}, "mapping": [{"identity": "script10.6", "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription"}, {"identity": "v2", "map": "RXC-2-Component Code  if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code"}, {"identity": "rim", "map": ".player"}]}, {"id": "Medication.ingredient.isActive", "path": "Medication.ingredient.isActive", "short": "Active ingredient indicator", "definition": "Indication of whether this ingredient affects the therapeutic action of the drug.", "requirements": "True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive).", "min": 0, "max": "1", "base": {"path": "Medication.ingredient.isActive", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "NA"}]}, {"id": "Medication.ingredient.strength", "path": "Medication.ingredient.strength", "short": "Quantity/strength of ingredient present", "definition": "Specifies how many (or how much) of the items there are in this Medication.  For example, 250 mg per tablet.  This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.", "min": 0, "max": "1", "base": {"path": "Medication.ingredient.strength", "min": 0, "max": "1"}, "type": [{"code": "Ratio"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "//element(*,DrugCodedType)/Strength"}, {"identity": "v2", "map": "RXC-3-Component Amount & RXC-4-Component Units  if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units"}, {"identity": "rim", "map": ".quantity"}]}, {"id": "Medication.batch", "path": "Medication.batch", "short": "Details about packaged medications", "definition": "Information that only applies to packages (not products).", "min": 0, "max": "1", "base": {"path": "Medication.batch", "min": 0, "max": "1"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "no mapping"}, {"identity": "rim", "map": ".player[classCode=CONT]"}]}, {"id": "Medication.batch.id", "path": "Medication.batch.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.batch.extension", "path": "Medication.batch.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Medication.batch.modifierExtension", "path": "Medication.batch.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Medication.batch.lotNumber", "path": "Medication.batch.lotNumber", "short": "Identifier assigned to batch", "definition": "The assigned lot number of a batch of the specified product.", "min": 0, "max": "1", "base": {"path": "Medication.batch.lotNumber", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "no mapping"}, {"identity": "v2", "map": "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number"}, {"identity": "rim", "map": ".id"}]}, {"id": "Medication.batch.expirationDate", "path": "Medication.batch.expirationDate", "short": "When batch will expire", "definition": "When this specific batch of product will expire.", "min": 0, "max": "1", "base": {"path": "Medication.batch.expirationDate", "min": 0, "max": "1"}, "type": [{"code": "dateTime"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "no mapping"}, {"identity": "v2", "map": "RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date"}, {"identity": "rim", "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"}]}]}, "differential": {"element": [{"id": "Medication", "path": "Medication"}, {"id": "Medication.code", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Medication.code", "min": 1, "mustSupport": true}, {"id": "Medication.code.coding", "path": "Medication.code.coding", "slicing": {"discriminator": [{"type": "pattern", "path": "$this"}], "rules": "open"}}, {"id": "Medication.code.coding:pbs", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Medication.code.coding", "sliceName": "pbs", "mustSupport": true, "binding": {"strength": "required", "valueSet": "http://terminology.hl7.org.au/ValueSet/pbs-item"}}, {"id": "Medication.code.coding:amt", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Medication.code.coding", "sliceName": "amt", "mustSupport": true, "binding": {"strength": "required", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}}]}}, "must_support_paths": [], "fallback_used": false, "source_package": "hl7.fhir.au.core-1.1.0#preview"}


package_name: hl7.fhir.au.core-1.1.0
package_version: preview
resource_type: MedicationRequest
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-medicationrequest", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2}, {"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use", "_valueCode": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core"}]}}], "url": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest", "version": "1.1.0-preview", "name": "AUCoreMedicationRequest", "title": "AU Core MedicationRequest", "status": "active", "date": "2025-03-06T07:19:11+00:00", "publisher": "HL7 Australia", "contact": [{"name": "HL7 Australia FHIR Work Group", "telecom": [{"system": "url", "value": "https://confluence.hl7.org/display/HAFWG", "use": "work"}]}], "description": "This profile sets minimum expectations for a MedicationRequest resource to record, search, and fetch medication orders and requests (i.e. prescriptions) associated with a patient. It is based on the [AU Base Medication Request](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-medicationrequest.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the MedicationRequest when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.", "jurisdiction": [{"coding": [{"system": "urn:iso:std:iso:3166", "code": "AU"}]}], "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia\u00a9 2022+; Licensed Under Creative Commons No Rights Reserved.", "fhirVersion": "4.0.1", "mapping": [{"identity": "workflow", "uri": "http://hl7.org/fhir/workflow", "name": "Workflow Pattern"}, {"identity": "script10.6", "uri": "http://ncpdp.org/SCRIPT10_6", "name": "Mapping to NCPDP SCRIPT 10.6"}, {"identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping"}, {"identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping"}, {"identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping"}], "kind": "resource", "abstract": false, "type": "MedicationRequest", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-medicationrequest", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "MedicationRequest", "path": "MedicationRequest", "short": "A request for a medication for a patient in an Australian healthcare context", "definition": "An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationRequest\" rather than \"MedicationPrescription\" or \"MedicationOrder\" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.", "alias": ["Prescription", "Order"], "min": 0, "max": "*", "base": {"path": "MedicationRequest", "min": 0, "max": "*"}, "constraint": [{"key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-5", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a security label", "expression": "contained.meta.security.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:security))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "valueBoolean": true}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}], "key": "dom-6", "severity": "warning", "human": "A resource should have narrative for robust management", "expression": "text.`div`.exists()", "xpath": "exists(f:text/h:div)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Entity. Role, or Act"}, {"identity": "workflow", "map": "Request"}, {"identity": "script10.6", "map": "Message/Body/NewRx"}, {"identity": "rim", "map": "CombinedMedicationRequest"}]}, {"id": "MedicationRequest.id", "path": "MedicationRequest.id", "short": "Logical id of this artifact", "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min": 0, "max": "1", "base": {"path": "Resource.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "id"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": true}, {"id": "MedicationRequest.meta", "path": "MedicationRequest.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "min": 0, "max": "1", "base": {"path": "Resource.meta", "min": 0, "max": "1"}, "type": [{"code": "Meta"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true}, {"id": "MedicationRequest.implicitRules", "path": "MedicationRequest.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", "min": 0, "max": "1", "base": {"path": "Resource.implicitRules", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", "isSummary": true}, {"id": "MedicationRequest.language", "path": "MedicationRequest.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min": 0, "max": "1", "base": {"path": "Resource.language", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language"}], "strength": "preferred", "description": "A human language.", "valueSet": "http://hl7.org/fhir/ValueSet/languages"}}, {"id": "MedicationRequest.text", "path": "MedicationRequest.text", "short": "Text summary of the resource, for human interpretation", "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", "alias": ["narrative", "html", "xhtml", "display"], "min": 0, "max": "1", "base": {"path": "DomainResource.text", "min": 0, "max": "1"}, "type": [{"code": "Narrative"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Act.text?"}]}, {"id": "MedicationRequest.contained", "path": "MedicationRequest.contained", "short": "Contained, inline Resources", "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", "alias": ["inline resources", "anonymous resources", "contained resources"], "min": 0, "max": "*", "base": {"path": "DomainResource.contained", "min": 0, "max": "*"}, "type": [{"code": "Resource"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "MedicationRequest.extension", "path": "MedicationRequest.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationRequest.extension:subsidisedConcurrentSupply", "path": "MedicationRequest.extension", "sliceName": "subsidisedConcurrentSupply", "short": "Grounds for concurrent supply of medication", "definition": "The grounds which authorise a PBS or RPBS subsidy for the concurrent supply of a medication item specified in a prescription and all of its repeats.", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/subsidised-concurrent-supply"]}], "condition": ["ele-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "MedicationRequest.modifierExtension", "path": "MedicationRequest.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "DomainResource.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "MedicationRequest.identifier", "path": "MedicationRequest.identifier", "short": "External ids for this request", "definition": "Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", "comment": "This is a business identifier, not a resource identifier.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org/fhir/StructureDefinition/Identifier", "http://hl7.org.au/fhir/StructureDefinition/au-etpprescriptionidentifier", "http://hl7.org.au/fhir/StructureDefinition/au-localprescriptionidentifier"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.identifier"}, {"identity": "script10.6", "map": "Message/Header/PrescriberOrderNumber"}, {"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "v2", "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number"}, {"identity": "rim", "map": ".id"}]}, {"id": "MedicationRequest.status", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.status", "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown", "definition": "A code specifying the current state of the order.  Generally, this will be active or completed state.", "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", "min": 1, "max": "1", "base": {"path": "MedicationRequest.status", "min": 1, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": true, "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationRequestStatus"}], "strength": "required", "description": "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription.", "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status|4.0.1"}, "mapping": [{"identity": "workflow", "map": "Request.status"}, {"identity": "script10.6", "map": "no mapping"}, {"identity": "w5", "map": "FiveWs.status"}, {"identity": "rim", "map": ".statusCode"}]}, {"id": "MedicationRequest.statusReason", "path": "MedicationRequest.statusReason", "short": "Reason for current status", "definition": "Captures the reason for the current state of the MedicationRequest.", "comment": "This is generally only used for \"exception\" statuses such as \"suspended\" or \"cancelled\". The reason why the MedicationRequest was created at all is captured in reasonCode, not here.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.statusReason", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationRequestStatusReason"}], "strength": "example", "description": "Identifies the reasons for a given status.", "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status-reason"}, "mapping": [{"identity": "workflow", "map": "Request.statusReason"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"}]}, {"id": "MedicationRequest.intent", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.intent", "short": "proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option", "definition": "Whether the request is a proposal, plan, or an original order.", "comment": "It is expected that the type of requester will be restricted for different stages of a MedicationRequest.  For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device.  Plans can be created by Practitioners, Patients, RelatedPersons and Devices.  Original orders can be created by a Practitioner only.\r\rAn instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.\r\rThis element is labeled as a modifier because the intent alters when and how the resource is actually applicable.", "min": 1, "max": "1", "base": {"path": "MedicationRequest.intent", "min": 1, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": true, "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationRequestIntent"}], "strength": "required", "description": "The kind of medication order.", "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent|4.0.1"}, "mapping": [{"identity": "workflow", "map": "Request.intent"}, {"identity": "w5", "map": "FiveWs.class"}, {"identity": "rim", "map": ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)"}]}, {"id": "MedicationRequest.category", "path": "MedicationRequest.category", "short": "Type of medication usage", "definition": "Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).", "comment": "The category can be used to include where the medication is expected to be consumed or other types of requests.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.category", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationRequestCategory"}], "strength": "example", "description": "A coded concept identifying the category of medication request.  For example, where the medication is to be consumed or administered, or the type of medication treatment.", "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-category"}, "mapping": [{"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG"}, {"identity": "w5", "map": "FiveWs.class"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value"}]}, {"id": "MedicationRequest.priority", "path": "MedicationRequest.priority", "short": "routine | urgent | asap | stat", "definition": "Indicates how quickly the Medication Request should be addressed with respect to other requests.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.priority", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationRequestPriority"}], "strength": "required", "description": "Identifies the level of importance to be assigned to actioning the request.", "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.0.1"}, "mapping": [{"identity": "workflow", "map": "Request.priority"}, {"identity": "w5", "map": "FiveWs.grade"}, {"identity": "rim", "map": ".priorityCode"}]}, {"id": "MedicationRequest.doNotPerform", "path": "MedicationRequest.doNotPerform", "short": "True if request is prohibiting action", "definition": "If true indicates that the provider is asking for the medication request not to occur.", "comment": "If do not perform is not specified, the request is a positive request e.g. \"do perform\".", "min": 0, "max": "1", "base": {"path": "MedicationRequest.doNotPerform", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc)", "isSummary": true, "mapping": [{"identity": "rim", "map": "SubstanceAdministration.actionNegationInd"}]}, {"id": "MedicationRequest.reported[x]", "path": "MedicationRequest.reported[x]", "short": "Reported rather than primary record", "definition": "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.  It may also indicate the source of the report.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.reported[x]", "min": 0, "max": "1"}, "type": [{"code": "boolean"}, {"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "rim", "map": ".participation[typeCode=INF].role"}]}, {"id": "MedicationRequest.medication[x]", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.medication[x]", "slicing": {"discriminator": [{"type": "type", "path": "$this"}], "ordered": false, "rules": "closed"}, "short": "Medication to be taken", "definition": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended.  For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.", "min": 1, "max": "1", "base": {"path": "MedicationRequest.medication[x]", "min": 1, "max": "1"}, "type": [{"code": "CodeableConcept"}, {"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Medication"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationCode"}], "strength": "example", "description": "A coded concept identifying substance or product that can be ordered.", "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes"}, "mapping": [{"identity": "workflow", "map": "Request.code"}, {"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription"}, {"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "v2", "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code"}, {"identity": "rim", "map": "consumable.administrableMedication"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept", "path": "MedicationRequest.medication[x]", "sliceName": "medicationCodeableConcept", "short": "Coded Prescribed Medication", "definition": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended.  For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.medication[x]", "min": 1, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "binding": {"extension": [{"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}, {"url": "documentation", "valueMarkdown": "This value set is for use when AMT (Australian Medicines Terminology) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org.au/ValueSet/pbs-item"}, {"url": "documentation", "valueMarkdown": "This value set is for use when PBS (Pharmaceutical Benefits Scheme) item codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org.au/ValueSet/mims"}, {"url": "documentation", "valueMarkdown": "This value set is for use when MIMS (Monthly Index of Medical Specialties) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org/ValueSet/v3-GTIN"}, {"url": "documentation", "valueMarkdown": "This value set is for use when GTIN (Global Trade Item Number) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}], "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes"}, "mapping": [{"identity": "workflow", "map": "Request.code"}, {"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription"}, {"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "v2", "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code"}, {"identity": "rim", "map": "consumable.administrableMedication"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.id", "path": "MedicationRequest.medication[x].id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.extension", "path": "MedicationRequest.medication[x].extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding", "path": "MedicationRequest.medication[x].coding", "slicing": {"discriminator": [{"type": "pattern", "path": "$this"}], "rules": "open"}, "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding.id", "path": "MedicationRequest.medication[x].coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding.extension", "path": "MedicationRequest.medication[x].coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding.extension:medicationClass", "path": "MedicationRequest.medication[x].coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding.system", "path": "MedicationRequest.medication[x].coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding.version", "path": "MedicationRequest.medication[x].coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding.code", "path": "MedicationRequest.medication[x].coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "MedicationRequest.medication[x].coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding.userSelected", "path": "MedicationRequest.medication[x].coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.medication[x].coding", "sliceName": "pbs", "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"strength": "required", "valueSet": "http://terminology.hl7.org.au/ValueSet/pbs-item"}, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs.id", "path": "MedicationRequest.medication[x].coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs.extension", "path": "MedicationRequest.medication[x].coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs.extension:medicationClass", "path": "MedicationRequest.medication[x].coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs.system", "path": "MedicationRequest.medication[x].coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs.version", "path": "MedicationRequest.medication[x].coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs.code", "path": "MedicationRequest.medication[x].coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "MedicationRequest.medication[x].coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs.userSelected", "path": "MedicationRequest.medication[x].coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.medication[x].coding", "sliceName": "amt", "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"strength": "required", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt.id", "path": "MedicationRequest.medication[x].coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt.extension", "path": "MedicationRequest.medication[x].coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt.extension:medicationClass", "path": "MedicationRequest.medication[x].coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt.system", "path": "MedicationRequest.medication[x].coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt.version", "path": "MedicationRequest.medication[x].coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt.code", "path": "MedicationRequest.medication[x].coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "MedicationRequest.medication[x].coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt.userSelected", "path": "MedicationRequest.medication[x].coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.text", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "MedicationRequest.medication[x].text", "short": "Medication primary text", "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.\r\n\r\nThis may be a brand or generic name as suitable for the intent of the entry.", "comment": "Very often the text is the same as a displayName of one of the codings.", "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", "min": 0, "max": "1", "base": {"path": "CodeableConcept.text", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.9. But note many systems use C*E.2 for this"}, {"identity": "rim", "map": "./originalText[mediaType/code=\"text/plain\"]/data"}, {"identity": "orim", "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"}]}, {"id": "MedicationRequest.medication[x]:medicationReference", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.medication[x]", "sliceName": "medicationReference", "short": "Prescribed Medication", "definition": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended.  For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.medication[x]", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Request.code"}, {"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription"}, {"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "v2", "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code"}, {"identity": "rim", "map": "consumable.administrableMedication"}]}, {"id": "MedicationRequest.subject", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.subject", "short": "Who or group medication request is for", "definition": "A link to a resource representing the person or set of individuals to whom the medication will be given.", "comment": "The subject on a medication request is mandatory.  For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified.", "min": 1, "max": "1", "base": {"path": "MedicationRequest.subject", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Request.subject"}, {"identity": "script10.6", "map": "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient \u2026 Patient.Identification in SCRIPT)"}, {"identity": "w5", "map": "FiveWs.subject[x]"}, {"identity": "v2", "map": "PID-3-Patient ID List"}, {"identity": "rim", "map": ".participation[typeCode=AUT].role"}, {"identity": "w5", "map": "FiveWs.subject"}]}, {"id": "MedicationRequest.encounter", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.encounter", "short": "Encounter created as part of encounter/admission/stay", "definition": "The Encounter during which this [x] was created or to which the creation of this record is tightly associated.", "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.\"    If there is a need to link to episodes of care they will be handled with an extension.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.encounter", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.context"}, {"identity": "script10.6", "map": "no mapping"}, {"identity": "w5", "map": "FiveWs.context"}, {"identity": "v2", "map": "PV1-19-Visit Number"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]"}]}, {"id": "MedicationRequest.supportingInformation", "path": "MedicationRequest.supportingInformation", "slicing": {"discriminator": [{"type": "profile", "path": "resolve()"}], "ordered": false, "rules": "open"}, "short": "Information to support ordering of the medication", "definition": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.supportingInformation", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Resource"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.supportingInfo"}, {"identity": "w5", "map": "FiveWs.context"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]"}]}, {"id": "MedicationRequest.supportingInformation:bodyHeight", "path": "MedicationRequest.supportingInformation", "sliceName": "bodyHeight", "short": "Observation of Body Height", "definition": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.supportingInformation", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/bodyheight"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.supportingInfo"}, {"identity": "w5", "map": "FiveWs.context"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]"}]}, {"id": "MedicationRequest.supportingInformation:bodyWeight", "path": "MedicationRequest.supportingInformation", "sliceName": "bodyWeight", "short": "Observation of Body Weight", "definition": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.supportingInformation", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/bodyweight"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.supportingInfo"}, {"identity": "w5", "map": "FiveWs.context"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]"}]}, {"id": "MedicationRequest.authoredOn", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.authoredOn", "short": "Created date", "definition": "The date (and perhaps time) when the prescription was initially written or authored on.", "min": 1, "max": "1", "base": {"path": "MedicationRequest.authoredOn", "min": 0, "max": "1"}, "type": [{"code": "dateTime"}], "condition": ["au-core-medreq-01"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "au-core-medreq-01", "severity": "error", "human": "Date shall be precise to the day or, if not available, the Data Absent Reason extension shall be present", "expression": "$this.hasValue() implies (extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').value.exists().not() and $this.toString().length() >= 10)", "xpath": "(f:authoredOn[string-length(.)>=10]) and not(exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])))", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Request.authoredOn"}, {"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate"}, {"identity": "w5", "map": "FiveWs.recorded"}, {"identity": "v2", "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction"}, {"identity": "rim", "map": "author.time"}]}, {"id": "MedicationRequest.requester", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.requester", "short": "Who/What requested the Request", "definition": "The individual, organization, or device that initiated the request and has responsibility for its activation.", "min": 1, "max": "1", "base": {"path": "MedicationRequest.requester", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner", "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole", "http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization", "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient", "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Request.requester"}, {"identity": "w5", "map": "FiveWs.author"}, {"identity": "rim", "map": ".participation[typeCode=AUT].role"}]}, {"id": "MedicationRequest.performer", "path": "MedicationRequest.performer", "short": "Intended performer of administration", "definition": "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", "min": 0, "max": "1", "base": {"path": "MedicationRequest.performer", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/CareTeam"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.performer"}, {"identity": "w5", "map": "FiveWs.actor"}, {"identity": "rim", "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"}]}, {"id": "MedicationRequest.performerType", "path": "MedicationRequest.performerType", "short": "Desired kind of performer of the medication administration", "definition": "Indicates the type of performer of the administration of the medication.", "comment": "If specified without indicating a performer, this indicates that the performer must be of the specified type. If specified with a performer then it indicates the requirements of the performer if the designated performer is not available.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.performerType", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationRequestPerformerType"}], "strength": "example", "description": "Identifies the type of individual that is desired to administer the medication.", "valueSet": "http://hl7.org/fhir/ValueSet/performer-role"}, "mapping": [{"identity": "workflow", "map": "Request.performerType"}, {"identity": "rim", "map": ".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code"}]}, {"id": "MedicationRequest.recorder", "path": "MedicationRequest.recorder", "short": "Person who entered the request", "definition": "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.recorder", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "w5", "map": "FiveWs.who"}, {"identity": "rim", "map": ".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)"}]}, {"id": "MedicationRequest.reasonCode", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.reasonCode", "short": "Reason or indication for ordering or not ordering the medication", "definition": "The reason or the indication for ordering or not ordering the medication.", "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.reasonCode", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/reason-for-request-1"}, "mapping": [{"identity": "workflow", "map": "Request.reasonCode"}, {"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value"}, {"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "v2", "map": "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication"}, {"identity": "rim", "map": "reason.observation.reasonCode"}]}, {"id": "MedicationRequest.reasonReference", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.reasonReference", "short": "Condition or observation that supports why the prescription is being written", "definition": "Condition or observation that supports why the medication was ordered.", "comment": "This is a reference to a condition or observation that is the reason for the medication order.  If only a code exists, use reasonCode.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.reasonReference", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition", "http://hl7.org/fhir/StructureDefinition/Observation"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.reasonReference"}, {"identity": "script10.6", "map": "no mapping"}, {"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "rim", "map": "reason.observation[code=ASSERTION].value"}]}, {"id": "MedicationRequest.instantiatesCanonical", "path": "MedicationRequest.instantiatesCanonical", "short": "Instantiates FHIR protocol or definition", "definition": "The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.instantiatesCanonical", "min": 0, "max": "*"}, "type": [{"code": "canonical"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Request.instantiates"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=DEFN].target"}]}, {"id": "MedicationRequest.instantiatesUri", "path": "MedicationRequest.instantiatesUri", "short": "Instantiates external protocol or definition", "definition": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.instantiatesUri", "min": 0, "max": "*"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "rim", "map": ".outboundRelationship[typeCode=DEFN].target"}]}, {"id": "MedicationRequest.basedOn", "path": "MedicationRequest.basedOn", "short": "What request fulfills", "definition": "A plan or request that is fulfilled in whole or in part by this medication request.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.basedOn", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/CarePlan", "http://hl7.org/fhir/StructureDefinition/MedicationRequest", "http://hl7.org/fhir/StructureDefinition/ServiceRequest", "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Request.basedOn"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]"}]}, {"id": "MedicationRequest.groupIdentifier", "path": "MedicationRequest.groupIdentifier", "short": "Composite request this is part of", "definition": "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.", "requirements": "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.groupIdentifier", "min": 0, "max": "1"}, "type": [{"code": "Identifier"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Request.groupIdentifier"}, {"identity": "rim", "map": ".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id"}]}, {"id": "MedicationRequest.courseOfTherapyType", "path": "MedicationRequest.courseOfTherapyType", "short": "Overall pattern of medication administration", "definition": "The description of the overall patte3rn of the administration of the medication to the patient.", "comment": "This attribute should not be confused with the protocol of the medication.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.courseOfTherapyType", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationRequestCourseOfTherapy"}], "strength": "example", "description": "Identifies the overall pattern of medication administratio.", "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy"}, "mapping": [{"identity": "rim", "map": "Act.code where classCode = LIST and moodCode = EVN"}]}, {"id": "MedicationRequest.insurance", "path": "MedicationRequest.insurance", "short": "Associated insurance coverage", "definition": "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.insurance", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Coverage", "http://hl7.org/fhir/StructureDefinition/ClaimResponse"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.insurance"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=COVBY].target"}]}, {"id": "MedicationRequest.note", "path": "MedicationRequest.note", "short": "Information about the prescription", "definition": "Extra information about the prescription that could not be conveyed by the other attributes.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.note", "min": 0, "max": "*"}, "type": [{"code": "Annotation"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.note"}, {"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/Note"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value"}]}, {"id": "MedicationRequest.dosageInstruction", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.dosageInstruction", "short": "How the medication should be taken", "definition": "Indicates how the medication is to be used by the patient.", "comment": "There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose.  For example, \"Ondansetron 8mg orally or IV twice a day as needed for nausea\" or \"Compazine\u00ae (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting\".  In these cases, two medication requests would be created that could be grouped together.  The decision on which dose and route of administration to use is based on the patient's condition at the time the dose is needed.", "min": 0, "max": "*", "base": {"path": "MedicationRequest.dosageInstruction", "min": 0, "max": "*"}, "type": [{"code": "Dosage", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-dosage"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.occurrence[x]"}, {"identity": "rim", "map": "see dosageInstruction mapping"}]}, {"id": "MedicationRequest.dispenseRequest", "path": "MedicationRequest.dispenseRequest", "short": "Requested dispensing", "definition": "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order).  Note that this information is not always sent with the order.  There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest", "min": 0, "max": "1"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate"}, {"identity": "rim", "map": "component.supplyEvent"}]}, {"id": "MedicationRequest.dispenseRequest.id", "path": "MedicationRequest.dispenseRequest.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.dispenseRequest.extension", "path": "MedicationRequest.dispenseRequest.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.dispenseRequest.modifierExtension", "path": "MedicationRequest.dispenseRequest.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "MedicationRequest.dispenseRequest.initialFill", "path": "MedicationRequest.dispenseRequest.initialFill", "short": "First fill details", "definition": "Indicates the quantity or duration for the first dispense of the medication.", "comment": "If populating this element, either the quantity or the duration must be included.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.initialFill", "min": 0, "max": "1"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "SubstanceAdministration -> ActRelationship[sequenceNumber = '1'] -> Supply"}]}, {"id": "MedicationRequest.dispenseRequest.initialFill.id", "path": "MedicationRequest.dispenseRequest.initialFill.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.dispenseRequest.initialFill.extension", "path": "MedicationRequest.dispenseRequest.initialFill.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.dispenseRequest.initialFill.modifierExtension", "path": "MedicationRequest.dispenseRequest.initialFill.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "MedicationRequest.dispenseRequest.initialFill.quantity", "path": "MedicationRequest.dispenseRequest.initialFill.quantity", "short": "First fill quantity", "definition": "The amount or quantity to provide as part of the first dispense.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.initialFill.quantity", "min": 0, "max": "1"}, "type": [{"code": "Quantity", "profile": ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Supply.quantity[moodCode=RQO]"}]}, {"id": "MedicationRequest.dispenseRequest.initialFill.duration", "path": "MedicationRequest.dispenseRequest.initialFill.duration", "short": "First fill duration", "definition": "The length of time that the first dispense is expected to last.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.initialFill.duration", "min": 0, "max": "1"}, "type": [{"code": "Duration"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Supply.effectivetime[moodCode=RQO]"}]}, {"id": "MedicationRequest.dispenseRequest.dispenseInterval", "path": "MedicationRequest.dispenseRequest.dispenseInterval", "short": "Minimum period of time between dispenses", "definition": "The minimum period of time that must occur between dispenses of the medication.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.dispenseInterval", "min": 0, "max": "1"}, "type": [{"code": "Duration"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Supply.effectivetime[moodCode=RQO]"}]}, {"id": "MedicationRequest.dispenseRequest.validityPeriod", "path": "MedicationRequest.dispenseRequest.validityPeriod", "short": "Time period supply is authorized for", "definition": "This indicates the validity period of a prescription (stale dating the Prescription).", "comment": "It reflects the prescribers' perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations.", "requirements": "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.validityPeriod", "min": 0, "max": "1"}, "type": [{"code": "Period"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/Refills"}, {"identity": "rim", "map": "effectiveTime"}]}, {"id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", "short": "Maximum repeats authorised", "definition": "An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.  A prescriber may explicitly say that zero refills are permitted after the initial dispense.", "comment": "If displaying \"number of authorized fills\", add 1 to this number.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", "min": 0, "max": "1"}, "type": [{"code": "unsignedInt"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/Quantity"}, {"identity": "v2", "map": "RXE-12-Number of Refills"}, {"identity": "rim", "map": "repeatNumber"}]}, {"id": "MedicationRequest.dispenseRequest.quantity", "path": "MedicationRequest.dispenseRequest.quantity", "short": "Amount of medication to supply per dispense", "definition": "The amount that is to be dispensed for one fill.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.quantity", "min": 0, "max": "1"}, "type": [{"code": "Quantity", "profile": ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/DaysSupply"}, {"identity": "v2", "map": "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system"}, {"identity": "rim", "map": "quantity"}]}, {"id": "MedicationRequest.dispenseRequest.expectedSupplyDuration", "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", "short": "Number of days supply per dispense", "definition": "Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.", "comment": "In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage). When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", "min": 0, "max": "1"}, "type": [{"code": "Duration"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions"}, {"identity": "rim", "map": "expectedUseTime"}]}, {"id": "MedicationRequest.dispenseRequest.performer", "path": "MedicationRequest.dispenseRequest.performer", "short": "Intended dispenser", "definition": "Indicates the intended dispensing Organization specified by the prescriber.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.dispenseRequest.performer", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Organization"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "w5", "map": "FiveWs.who"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"}]}, {"id": "MedicationRequest.substitution", "path": "MedicationRequest.substitution", "short": "Brand substitution details", "definition": "Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.substitution", "min": 0, "max": "1"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "script10.6", "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"}, {"identity": "rim", "map": "subjectOf.substitutionPersmission"}]}, {"id": "MedicationRequest.substitution.id", "path": "MedicationRequest.substitution.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.substitution.extension", "path": "MedicationRequest.substitution.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationRequest.substitution.modifierExtension", "path": "MedicationRequest.substitution.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "MedicationRequest.substitution.allowed[x]", "path": "MedicationRequest.substitution.allowed[x]", "short": "Brand substitution flag", "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.", "comment": "This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored.", "min": 1, "max": "1", "base": {"path": "MedicationRequest.substitution.allowed[x]", "min": 1, "max": "1"}, "type": [{"code": "boolean"}, {"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationRequestSubstitution"}], "strength": "example", "description": "Identifies the type of substitution allowed.", "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode"}, "mapping": [{"identity": "script10.6", "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions"}, {"identity": "v2", "map": "RXO-9-Allow Substitutions / RXE-9-Substitution Status"}, {"identity": "rim", "map": "code"}]}, {"id": "MedicationRequest.substitution.reason", "path": "MedicationRequest.substitution.reason", "short": "Why should (not) substitution be made", "definition": "Indicates the reason for the substitution, or why substitution must or must not be performed.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.substitution.reason", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/medicine-substitution-reason-1"}, "mapping": [{"identity": "script10.6", "map": "not mapped"}, {"identity": "v2", "map": "RXE-9 Substition status"}, {"identity": "rim", "map": "reasonCode"}]}, {"id": "MedicationRequest.priorPrescription", "path": "MedicationRequest.priorPrescription", "short": "An order/prescription that is being replaced", "definition": "A link to a resource representing an earlier order related order or prescription.", "min": 0, "max": "1", "base": {"path": "MedicationRequest.priorPrescription", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/MedicationRequest"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.replaces"}, {"identity": "script10.6", "map": "not mapped"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]"}]}, {"id": "MedicationRequest.detectedIssue", "path": "MedicationRequest.detectedIssue", "short": "Clinical Issue with action", "definition": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.", "comment": "This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue.", "alias": ["Contraindication", "Drug Utilization Review (DUR)", "Alert"], "min": 0, "max": "*", "base": {"path": "MedicationRequest.detectedIssue", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/DetectedIssue"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value"}]}, {"id": "MedicationRequest.eventHistory", "path": "MedicationRequest.eventHistory", "short": "A list of events of interest in the lifecycle", "definition": "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.", "comment": "This might not include provenances for all versions of the request \u2013 only those deemed \u201crelevant\u201d or important. This SHALL NOT include the provenance associated with this current version of the resource. (If that provenance is deemed to be a \u201crelevant\u201d change, it will need to be added as part of a later update. Until then, it can be queried directly as the provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).", "min": 0, "max": "*", "base": {"path": "MedicationRequest.eventHistory", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Provenance"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Request.relevantHistory"}, {"identity": "rim", "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]"}]}]}, "differential": {"element": [{"id": "MedicationRequest", "path": "MedicationRequest"}, {"id": "MedicationRequest.status", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.status", "mustSupport": true}, {"id": "MedicationRequest.intent", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.intent", "mustSupport": true}, {"id": "MedicationRequest.medication[x]", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.medication[x]", "slicing": {"discriminator": [{"type": "type", "path": "$this"}], "rules": "closed"}, "mustSupport": true}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept", "path": "MedicationRequest.medication[x]", "sliceName": "medicationCodeableConcept", "type": [{"code": "CodeableConcept"}]}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding", "path": "MedicationRequest.medication[x].coding", "slicing": {"discriminator": [{"type": "pattern", "path": "$this"}], "rules": "open"}}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:pbs", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.medication[x].coding", "sliceName": "pbs", "mustSupport": true, "binding": {"strength": "required", "valueSet": "http://terminology.hl7.org.au/ValueSet/pbs-item"}}, {"id": "MedicationRequest.medication[x]:medicationCodeableConcept.coding:amt", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.medication[x].coding", "sliceName": "amt", "mustSupport": true, "binding": {"strength": "required", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}}, {"id": "MedicationRequest.medication[x]:medicationReference", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.medication[x]", "sliceName": "medicationReference", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication"]}]}, {"id": "MedicationRequest.subject", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.subject", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"]}], "mustSupport": true}, {"id": "MedicationRequest.encounter", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.encounter", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-encounter"]}], "mustSupport": true}, {"id": "MedicationRequest.authoredOn", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.authoredOn", "min": 1, "condition": ["au-core-medreq-01"], "constraint": [{"key": "au-core-medreq-01", "severity": "error", "human": "Date shall be precise to the day or, if not available, the Data Absent Reason extension shall be present", "expression": "$this.hasValue() implies (extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').value.exists().not() and $this.toString().length() >= 10)", "xpath": "(f:authoredOn[string-length(.)>=10]) and not(exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])))", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationrequest"}], "mustSupport": true}, {"id": "MedicationRequest.requester", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.requester", "min": 1, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitioner", "http://hl7.org.au/fhir/core/StructureDefinition/au-core-practitionerrole", "http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization", "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient", "http://hl7.org.au/fhir/core/StructureDefinition/au-core-relatedperson"]}], "mustSupport": true}, {"id": "MedicationRequest.reasonCode", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.reasonCode", "mustSupport": true}, {"id": "MedicationRequest.reasonReference", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.reasonReference", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition", "http://hl7.org/fhir/StructureDefinition/Observation"]}], "mustSupport": true}, {"id": "MedicationRequest.dosageInstruction", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationRequest.dosageInstruction", "mustSupport": true}]}}, "must_support_paths": [], "fallback_used": false, "source_package": "hl7.fhir.au.core-1.1.0#preview"}


package_name: hl7.fhir.au.core-1.1.0
package_version: preview
resource_type: MedicationStatement
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-medicationstatement", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 0}, {"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use", "_valueCode": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core"}]}}], "url": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-medicationstatement", "version": "1.1.0-preview", "name": "AUCoreMedicationStatement", "title": "AU Core MedicationStatement", "status": "draft", "date": "2025-03-06T07:19:11+00:00", "publisher": "HL7 Australia", "contact": [{"name": "HL7 Australia FHIR Work Group", "telecom": [{"system": "url", "value": "https://confluence.hl7.org/display/HAFWG", "use": "work"}]}], "description": "This profile sets minimum expectations for a MedicationStatement resource to record, search, and fetch summary statements of medication use associated with a patient. It is based on the [AU Base Medication Statement](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-medicationstatement.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the MedicationStatement when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.", "jurisdiction": [{"coding": [{"system": "urn:iso:std:iso:3166", "code": "AU"}]}], "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia\u00a9 2022+; Licensed Under Creative Commons No Rights Reserved.", "fhirVersion": "4.0.1", "mapping": [{"identity": "workflow", "uri": "http://hl7.org/fhir/workflow", "name": "Workflow Pattern"}, {"identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping"}, {"identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping"}, {"identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping"}], "kind": "resource", "abstract": false, "type": "MedicationStatement", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-medicationstatement", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "MedicationStatement", "path": "MedicationStatement", "short": "A record of medication being taken by a patient in an Australian healthcare context", "definition": "A record of a medication that is being consumed by a patient.   A MedicationStatement may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future.  The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician.  A common scenario where this information is captured is during the history taking process during a patient visit or stay.   The medication information may come from sources such as the patient's memory, from a prescription bottle,  or from a list of medications the patient, clinician or other party maintains. \n\nThe primary difference between a medication statement and a medication administration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication.  A medication statement is often, if not always, less specific.  There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise.  As stated earlier, the medication statement information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains.  Medication administration is more formal and is not missing detailed information.", "comment": "When interpreting a medicationStatement, the value of the status and NotTaken needed to be considered:\rMedicationStatement.status + MedicationStatement.wasNotTaken\rStatus=Active + NotTaken=T = Not currently taking\rStatus=Completed + NotTaken=T = Not taken in the past\rStatus=Intended + NotTaken=T = No intention of taking\rStatus=Active + NotTaken=F = Taking, but not as prescribed\rStatus=Active + NotTaken=F = Taking\rStatus=Intended +NotTaken= F = Will be taking (not started)\rStatus=Completed + NotTaken=F = Taken in past\rStatus=In Error + NotTaken=N/A = In Error.", "min": 0, "max": "*", "base": {"path": "MedicationStatement", "min": 0, "max": "*"}, "constraint": [{"key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-5", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a security label", "expression": "contained.meta.security.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:security))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "valueBoolean": true}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}], "key": "dom-6", "severity": "warning", "human": "A resource should have narrative for robust management", "expression": "text.`div`.exists()", "xpath": "exists(f:text/h:div)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Entity. Role, or Act"}, {"identity": "workflow", "map": "Event"}, {"identity": "rim", "map": "SubstanceAdministration"}]}, {"id": "MedicationStatement.id", "path": "MedicationStatement.id", "short": "Logical id of this artifact", "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min": 0, "max": "1", "base": {"path": "Resource.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "id"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": true}, {"id": "MedicationStatement.meta", "path": "MedicationStatement.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "min": 0, "max": "1", "base": {"path": "Resource.meta", "min": 0, "max": "1"}, "type": [{"code": "Meta"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true}, {"id": "MedicationStatement.implicitRules", "path": "MedicationStatement.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", "min": 0, "max": "1", "base": {"path": "Resource.implicitRules", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", "isSummary": true}, {"id": "MedicationStatement.language", "path": "MedicationStatement.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min": 0, "max": "1", "base": {"path": "Resource.language", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language"}], "strength": "preferred", "description": "A human language.", "valueSet": "http://hl7.org/fhir/ValueSet/languages"}}, {"id": "MedicationStatement.text", "path": "MedicationStatement.text", "short": "Text summary of the resource, for human interpretation", "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", "alias": ["narrative", "html", "xhtml", "display"], "min": 0, "max": "1", "base": {"path": "DomainResource.text", "min": 0, "max": "1"}, "type": [{"code": "Narrative"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Act.text?"}]}, {"id": "MedicationStatement.contained", "path": "MedicationStatement.contained", "short": "Contained, inline Resources", "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", "alias": ["inline resources", "anonymous resources", "contained resources"], "min": 0, "max": "*", "base": {"path": "DomainResource.contained", "min": 0, "max": "*"}, "type": [{"code": "Resource"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "MedicationStatement.extension", "path": "MedicationStatement.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationStatement.extension:longTerm", "path": "MedicationStatement.extension", "sliceName": "longTerm", "short": "Medication Long Term Indicator", "definition": "Indicator of long term use of a medication.", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-long-term"]}], "condition": ["ele-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "MedicationStatement.modifierExtension", "path": "MedicationStatement.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "DomainResource.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "MedicationStatement.identifier", "path": "MedicationStatement.identifier", "short": "External identifier", "definition": "Identifiers associated with this Medication Statement that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", "comment": "This is a business identifier, not a resource identifier.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.identifier"}, {"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "rim", "map": ".id"}]}, {"id": "MedicationStatement.basedOn", "path": "MedicationStatement.basedOn", "short": "Fulfils plan, proposal or order", "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event.", "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.basedOn", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/MedicationRequest", "http://hl7.org/fhir/StructureDefinition/CarePlan", "http://hl7.org/fhir/StructureDefinition/ServiceRequest"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.basedOn"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]"}]}, {"id": "MedicationStatement.partOf", "path": "MedicationStatement.partOf", "short": "Part of referenced event", "definition": "A larger event of which this particular event is a component or step.", "requirements": "This should not be used when indicating which resource a MedicationStatement has been derived from.  If that is the use case, then MedicationStatement.derivedFrom should be used.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.partOf", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/MedicationAdministration", "http://hl7.org/fhir/StructureDefinition/MedicationDispense", "http://hl7.org/fhir/StructureDefinition/MedicationStatement", "http://hl7.org/fhir/StructureDefinition/Procedure", "http://hl7.org/fhir/StructureDefinition/Observation"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.partOf"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS,moodCode=EVN]"}]}, {"id": "MedicationStatement.status", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.status", "short": "active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken", "definition": "A code representing the patient or other source's judgment about the state of the medication used that this statement is about.  Generally, this will be active or completed.", "comment": "MedicationStatement is a statement at a point in time.  The status is only representative at the point when it was asserted.  The value set for MedicationStatement.status contains codes that assert the status of the use of the medication by the patient (for example, stopped or on hold) as well as codes that assert the status of the medication statement itself (for example, entered in error).\r\rThis element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", "min": 1, "max": "1", "base": {"path": "MedicationStatement.status", "min": 1, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": true, "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationStatementStatus"}], "strength": "required", "description": "A coded concept indicating the current status of a MedicationStatement.", "valueSet": "http://hl7.org/fhir/ValueSet/medication-statement-status|4.0.1"}, "mapping": [{"identity": "workflow", "map": "Event.status"}, {"identity": "w5", "map": "FiveWs.status"}, {"identity": "rim", "map": ".statusCode"}]}, {"id": "MedicationStatement.statusReason", "path": "MedicationStatement.statusReason", "short": "Reason for current status", "definition": "Captures the reason for the current state of the MedicationStatement.", "comment": "This is generally only used for \"exception\" statuses such as \"not-taken\", \"on-hold\", \"cancelled\" or \"entered-in-error\". The reason for performing the event at all is captured in reasonCode, not here.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.statusReason", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationStatementStatusReason"}], "strength": "example", "description": "A coded concept indicating the reason for the status of the statement.", "valueSet": "http://hl7.org/fhir/ValueSet/reason-medication-status-codes"}, "mapping": [{"identity": "workflow", "map": "Event.statusReason"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"}]}, {"id": "MedicationStatement.category", "path": "MedicationStatement.category", "short": "Type of medication usage", "definition": "Indicates where the medication is expected to be consumed or administered.", "min": 0, "max": "1", "base": {"path": "MedicationStatement.category", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationStatementCategory"}], "strength": "preferred", "description": "A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered.", "valueSet": "http://hl7.org/fhir/ValueSet/medication-statement-category"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value"}]}, {"id": "MedicationStatement.medication[x]", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.medication[x]", "slicing": {"discriminator": [{"type": "type", "path": "$this"}], "ordered": false, "rules": "closed"}, "short": "Medication Detail", "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.", "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example, if you require form or lot number, then you must reference the Medication resource.", "min": 1, "max": "1", "base": {"path": "MedicationStatement.medication[x]", "min": 1, "max": "1"}, "type": [{"code": "CodeableConcept"}, {"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Medication"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MedicationCode"}], "strength": "example", "description": "A coded concept identifying the substance or product being taken.", "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes"}, "mapping": [{"identity": "workflow", "map": "Event.code"}, {"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "rim", "map": ".participation[typeCode=CSM].role[classCode=ADMM or MANU]"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept", "path": "MedicationStatement.medication[x]", "sliceName": "medicationCodeableConcept", "short": "Coded Medication", "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.", "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example, if you require form or lot number, then you must reference the Medication resource.", "min": 0, "max": "1", "base": {"path": "MedicationStatement.medication[x]", "min": 1, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "binding": {"extension": [{"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}, {"url": "documentation", "valueMarkdown": "This value set is for use when AMT (Australian Medicines Terminology) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org.au/ValueSet/pbs-item"}, {"url": "documentation", "valueMarkdown": "This value set is for use when PBS (Pharmaceutical Benefits Scheme) item codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org.au/ValueSet/mims"}, {"url": "documentation", "valueMarkdown": "This value set is for use when MIMS (Monthly Index of Medical Specialties) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}, {"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "http://terminology.hl7.org/ValueSet/v3-GTIN"}, {"url": "documentation", "valueMarkdown": "This value set is for use when GTIN (Global Trade Item Number) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}], "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes"}, "mapping": [{"identity": "workflow", "map": "Event.code"}, {"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "rim", "map": ".participation[typeCode=CSM].role[classCode=ADMM or MANU]"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.id", "path": "MedicationStatement.medication[x].id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.extension", "path": "MedicationStatement.medication[x].extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding", "path": "MedicationStatement.medication[x].coding", "slicing": {"discriminator": [{"type": "pattern", "path": "$this"}], "rules": "open"}, "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.id", "path": "MedicationStatement.medication[x].coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.extension", "path": "MedicationStatement.medication[x].coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.extension:medicationClass", "path": "MedicationStatement.medication[x].coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.system", "path": "MedicationStatement.medication[x].coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.version", "path": "MedicationStatement.medication[x].coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.code", "path": "MedicationStatement.medication[x].coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "MedicationStatement.medication[x].coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding.userSelected", "path": "MedicationStatement.medication[x].coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.medication[x].coding", "sliceName": "pbs", "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"strength": "required", "valueSet": "http://terminology.hl7.org.au/ValueSet/pbs-item"}, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs.id", "path": "MedicationStatement.medication[x].coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs.extension", "path": "MedicationStatement.medication[x].coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs.extension:medicationClass", "path": "MedicationStatement.medication[x].coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs.system", "path": "MedicationStatement.medication[x].coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs.version", "path": "MedicationStatement.medication[x].coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs.code", "path": "MedicationStatement.medication[x].coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "MedicationStatement.medication[x].coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs.userSelected", "path": "MedicationStatement.medication[x].coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.medication[x].coding", "sliceName": "amt", "short": "Code defined by a terminology system", "definition": "A reference to a code defined by a terminology system.", "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", "min": 0, "max": "*", "base": {"path": "CodeableConcept.coding", "min": 0, "max": "*"}, "type": [{"code": "Coding"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"strength": "required", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}, "mapping": [{"identity": "v2", "map": "C*E.1-8, C*E.10-22"}, {"identity": "rim", "map": "union(., ./translation)"}, {"identity": "orim", "map": "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt.id", "path": "MedicationStatement.medication[x].coding.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt.extension", "path": "MedicationStatement.medication[x].coding.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt.extension:medicationClass", "path": "MedicationStatement.medication[x].coding.extension", "sliceName": "medicationClass", "short": "Medication type", "definition": "The type of information covered by the medication coding, e.g. branded product with no strength or form.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/medication-type"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt.system", "path": "MedicationStatement.medication[x].coding.system", "short": "Identity of the terminology system", "definition": "The identification of the code system that defines the meaning of the symbol in the code.", "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", "requirements": "Need to be unambiguous about the source of the definition of the symbol.", "min": 0, "max": "1", "base": {"path": "Coding.system", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.3"}, {"identity": "rim", "map": "./codeSystem"}, {"identity": "orim", "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt.version", "path": "MedicationStatement.medication[x].coding.version", "short": "Version of the system - if relevant", "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", "min": 0, "max": "1", "base": {"path": "Coding.version", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.7"}, {"identity": "rim", "map": "./codeSystemVersion"}, {"identity": "orim", "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt.code", "path": "MedicationStatement.medication[x].coding.code", "short": "Symbol in syntax defined by the system", "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", "requirements": "Need to refer to a particular code in the system.", "min": 0, "max": "1", "base": {"path": "Coding.code", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.1"}, {"identity": "rim", "map": "./code"}, {"identity": "orim", "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt.display", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "MedicationStatement.medication[x].coding.display", "short": "Representation defined by the system", "definition": "A representation of the meaning of the code in the system, following the rules of the system.", "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.", "min": 0, "max": "1", "base": {"path": "Coding.display", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.2 - but note this is not well followed"}, {"identity": "rim", "map": "CV.displayName"}, {"identity": "orim", "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt.userSelected", "path": "MedicationStatement.medication[x].coding.userSelected", "short": "If this coding was chosen directly by the user", "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", "min": 0, "max": "1", "base": {"path": "Coding.userSelected", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "Sometimes implied by being first"}, {"identity": "rim", "map": "CD.codingRationale"}, {"identity": "orim", "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.text", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "MedicationStatement.medication[x].text", "short": "Medication primary text", "definition": "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.\r\n\r\nThis may be a brand or generic name as suitable for the intent of the entry.", "comment": "Very often the text is the same as a displayName of one of the codings.", "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.", "min": 0, "max": "1", "base": {"path": "CodeableConcept.text", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "C*E.9. But note many systems use C*E.2 for this"}, {"identity": "rim", "map": "./originalText[mediaType/code=\"text/plain\"]/data"}, {"identity": "orim", "map": "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"}]}, {"id": "MedicationStatement.medication[x]:medicationReference", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.medication[x]", "sliceName": "medicationReference", "short": "Medication Reference", "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.", "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example, if you require form or lot number, then you must reference the Medication resource.", "min": 0, "max": "1", "base": {"path": "MedicationStatement.medication[x]", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.code"}, {"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "rim", "map": ".participation[typeCode=CSM].role[classCode=ADMM or MANU]"}]}, {"id": "MedicationStatement.subject", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.subject", "short": "Who is/was taking  the medication", "definition": "The person, animal or group who is/was taking the medication.", "min": 1, "max": "1", "base": {"path": "MedicationStatement.subject", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.subject"}, {"identity": "w5", "map": "FiveWs.subject[x]"}, {"identity": "v2", "map": "PID-3-Patient ID List"}, {"identity": "rim", "map": ".participation[typeCode=SBJ].role[classCode=PAT]"}, {"identity": "w5", "map": "FiveWs.subject"}]}, {"id": "MedicationStatement.context", "path": "MedicationStatement.context", "short": "Encounter / Episode associated with MedicationStatement", "definition": "The encounter or episode of care that establishes the context for this MedicationStatement.", "min": 0, "max": "1", "base": {"path": "MedicationStatement.context", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Encounter", "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.context"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]"}]}, {"id": "MedicationStatement.effective[x]", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.effective[x]", "short": "The date/time or interval when the medication is/was/will be taken", "definition": "The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationStatement.taken element is No).", "comment": "This attribute reflects the period over which the patient consumed the medication and is expected to be populated on the majority of Medication Statements. If the medication is still being taken at the time the statement is recorded, the \"end\" date will be omitted.  The date/time attribute supports a variety of dates - year, year/month and exact date.  If something more than this is required, this should be conveyed as text.", "min": 0, "max": "1", "base": {"path": "MedicationStatement.effective[x]", "min": 0, "max": "1"}, "type": [{"code": "dateTime"}, {"code": "Period"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.occurrence[x]"}, {"identity": "w5", "map": "FiveWs.done[x]"}, {"identity": "rim", "map": ".effectiveTime"}]}, {"id": "MedicationStatement.dateAsserted", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.dateAsserted", "short": "When the statement was asserted?", "definition": "The date when the medication statement was asserted by the information source.", "min": 0, "max": "1", "base": {"path": "MedicationStatement.dateAsserted", "min": 0, "max": "1"}, "type": [{"code": "dateTime"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.recorded"}, {"identity": "rim", "map": ".participation[typeCode=AUT].time"}]}, {"id": "MedicationStatement.informationSource", "path": "MedicationStatement.informationSource", "short": "Person or organization that provided the information about the taking of this medication", "definition": "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest.", "min": 0, "max": "1", "base": {"path": "MedicationStatement.informationSource", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "w5", "map": "FiveWs.source"}, {"identity": "rim", "map": ".participation[typeCode=INF].role[classCode=PAT, or codes for Practioner or Related Person (if PAT is the informer, then syntax for self-reported =true)"}]}, {"id": "MedicationStatement.derivedFrom", "path": "MedicationStatement.derivedFrom", "short": "Additional supporting information", "definition": "Allows linking the MedicationStatement to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationStatement.", "comment": "Likely references would be to MedicationRequest, MedicationDispense, Claim, Observation or QuestionnaireAnswers.  The most common use cases for deriving a MedicationStatement comes from creating a MedicationStatement from a MedicationRequest or from a lab observation or a claim.  it should be noted that the amount of information that is available varies from the type resource that you derive the MedicationStatement from.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.derivedFrom", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Resource"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": ".outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]"}]}, {"id": "MedicationStatement.reasonCode", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.reasonCode", "short": "Reason for why the medication is being/was taken", "definition": "A reason for why the medication is being/was taken.", "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonForUseReference.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.reasonCode", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/medication-reason-taken-1"}, "mapping": [{"identity": "workflow", "map": "Event.reasonCode"}, {"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "rim", "map": ".reasonCode"}]}, {"id": "MedicationStatement.reasonReference", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.reasonReference", "short": "Condition or observation that supports why the medication is being/was taken", "definition": "Condition or observation that supports why the medication is being/was taken.", "comment": "This is a reference to a condition that is the reason why the medication is being/was taken.  If only a code exists, use reasonForUseCode.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.reasonReference", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org.au/fhir/StructureDefinition/au-diagnosticreport"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Event.reasonReference"}, {"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code=\"reason for use\"].value"}]}, {"id": "MedicationStatement.note", "path": "MedicationStatement.note", "short": "Further information about the statement", "definition": "Provides extra information about the medication statement that is not conveyed by the other attributes.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.note", "min": 0, "max": "*"}, "type": [{"code": "Annotation"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Event.note"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value"}]}, {"id": "MedicationStatement.dosage", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.dosage", "short": "Details of how medication is/was taken or should be taken", "definition": "Indicates how the medication is/was or should be taken by the patient.", "comment": "The dates included in the dosage on a Medication Statement reflect the dates for a given dose.  For example, \"from November 1, 2016 to November 3, 2016, take one tablet daily and from November 4, 2016 to November 7, 2016, take two tablets daily.\"  It is expected that this specificity may only be populated where the patient brings in their labeled container or where the Medication Statement is derived from a MedicationRequest.", "min": 0, "max": "*", "base": {"path": "MedicationStatement.dosage", "min": 0, "max": "*"}, "type": [{"code": "Dosage", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-dosage"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "refer dosageInstruction mapping"}]}]}, "differential": {"element": [{"id": "MedicationStatement", "path": "MedicationStatement"}, {"id": "MedicationStatement.status", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.status", "mustSupport": true}, {"id": "MedicationStatement.medication[x]", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.medication[x]", "slicing": {"discriminator": [{"type": "type", "path": "$this"}], "rules": "closed"}, "mustSupport": true}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept", "path": "MedicationStatement.medication[x]", "sliceName": "medicationCodeableConcept", "type": [{"code": "CodeableConcept"}]}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding", "path": "MedicationStatement.medication[x].coding", "slicing": {"discriminator": [{"type": "pattern", "path": "$this"}], "rules": "open"}}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:pbs", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.medication[x].coding", "sliceName": "pbs", "mustSupport": true, "binding": {"strength": "required", "valueSet": "http://terminology.hl7.org.au/ValueSet/pbs-item"}}, {"id": "MedicationStatement.medication[x]:medicationCodeableConcept.coding:amt", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.medication[x].coding", "sliceName": "amt", "mustSupport": true, "binding": {"strength": "required", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-medication-1"}}, {"id": "MedicationStatement.medication[x]:medicationReference", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.medication[x]", "sliceName": "medicationReference", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-medication"]}]}, {"id": "MedicationStatement.subject", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.subject", "min": 1, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"]}], "mustSupport": true}, {"id": "MedicationStatement.effective[x]", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.effective[x]", "mustSupport": true}, {"id": "MedicationStatement.dateAsserted", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.dateAsserted", "mustSupport": true}, {"id": "MedicationStatement.reasonCode", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.reasonCode", "mustSupport": true}, {"id": "MedicationStatement.reasonReference", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.reasonReference", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org.au/fhir/StructureDefinition/au-diagnosticreport"]}], "mustSupport": true}, {"id": "MedicationStatement.dosage", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "MedicationStatement.dosage", "mustSupport": true}]}}, "must_support_paths": [], "fallback_used": false, "source_package": "hl7.fhir.au.core-1.1.0#preview"}


package_name: hl7.fhir.au.core-1.1.0
package_version: preview
resource_type: Organization
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-organization", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2}, {"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use", "_valueCode": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core"}]}}], "url": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization", "version": "1.1.0-preview", "name": "AUCoreOrganization", "title": "AU Core Organization", "status": "active", "date": "2025-03-06T07:19:11+00:00", "publisher": "HL7 Australia", "contact": [{"name": "HL7 Australia FHIR Work Group", "telecom": [{"system": "url", "value": "https://confluence.hl7.org/display/HAFWG", "use": "work"}]}], "description": "This profile sets minimum expectations for a Organization resource to record, search, and fetch information about an organisation. It is based on the [AU Base Organization](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-organization.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Organization when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.", "jurisdiction": [{"coding": [{"system": "urn:iso:std:iso:3166", "code": "AU"}]}], "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia\u00a9 2022+; Licensed Under Creative Commons No Rights Reserved.", "fhirVersion": "4.0.1", "mapping": [{"identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping"}, {"identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping"}, {"identity": "servd", "uri": "http://www.omg.org/spec/ServD/1.0/", "name": "ServD"}, {"identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping"}], "kind": "resource", "abstract": false, "type": "Organization", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-organization", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "Organization", "path": "Organization", "short": "An organisation in an Australian healthcare context", "definition": "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action.  Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.", "min": 0, "max": "*", "base": {"path": "Organization", "min": 0, "max": "*"}, "constraint": [{"key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-5", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a security label", "expression": "contained.meta.security.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:security))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "valueBoolean": true}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}], "key": "dom-6", "severity": "warning", "human": "A resource should have narrative for robust management", "expression": "text.`div`.exists()", "xpath": "exists(f:text/h:div)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "org-1", "severity": "error", "human": "The organization SHALL at least have a name or an identifier, and possibly more than one", "expression": "(identifier.count() + name.count()) > 0", "xpath": "count(f:identifier | f:name) > 0", "source": "http://hl7.org/fhir/StructureDefinition/Organization"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Entity. Role, or Act"}, {"identity": "v2", "map": "(also see master files messages)"}, {"identity": "rim", "map": "Organization(classCode=ORG, determinerCode=INST)"}, {"identity": "servd", "map": "Organization"}]}, {"id": "Organization.id", "path": "Organization.id", "short": "Logical id of this artifact", "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min": 0, "max": "1", "base": {"path": "Resource.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "id"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": true}, {"id": "Organization.meta", "path": "Organization.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "min": 0, "max": "1", "base": {"path": "Resource.meta", "min": 0, "max": "1"}, "type": [{"code": "Meta"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true}, {"id": "Organization.implicitRules", "path": "Organization.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", "min": 0, "max": "1", "base": {"path": "Resource.implicitRules", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", "isSummary": true}, {"id": "Organization.language", "path": "Organization.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min": 0, "max": "1", "base": {"path": "Resource.language", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language"}], "strength": "preferred", "description": "A human language.", "valueSet": "http://hl7.org/fhir/ValueSet/languages"}}, {"id": "Organization.text", "path": "Organization.text", "short": "Text summary of the resource, for human interpretation", "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", "alias": ["narrative", "html", "xhtml", "display"], "min": 0, "max": "1", "base": {"path": "DomainResource.text", "min": 0, "max": "1"}, "type": [{"code": "Narrative"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Act.text?"}]}, {"id": "Organization.contained", "path": "Organization.contained", "short": "Contained, inline Resources", "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", "alias": ["inline resources", "anonymous resources", "contained resources"], "min": 0, "max": "*", "base": {"path": "DomainResource.contained", "min": 0, "max": "*"}, "type": [{"code": "Resource"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Organization.extension", "path": "Organization.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Organization.modifierExtension", "path": "Organization.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "DomainResource.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Organization.identifier", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.identifier", "slicing": {"discriminator": [{"type": "pattern", "path": "system"}], "ordered": false, "rules": "open"}, "short": "Identifies this organization across multiple systems", "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", "min": 0, "max": "*", "base": {"path": "Organization.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org/fhir/StructureDefinition/Identifier", "http://hl7.org.au/fhir/StructureDefinition/au-hpio", "http://hl7.org.au/fhir/StructureDefinition/au-paioidentifier", "http://hl7.org.au/fhir/StructureDefinition/au-cspregistrationnumber", "http://hl7.org.au/fhir/StructureDefinition/au-australianbusinessnumber", "http://hl7.org.au/fhir/StructureDefinition/au-australiancompanynumber", "http://hl7.org.au/fhir/StructureDefinition/au-australianregistredbodynumber", "http://hl7.org.au/fhir/StructureDefinition/au-nataaccreditationnumber", "http://hl7.org.au/fhir/StructureDefinition/au-pharmacyapprovalnumber"]}], "condition": ["org-1", "au-core-org-01"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "au-core-org-01", "severity": "error", "human": "A National Organisation Identifier (type=NOI) shall be an HPI-O or PAI-O", "expression": "type.coding.where(code='NOI').exists() implies ((system='http://ns.electronichealth.net.au/id/hi/hpio/1.0') or (system='http://ns.electronichealth.net.au/id/pcehr/paio/1.0'))", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "v2", "map": "XON.10 / XON.3"}, {"identity": "rim", "map": ".scopes[Role](classCode=IDENT)"}, {"identity": "servd", "map": "./Identifiers"}]}, {"id": "Organization.identifier:hpio", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.identifier", "sliceName": "hpio", "short": "Identifies this organization across multiple systems", "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", "min": 0, "max": "1", "base": {"path": "Organization.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-hpio"]}], "condition": ["org-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "v2", "map": "XON.10 / XON.3"}, {"identity": "rim", "map": ".scopes[Role](classCode=IDENT)"}, {"identity": "servd", "map": "./Identifiers"}]}, {"id": "Organization.identifier:abn", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.identifier", "sliceName": "abn", "short": "Identifies this organization across multiple systems", "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", "min": 0, "max": "*", "base": {"path": "Organization.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-australianbusinessnumber"]}], "condition": ["org-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "v2", "map": "XON.10 / XON.3"}, {"identity": "rim", "map": ".scopes[Role](classCode=IDENT)"}, {"identity": "servd", "map": "./Identifiers"}]}, {"id": "Organization.active", "path": "Organization.active", "short": "Whether the organization's record is still in active use", "definition": "Whether the organization's record is still in active use.", "comment": "This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.\n\nThis element is labeled as a modifier because it may be used to mark that the resource was created in error.", "requirements": "Need a flag to indicate a record is no longer to be used and should generally be hidden for the user in the UI.", "min": 0, "max": "1", "base": {"path": "Organization.active", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.status"}, {"identity": "v2", "map": "No equivalent in HL7 v2"}, {"identity": "rim", "map": ".status"}, {"identity": "servd", "map": "./Status (however this concept in ServD more covers why the organization is active or not, could be delisted, deregistered, not operational yet) this could alternatively be derived from ./StartDate and ./EndDate and given a context date."}]}, {"id": "Organization.type", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.type", "short": "Kind of organization", "definition": "The kind(s) of organization that this is.", "comment": "When selecting a code for Organization type, if a system is unable to provide a code from the preferred value set [Healthcare Organisation Role Type](https://healthterminologies.gov.au/fhir/ValueSet/healthcare-organisation-role-type-1) because the implementation context is not restricted to healthcare practitioner providers then it is recommended to select from the wider set available in SNOMED CT. If a suitable code from SNOMED CT is not available, a code from the code system [Australian and New Zealand Standard Industrial Classification (ANZSIC), 2006 (Revision 2.0)](https://www.healthterminologies.gov.au/integration/R4/fhir/CodeSystem/anzsic-2006-20130626) may be used.", "requirements": "Need to be able to track the kind of organization that this is - different organization types have different uses.", "min": 0, "max": "*", "base": {"path": "Organization.type", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/healthcare-organisation-role-type-1"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "v2", "map": "No equivalent in v2"}, {"identity": "rim", "map": ".code"}, {"identity": "servd", "map": "n/a"}]}, {"id": "Organization.name", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.name", "short": "Name used for the organization", "definition": "A name associated with the organization.", "comment": "If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches.", "requirements": "Need to use the name as the label of the organization.", "min": 1, "max": "1", "base": {"path": "Organization.name", "min": 0, "max": "1"}, "type": [{"code": "string"}], "condition": ["org-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "XON.1"}, {"identity": "rim", "map": ".name"}, {"identity": "servd", "map": ".PreferredName/Name"}]}, {"id": "Organization.alias", "path": "Organization.alias", "short": "A list of alternate names that the organization is known as, or was known as in the past", "definition": "A list of alternate names that the organization is known as, or was known as in the past.", "comment": "There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the organization.", "requirements": "Over time locations and organizations go through many changes and can be known by different names.\n\nFor searching knowing previous names that the organization was known by can be very useful.", "min": 0, "max": "*", "base": {"path": "Organization.alias", "min": 0, "max": "*"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": ".name"}]}, {"id": "Organization.telecom", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.telecom", "short": "A contact detail for the organization", "definition": "A contact detail for the organization.", "comment": "The use code 'home' is not to be used. Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself.", "requirements": "Human contact for the organization.", "min": 0, "max": "*", "base": {"path": "Organization.telecom", "min": 0, "max": "*"}, "type": [{"code": "ContactPoint"}], "condition": ["org-3"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "org-3", "severity": "error", "human": "The telecom of an organization can never be of use 'home'", "expression": "where(use = 'home').empty()", "xpath": "count(f:use[@value='home']) = 0", "source": "http://hl7.org/fhir/StructureDefinition/Organization"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "ORC-22?"}, {"identity": "rim", "map": ".telecom"}, {"identity": "servd", "map": "./ContactPoints"}]}, {"id": "Organization.address", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.address", "short": "An address for the organization", "definition": "An address for the organization.", "comment": "The address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the Location resource).", "requirements": "May need to keep track of the organization's addresses for contacting, billing or reporting requirements.", "min": 0, "max": "*", "base": {"path": "Organization.address", "min": 0, "max": "*"}, "type": [{"code": "Address", "profile": ["http://hl7.org/fhir/StructureDefinition/Address", "http://hl7.org.au/fhir/StructureDefinition/au-address"]}], "condition": ["org-2"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "org-2", "severity": "error", "human": "An address of an organization can never be of use 'home'", "expression": "where(use = 'home').empty()", "xpath": "count(f:use[@value='home']) = 0", "source": "http://hl7.org/fhir/StructureDefinition/Organization"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "ORC-23?"}, {"identity": "rim", "map": ".address"}, {"identity": "servd", "map": "./PrimaryAddress and ./OtherAddresses"}]}, {"id": "Organization.partOf", "path": "Organization.partOf", "short": "The organization of which this organization forms a part", "definition": "The organization of which this organization forms a part.", "requirements": "Need to be able to track the hierarchy of organizations within an organization.", "min": 0, "max": "1", "base": {"path": "Organization.partOf", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", "valueBoolean": true}], "code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Organization"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "No equivalent in HL7 v2"}, {"identity": "rim", "map": ".playedBy[classCode=Part].scoper"}, {"identity": "servd", "map": "n/a"}]}, {"id": "Organization.contact", "path": "Organization.contact", "short": "Contact for the organization for a certain purpose", "definition": "Contact for the organization for a certain purpose.", "comment": "Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use.", "requirements": "Need to keep track of assigned contact points within bigger organization.", "min": 0, "max": "*", "base": {"path": "Organization.contact", "min": 0, "max": "*"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": ".contactParty"}]}, {"id": "Organization.contact.id", "path": "Organization.contact.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Organization.contact.extension", "path": "Organization.contact.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Organization.contact.modifierExtension", "path": "Organization.contact.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Organization.contact.purpose", "path": "Organization.contact.purpose", "short": "The type of contact", "definition": "Indicates a purpose for which the contact can be reached.", "requirements": "Need to distinguish between multiple contact persons.", "min": 0, "max": "1", "base": {"path": "Organization.contact.purpose", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"strength": "extensible", "valueSet": "http://terminology.hl7.org.au/ValueSet/contact-purpose"}, "mapping": [{"identity": "rim", "map": "./type"}]}, {"id": "Organization.contact.name", "path": "Organization.contact.name", "short": "A name associated with the contact", "definition": "A name associated with the contact.", "requirements": "Need to be able to track the person by name.", "min": 0, "max": "1", "base": {"path": "Organization.contact.name", "min": 0, "max": "1"}, "type": [{"code": "HumanName"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "PID-5, PID-9"}, {"identity": "rim", "map": "./name"}]}, {"id": "Organization.contact.telecom", "path": "Organization.contact.telecom", "short": "Contact details (telephone, email, etc.)  for a contact", "definition": "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.", "requirements": "People have (primary) ways to contact them in some way such as phone, email.", "min": 0, "max": "*", "base": {"path": "Organization.contact.telecom", "min": 0, "max": "*"}, "type": [{"code": "ContactPoint"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "PID-13, PID-14"}, {"identity": "rim", "map": "./telecom"}]}, {"id": "Organization.contact.address", "path": "Organization.contact.address", "short": "Visiting or postal addresses for the contact", "definition": "Visiting or postal addresses for the contact.", "requirements": "May need to keep track of a contact party's address for contacting, billing or reporting requirements.", "min": 0, "max": "1", "base": {"path": "Organization.contact.address", "min": 0, "max": "1"}, "type": [{"code": "Address"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "PID-11"}, {"identity": "rim", "map": "./addr"}]}, {"id": "Organization.endpoint", "path": "Organization.endpoint", "short": "Technical endpoints providing access to services operated for the organization", "definition": "Technical endpoints providing access to services operated for the organization.", "requirements": "Organizations have multiple systems that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.", "min": 0, "max": "*", "base": {"path": "Organization.endpoint", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Endpoint"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}]}, "differential": {"element": [{"id": "Organization", "path": "Organization"}, {"id": "Organization.identifier", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.identifier", "slicing": {"discriminator": [{"type": "pattern", "path": "system"}], "ordered": false, "rules": "open"}, "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", "condition": ["au-core-org-01"], "constraint": [{"key": "au-core-org-01", "severity": "error", "human": "A National Organisation Identifier (type=NOI) shall be an HPI-O or PAI-O", "expression": "type.coding.where(code='NOI').exists() implies ((system='http://ns.electronichealth.net.au/id/hi/hpio/1.0') or (system='http://ns.electronichealth.net.au/id/pcehr/paio/1.0'))", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization"}], "mustSupport": true}, {"id": "Organization.identifier:hpio", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.identifier", "sliceName": "hpio", "max": "1", "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-hpio"]}], "mustSupport": true}, {"id": "Organization.identifier:abn", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.identifier", "sliceName": "abn", "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-australianbusinessnumber"]}], "mustSupport": true}, {"id": "Organization.type", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.type", "mustSupport": true}, {"id": "Organization.name", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.name", "min": 1, "mustSupport": true}, {"id": "Organization.telecom", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.telecom", "mustSupport": true}, {"id": "Organization.address", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Organization.address", "definition": "An address for the organization.", "mustSupport": true}]}}, "must_support_paths": [], "fallback_used": false, "source_package": "hl7.fhir.au.core-1.1.0#preview"}


package_name: hl7.fhir.au.core-1.1.0
package_version: preview
resource_type: Patient
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-patient", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 2}, {"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use", "_valueCode": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org.au/fhir/core/ImplementationGuide/hl7.fhir.au.core"}]}}], "url": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient", "version": "1.1.0-preview", "name": "AUCorePatient", "title": "AU Core Patient", "status": "active", "date": "2025-03-06T07:19:11+00:00", "publisher": "HL7 Australia", "contact": [{"name": "HL7 Australia FHIR Work Group", "telecom": [{"system": "url", "value": "https://confluence.hl7.org/display/HAFWG", "use": "work"}]}], "description": "This profile sets minimum expectations for a Patient resource to record, search, and fetch basic demographics and other administrative information about an individual patient. It is based on the [AU Base Patient](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-patient.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Patient when conforming to this profile. It provides the floor for standards development for specific uses cases in an Australian context.", "jurisdiction": [{"coding": [{"system": "urn:iso:std:iso:3166", "code": "AU"}]}], "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License. HL7 Australia\u00a9 2022+; Licensed Under Creative Commons No Rights Reserved.", "fhirVersion": "4.0.1", "mapping": [{"identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping"}, {"identity": "cda", "uri": "http://hl7.org/v3/cda", "name": "CDA (R2)"}, {"identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping"}, {"identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping"}, {"identity": "loinc", "uri": "http://loinc.org", "name": "LOINC code for the element"}], "kind": "resource", "abstract": false, "type": "Patient", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-patient", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "Patient", "path": "Patient", "short": "A patient in the context of electronic exchange of health information", "definition": "Demographics and other administrative information about an individual receiving care or other health-related services.", "alias": ["SubjectOfCare Client Resident"], "min": 0, "max": "*", "base": {"path": "Patient", "min": 0, "max": "*"}, "constraint": [{"key": "dom-2", "severity": "error", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "expression": "contained.contained.empty()", "xpath": "not(parent::f:contained and f:contained)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-3", "severity": "error", "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-4", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "dom-5", "severity": "error", "human": "If a resource is contained in another resource, it SHALL NOT have a security label", "expression": "contained.meta.security.empty()", "xpath": "not(exists(f:contained/*/f:meta/f:security))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "valueBoolean": true}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."}], "key": "dom-6", "severity": "warning", "human": "A resource should have narrative for robust management", "expression": "text.`div`.exists()", "xpath": "exists(f:text/h:div)", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"}, {"key": "inv-pat-0", "severity": "error", "human": "If present, birth time's date shall be the birth date", "expression": "birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').exists() implies birthDate.extension('http://hl7.org/fhir/StructureDefinition/patient-birthTime').value.toString().substring(0,10) = birthDate.toString()", "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient"}, {"key": "inv-pat-1", "severity": "warning", "human": "Individual gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply", "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-genderIdentity').all(extension('value').value.memberOf('https://healthterminologies.gov.au/fhir/ValueSet/gender-identity-response-1'))", "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient"}, {"key": "inv-pat-2", "severity": "warning", "human": "Individual pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply", "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-pronouns').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-pronouns').all(extension('value').value.memberOf('https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1'))", "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient"}, {"key": "inv-pat-3", "severity": "warning", "human": "Recorded sex or gender type shall be a member of the AU Recorded Sex or Gender Type value set if any codes within that value set can apply", "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('type').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').all(extension('type').value.memberOf('http://terminology.hl7.org.au/ValueSet/rsg-type'))", "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient"}, {"key": "inv-pat-4", "severity": "warning", "human": "Recorded sex or gender source document type shall be a member of the AU Recorded Sex or Gender (RSG) Source Document Type value set if any codes within that value set can apply", "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('sourceDocument').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').all(extension('sourceDocument').value.memberOf('http://terminology.hl7.org.au/ValueSet/rsg-source-document-type'))", "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient"}, {"key": "inv-pat-5", "severity": "warning", "human": "Recorded sex or gender jurisdiction shall be a member of the Jurisdiction ValueSet - AU Extended value set if any codes within that value set can apply", "expression": "extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').extension('jurisdiction').empty() or extension('http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender').all(extension('jurisdiction').value.memberOf('http://terminology.hl7.org.au/ValueSet/jurisdiction-extended'))", "source": "http://hl7.org.au/fhir/StructureDefinition/au-patient"}, {"key": "au-core-pat-01", "severity": "error", "human": "At least one patient identifier shall be valid, or if not available, the Data Absent Reason extension shall be present", "expression": "(identifier.where(system.count() + value.count() >1)).exists() xor identifier.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", "xpath": "(exists(f:identifier/f:system) and exists(f:identifier/f:value)) and not(exists(f:identifier/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])) or not(exists(f:identifier/f:system) and exists(f:identifier/f:value)) and exists(f:identifier/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])"}, {"key": "au-core-pat-02", "severity": "error", "human": "At least one patient name shall have a family name, or if not available, the Data Absent Reason extension shall be present", "expression": "name.family.exists() xor name.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", "xpath": "(exists(f:name/f:family) and not(exists(f:name/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))) or (not(exists(f:name/f:family)) and exists(f:name/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Entity. Role, or Act"}, {"identity": "rim", "map": "Patient[classCode=PAT]"}, {"identity": "cda", "map": "ClinicalDocument.recordTarget.patientRole"}]}, {"id": "Patient.id", "path": "Patient.id", "short": "Logical id of this artifact", "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", "min": 0, "max": "1", "base": {"path": "Resource.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "id"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": true}, {"id": "Patient.meta", "path": "Patient.meta", "short": "Metadata about the resource", "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "min": 0, "max": "1", "base": {"path": "Resource.meta", "min": 0, "max": "1"}, "type": [{"code": "Meta"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true}, {"id": "Patient.implicitRules", "path": "Patient.implicitRules", "short": "A set of rules under which this content was created", "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", "min": 0, "max": "1", "base": {"path": "Resource.implicitRules", "min": 0, "max": "1"}, "type": [{"code": "uri"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", "isSummary": true}, {"id": "Patient.language", "path": "Patient.language", "short": "Language of the resource content", "definition": "The base language in which the resource is written.", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "min": 0, "max": "1", "base": {"path": "Resource.language", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language"}], "strength": "preferred", "description": "A human language.", "valueSet": "http://hl7.org/fhir/ValueSet/languages"}}, {"id": "Patient.text", "path": "Patient.text", "short": "Text summary of the resource, for human interpretation", "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", "alias": ["narrative", "html", "xhtml", "display"], "min": 0, "max": "1", "base": {"path": "DomainResource.text", "min": 0, "max": "1"}, "type": [{"code": "Narrative"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Act.text?"}]}, {"id": "Patient.contained", "path": "Patient.contained", "short": "Contained, inline Resources", "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", "alias": ["inline resources", "anonymous resources", "contained resources"], "min": 0, "max": "*", "base": {"path": "DomainResource.contained", "min": 0, "max": "*"}, "type": [{"code": "Resource"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Patient.extension", "path": "Patient.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Patient.extension:birthPlace", "path": "Patient.extension", "sliceName": "birthPlace", "short": "Place of Birth for patient", "definition": "The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org/fhir/StructureDefinition/patient-birthPlace"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.extension:indigenousStatus", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.extension", "sliceName": "indigenousStatus", "short": "Indigenous status", "definition": "National Health Data Dictionary (NHDD) based indigenous status for a person.", "comment": "This concept is equivalent to Australian Institute of Health and Welfare data element 602543 [Person\u2014Indigenous status, code N](https://meteor.aihw.gov.au/content/index.phtml/itemId/602543).", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/indigenous-status"]}], "condition": ["ele-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "mustSupport": true, "isModifier": false}, {"id": "Patient.extension:veteranStatus", "path": "Patient.extension", "sliceName": "veteranStatus", "short": "Veteran / Australian Defence Force (ADF) status", "definition": "Veteran / Australian Defence Force (ADF) status for a person.", "comment": "This concept is equivalent to Australian Institute of Health and Welfare data element 737931 [Person\u2014ADF veteran status, code N](https://meteor.aihw.gov.au/content/737931).", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/veteran-status"]}], "condition": ["ele-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.extension:closingTheGapRegistration", "path": "Patient.extension", "sliceName": "closingTheGapRegistration", "short": "Closing the Gap co-payment eligibility indicator", "definition": "Indication of eligibility for the Closing the Gap co-payment.", "comment": "This concept is equivalent to Australian Institute of Health and Welfare data element 603671 [Patient\u2014Closing the Gap co-payment eligibility indicator](https://meteor.aihw.gov.au/content/index.phtml/itemId/603671).", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/closing-the-gap-registration"]}], "condition": ["ele-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.extension:mothersMaidenName", "path": "Patient.extension", "sliceName": "mothersMaidenName", "short": "Mother's Maiden name", "definition": "Mother's maiden (unmarried) name, commonly collected to help verify patient identity.", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "mapping": [{"identity": "v2", "map": "PID-6"}, {"identity": "rim", "map": "Role relationship to entity with maiden name (?)"}]}, {"id": "Patient.extension:interpreterRequired", "path": "Patient.extension", "sliceName": "interpreterRequired", "short": "Whether an interpreter is required", "definition": "Indicates whether an interpreter is required to facilitate communication in a healthcare setting. While this extension is named patient-interpreterRequired for backwards compatibility, it may also be used on RelatedPerson, Practitioner, and Encounter.", "comment": "The individual does not speak the default language of the organization, and hence requires an interpreter. If other languages are in the Communications list, then that would be the type of interpreter required.\r\r*While this extension is named patient-interpreterRequired for backwards compatibility, it may also be used on RelatedPerson, Practitioner, and Encounter.*\r\rWhen used on Patient, RelatedPerson, or Practitioner, it indicates a default or assumed need for an interpreter.\rWhen used on Encounter, it indicates that an interpreter is needed to facilitate communication between some participants in that Encounter.\rThe encounter-level evaluation of whether an interpreter is needed might involve evaluating the language proficiencies of the participants.", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.extension:dateOfArrival", "path": "Patient.extension", "sliceName": "dateOfArrival", "short": "The date a person first arrived in Australia, from another country, with the intention of living in Australia for one year or more", "definition": "The date a person first arrived in Australia, from another country, with the intention of living in Australia for one year or more. This date is captured once for a person and is not subsequently updated with subsequent arrivals.", "comment": "See [Australian Bureau of Statics (ABS) 1200.0.55.007 - Year of Arrival Standard, 2014, Version 1.5](https://www.abs.gov.au/statistics/standards/year-arrival-standard/2014-version-15) for further information. This concept is equivalent to Australian Institute of Health and Welfare data element 269447 [Person\u2014year of first arrival in Australia](https://meteor.aihw.gov.au/content/index.phtml/itemId/269447).", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/date-of-arrival"]}], "condition": ["ele-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.extension:genderIdentity", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.extension", "sliceName": "genderIdentity", "short": "Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply", "definition": "An individual's personal sense of being a man, woman, boy, girl, nonbinary, or something else.", "comment": "This represents an individual\u2019s identity, ascertained by asking them what that identity is.", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"]}], "condition": ["inv-pat-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "mustSupport": true, "isModifier": false}, {"id": "Patient.extension:individualPronouns", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.extension", "sliceName": "individualPronouns", "short": "Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply", "definition": "The pronouns to use when referring to an individual in verbal or written communication.", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org/fhir/StructureDefinition/individual-pronouns"]}], "condition": ["inv-pat-2"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "mustSupport": true, "isModifier": false}, {"id": "Patient.extension:recordedSexOrGender", "path": "Patient.extension", "sliceName": "recordedSexOrGender", "short": "Recorded sex or gender type shall be a member of the AU Recorded Sex or Gender Type value set if any codes within that value set can apply. Recorded sex or gender source document type shall be a member of the AU Recorded Sex or Gender (RSG) Source Document Type value set if any codes within that value set can apply. Recorded sex or gender jurisdiction shall be a member of the Jurisdiction - ValueSet AU Extended value set if any codes within that value set can apply", "definition": "A sex or gender property for the individual from a document or other record", "comment": "The type of recorded sex or gender is populated in the `extension:type.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [AU Recorded Sex or Gender Type](https://build.fhir.org/ig/hl7au/au-fhir-base/ValueSet-rsg-type.html) value set if any of the codes within the value set can apply.\n\nThe document from which the sex or gender property was acquired is populated in the `extension:sourceDocument.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [AU Recorded Sex or Gender (RSG) Source Document Type](https://build.fhir.org/ig/hl7au/au-fhir-base/ValueSet-rsg-source-document-type.html) value set if any of the codes within the value set can apply.\n\nThe jurisdiction that issued the document where the sex or gender was acquired is populated in the `extension:jurisdiction.value[x]` of the [Person Recorded Sex or Gender](http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender) extension and shall contain one of the codes from the [Jurisdiction ValueSet - AU Extended](https://build.fhir.org/ig/hl7au/au-fhir-base/ValueSet-au-jurisdiction-extended.html) value set if any of the codes within the value set can apply.", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org/fhir/StructureDefinition/individual-recordedSexOrGender"]}], "condition": ["inv-pat-3", "inv-pat-4", "inv-pat-5"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.modifierExtension", "path": "Patient.modifierExtension", "short": "Extensions that cannot be ignored", "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "DomainResource.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Patient.identifier", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.identifier", "slicing": {"discriminator": [{"type": "pattern", "path": "type"}], "rules": "open"}, "short": "Identifies this patient across multiple systems", "definition": "An identifier for this patient.", "requirements": "Patients are almost always assigned specific numerical identifiers.", "min": 1, "max": "*", "base": {"path": "Patient.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org/fhir/StructureDefinition/Identifier", "http://hl7.org.au/fhir/StructureDefinition/au-ihi", "http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber", "http://hl7.org.au/fhir/StructureDefinition/au-dvanumber", "http://hl7.org.au/fhir/StructureDefinition/au-healthcarecardnumber", "http://hl7.org.au/fhir/StructureDefinition/au-pensionerconcessioncardnumber", "http://hl7.org.au/fhir/StructureDefinition/au-cwlthseniorshealthcardnumber", "http://hl7.org.au/fhir/StructureDefinition/au-medicalrecordnumber", "http://hl7.org.au/fhir/StructureDefinition/au-insurancemembernumber"]}], "condition": ["au-core-pat-01"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "v2", "map": "PID-3"}, {"identity": "rim", "map": "id"}, {"identity": "cda", "map": ".id"}]}, {"id": "Patient.identifier:ihi", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.identifier", "sliceName": "ihi", "short": "Identifies this patient across multiple systems", "definition": "An identifier for this patient.", "requirements": "Patients are almost always assigned specific numerical identifiers.", "min": 0, "max": "1", "base": {"path": "Patient.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-ihi"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "v2", "map": "PID-3"}, {"identity": "rim", "map": "id"}, {"identity": "cda", "map": ".id"}]}, {"id": "Patient.identifier:medicare", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.identifier", "sliceName": "medicare", "short": "Identifies this patient across multiple systems", "definition": "An identifier for this patient.", "requirements": "Patients are almost always assigned specific numerical identifiers.", "min": 0, "max": "1", "base": {"path": "Patient.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "v2", "map": "PID-3"}, {"identity": "rim", "map": "id"}, {"identity": "cda", "map": ".id"}]}, {"id": "Patient.identifier:dva", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.identifier", "sliceName": "dva", "short": "Identifies this patient across multiple systems", "definition": "An identifier for this patient.", "requirements": "Patients are almost always assigned specific numerical identifiers.", "min": 0, "max": "1", "base": {"path": "Patient.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-dvanumber"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "v2", "map": "PID-3"}, {"identity": "rim", "map": "id"}, {"identity": "cda", "map": ".id"}]}, {"id": "Patient.active", "path": "Patient.active", "short": "Whether this patient's record is in active use", "definition": "Whether this patient record is in active use. \nMany systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.\n\nIt is often used to filter patient lists to exclude inactive patients\n\nDeceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.", "comment": "If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.", "requirements": "Need to be able to mark a patient record as not to be used because it was created in error.", "min": 0, "max": "1", "base": {"path": "Patient.active", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.status"}, {"identity": "rim", "map": "statusCode"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.name", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name", "short": "A name associated with the patient", "definition": "A name associated with the individual.", "comment": "A patient may have multiple names with different uses or applicable periods. At least one name SHOULD be the name the patient is considered to have for administrative and record keeping purposes - family name is used to enable matching against patient records.", "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.", "min": 1, "max": "*", "base": {"path": "Patient.name", "min": 0, "max": "*"}, "type": [{"code": "HumanName"}], "condition": ["au-core-pat-02"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "au-core-pat-03", "severity": "error", "human": "At least text, family name, or given name shall be present, or if neither is available, the Data Absent Reason extension shall be present", "expression": "(text.exists() or family.exists() or given.exists()) xor extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", "xpath": "(exists(f:text) or exists(f:family) or exists(f:given)) and not (exists(f:text) and exists(f:family) and exists(f:given)) or exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "PID-5, PID-9"}, {"identity": "rim", "map": "name"}, {"identity": "cda", "map": ".patient.name"}]}, {"id": "Patient.name.id", "path": "Patient.name.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Patient.name.extension", "path": "Patient.name.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "description": "Extensions are always sliced by (at least) url", "rules": "open"}, "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Patient.name.use", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name.use", "short": "usual | official | temp | nickname | anonymous | old | maiden", "definition": "Identifies the purpose for this name.", "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.", "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.", "min": 0, "max": "1", "base": {"path": "HumanName.use", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": true, "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "NameUse"}], "strength": "required", "description": "The use of a human name.", "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1"}, "mapping": [{"identity": "v2", "map": "XPN.7, but often indicated by which field contains the name"}, {"identity": "rim", "map": "unique(./use)"}, {"identity": "servd", "map": "./NamePurpose"}]}, {"id": "Patient.name.text", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name.text", "short": "Text representation of the full name", "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.", "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present,  no content is included in the text that isn't found in a part.", "requirements": "A renderable, unencoded form.", "min": 0, "max": "1", "base": {"path": "HumanName.text", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "implied by XPN.11"}, {"identity": "rim", "map": "./formatted"}]}, {"id": "Patient.name.family", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name.family", "short": "Family name (often called 'Surname')", "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.", "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).", "alias": ["surname"], "min": 0, "max": "1", "base": {"path": "HumanName.family", "min": 0, "max": "1"}, "type": [{"code": "string"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "XPN.1/FN.1"}, {"identity": "rim", "map": "./part[partType = FAM]"}, {"identity": "servd", "map": "./FamilyName"}]}, {"id": "Patient.name.given", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name.given", "short": "Given names (not always 'first'). Includes middle names", "definition": "Given name.", "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations.  This element is not called \"first name\" since given names do not always come first.", "alias": ["first name", "middle name"], "min": 0, "max": "*", "base": {"path": "HumanName.given", "min": 0, "max": "*"}, "type": [{"code": "string"}], "orderMeaning": "Given Names appear in the correct order for presenting the name", "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "XPN.2 + XPN.3"}, {"identity": "rim", "map": "./part[partType = GIV]"}, {"identity": "servd", "map": "./GivenNames"}]}, {"id": "Patient.name.prefix", "path": "Patient.name.prefix", "short": "Parts that come before the name", "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.", "min": 0, "max": "*", "base": {"path": "HumanName.prefix", "min": 0, "max": "*"}, "type": [{"code": "string"}], "orderMeaning": "Prefixes appear in the correct order for presenting the name", "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "XPN.5"}, {"identity": "rim", "map": "./part[partType = PFX]"}, {"identity": "servd", "map": "./TitleCode"}]}, {"id": "Patient.name.suffix", "path": "Patient.name.suffix", "short": "Parts that come after the name", "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.", "min": 0, "max": "*", "base": {"path": "HumanName.suffix", "min": 0, "max": "*"}, "type": [{"code": "string"}], "orderMeaning": "Suffixes appear in the correct order for presenting the name", "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "XPN/4"}, {"identity": "rim", "map": "./part[partType = SFX]"}]}, {"id": "Patient.name.period", "path": "Patient.name.period", "short": "Time period when name was/is in use", "definition": "Indicates the period of time when this name was valid for the named person.", "requirements": "Allows names to be placed in historical context.", "min": 0, "max": "1", "base": {"path": "HumanName.period", "min": 0, "max": "1"}, "type": [{"code": "Period"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "XPN.13 + XPN.14"}, {"identity": "rim", "map": "./usablePeriod[type=\"IVL<TS>\"]"}, {"identity": "servd", "map": "./StartDate and ./EndDate"}]}, {"id": "Patient.telecom", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.telecom", "short": "A contact detail for the individual", "definition": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.", "comment": "A Patient may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently and also to help with identification. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).", "requirements": "People have (primary) ways to contact them in some way such as phone, email.", "min": 0, "max": "*", "base": {"path": "Patient.telecom", "min": 0, "max": "*"}, "type": [{"code": "ContactPoint"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "PID-13, PID-14, PID-40"}, {"identity": "rim", "map": "telecom"}, {"identity": "cda", "map": ".telecom"}]}, {"id": "Patient.gender", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.gender", "short": "male | female | other | unknown", "definition": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.", "comment": "The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female.  Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.)  However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice.  Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects.  For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a \"hard\" error.  See the Patient Gender and Sex section for additional information about communicating patient gender and sex.", "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date.", "min": 1, "max": "1", "base": {"path": "Patient.gender", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "AdministrativeGender"}], "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"}, "mapping": [{"identity": "v2", "map": "PID-8"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"}, {"identity": "cda", "map": ".patient.administrativeGenderCode"}]}, {"id": "Patient.birthDate", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.birthDate", "short": "Date of birth extended for time and accuracy indicator", "definition": "The date of birth for the individual.", "comment": "At least an estimated year should be provided as a guess if the real DOB is unknown  There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternity/infant care systems).", "requirements": "Age of the individual drives many clinical processes. May include accuracy indicator and specific birth time.", "min": 1, "max": "1", "base": {"path": "Patient.birthDate", "min": 0, "max": "1"}, "type": [{"code": "date"}], "condition": ["inv-pat-0"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "PID-7"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime"}, {"identity": "cda", "map": ".patient.birthTime"}, {"identity": "loinc", "map": "21112-8"}]}, {"id": "Patient.birthDate.id", "path": "Patient.birthDate.id", "representation": ["xmlAttr"], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references)", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false}, {"id": "Patient.birthDate.extension", "path": "Patient.birthDate.extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Patient.birthDate.extension:accuracyIndicator", "path": "Patient.birthDate.extension", "sliceName": "accuracyIndicator", "short": "Birth date accuracy indicator", "definition": "General date accuracy indicator coding.", "comment": "In some circumstances, systems may only have date or datetime data that has unknown or estimated parts.  This coding establishes the accuracy of the day, month and year parts.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator"]}], "condition": ["ele-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.birthDate.extension:birthTime", "path": "Patient.birthDate.extension", "sliceName": "birthTime", "short": "Birth time", "definition": "The time of day that the patient was born. This includes the date to ensure that the timezone information can be communicated effectively.", "comment": "The patient prefix on the extension was retained to ensure backward compatibility with existing data (the content itself is provided to assist in sharing data across patient resources effectively)", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org/fhir/StructureDefinition/patient-birthTime"]}], "condition": ["inv-pat-0"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.birthDate.value", "path": "Patient.birthDate.value", "representation": ["xmlAttr"], "short": "Primitive value for date", "definition": "The actual value", "min": 0, "max": "1", "base": {"path": "date.value", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "date"}, {"url": "http://hl7.org/fhir/StructureDefinition/regex", "valueString": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1]))?)?"}], "code": "http://hl7.org/fhirpath/System.Date"}], "isModifier": false, "isSummary": false}, {"id": "Patient.deceased[x]", "path": "Patient.deceased[x]", "slicing": {"discriminator": [{"type": "type", "path": "$this"}], "ordered": false, "rules": "closed"}, "short": "Indicates if the individual is deceased or not", "definition": "Indicates if the individual is deceased or not. Deceased date accuracy indicator is optional.", "comment": "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.", "requirements": "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.", "min": 0, "max": "1", "base": {"path": "Patient.deceased[x]", "min": 0, "max": "1"}, "type": [{"code": "boolean"}, {"code": "dateTime"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.", "isSummary": true, "mapping": [{"identity": "v2", "map": "PID-30  (bool) and PID-29 (datetime)"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.deceased[x]:deceasedBoolean", "path": "Patient.deceased[x]", "sliceName": "deceasedBoolean", "short": "Deceased indicator", "definition": "Boolean indicator if the individual is deceased or not.", "comment": "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.", "requirements": "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.", "min": 0, "max": "1", "base": {"path": "Patient.deceased[x]", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.", "isSummary": true, "mapping": [{"identity": "v2", "map": "PID-30  (bool) and PID-29 (datetime)"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.deceased[x]:deceasedDateTime", "path": "Patient.deceased[x]", "sliceName": "deceasedDateTime", "short": "Deceased date time", "definition": "Individual deceased date-time with optional accuracy indicator.", "comment": "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.", "requirements": "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.", "min": 0, "max": "1", "base": {"path": "Patient.deceased[x]", "min": 0, "max": "1"}, "type": [{"code": "dateTime"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.", "isSummary": true, "mapping": [{"identity": "v2", "map": "PID-30  (bool) and PID-29 (datetime)"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.deceased[x]:deceasedDateTime.id", "path": "Patient.deceased[x].id", "representation": ["xmlAttr"], "short": "xml:id (or equivalent in JSON)", "definition": "unique id for the element within a resource (for internal references)", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false}, {"id": "Patient.deceased[x]:deceasedDateTime.extension", "path": "Patient.deceased[x].extension", "slicing": {"discriminator": [{"type": "value", "path": "url"}], "rules": "open"}, "short": "Extension", "definition": "An Extension", "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false}, {"id": "Patient.deceased[x]:deceasedDateTime.extension:accuracyIndicator", "path": "Patient.deceased[x].extension", "sliceName": "accuracyIndicator", "short": "Deceased date accuracy indicator", "definition": "General date accuracy indicator coding.", "comment": "In some circumstances, systems may only have date or datetime data that has unknown or estimated parts.  This coding establishes the accuracy of the day, month and year parts.", "min": 0, "max": "1", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/date-accuracy-indicator"]}], "condition": ["ele-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false}, {"id": "Patient.deceased[x]:deceasedDateTime.value", "path": "Patient.deceased[x].value", "representation": ["xmlAttr"], "short": "Primitive value for dateTime", "definition": "The actual value", "min": 0, "max": "1", "base": {"path": "dateTime.value", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "dateTime"}, {"url": "http://hl7.org/fhir/StructureDefinition/regex", "valueString": "([0-9]([0-9]([0-9][1-9]|[1-9]0)|[1-9]00)|[1-9]000)(-(0[1-9]|1[0-2])(-(0[1-9]|[1-2][0-9]|3[0-1])(T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)(\\.[0-9]+)?(Z|(\\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00)))?)?)?"}], "code": "http://hl7.org/fhirpath/System.DateTime"}], "isModifier": false, "isSummary": false}, {"id": "Patient.address", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.address", "short": "An address for the individual", "definition": "An address for the individual.", "comment": "The address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the Location resource).", "requirements": "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.", "min": 0, "max": "*", "base": {"path": "Patient.address", "min": 0, "max": "*"}, "type": [{"code": "Address", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-address", "http://hl7.org/fhir/StructureDefinition/Address"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "PID-11"}, {"identity": "rim", "map": "addr"}, {"identity": "cda", "map": ".addr"}]}, {"id": "Patient.maritalStatus", "path": "Patient.maritalStatus", "short": "Marital (civil) status of a patient", "definition": "This field contains a patient's most recent marital (civil) status.", "requirements": "Most, if not all systems capture it.", "min": 0, "max": "1", "base": {"path": "Patient.maritalStatus", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MaritalStatus"}], "strength": "extensible", "description": "The domestic partnership status of a person.", "valueSet": "http://hl7.org/fhir/ValueSet/marital-status"}, "mapping": [{"identity": "v2", "map": "PID-16"}, {"identity": "rim", "map": "player[classCode=PSN]/maritalStatusCode"}, {"identity": "cda", "map": ".patient.maritalStatusCode"}]}, {"id": "Patient.multipleBirth[x]", "path": "Patient.multipleBirth[x]", "short": "Whether patient is part of a multiple birth", "definition": "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).", "comment": "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated).", "requirements": "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.", "min": 0, "max": "1", "base": {"path": "Patient.multipleBirth[x]", "min": 0, "max": "1"}, "type": [{"code": "boolean"}, {"code": "integer"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "PID-24 (bool), PID-25 (integer)"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd,  player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.photo", "path": "Patient.photo", "short": "Image of the patient", "definition": "Image of the patient.", "comment": "Guidelines:\n* Use id photos, not clinical photos.\n* Limit dimensions to thumbnail.\n* Keep byte count low to ease resource updates.", "requirements": "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.", "min": 0, "max": "*", "base": {"path": "Patient.photo", "min": 0, "max": "*"}, "type": [{"code": "Attachment"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "OBX-5 - needs a profile"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.contact", "path": "Patient.contact", "short": "A contact party (e.g. guardian, partner, friend) for the patient", "definition": "A contact party (e.g. guardian, partner, friend) for the patient.", "comment": "Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.", "requirements": "Need to track people you can contact about the patient.", "min": 0, "max": "*", "base": {"path": "Patient.contact", "min": 0, "max": "*"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "pat-1", "severity": "error", "human": "SHALL at least contain a contact's details or a reference to an organization", "expression": "name.exists() or telecom.exists() or address.exists() or organization.exists()", "xpath": "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)", "source": "http://hl7.org/fhir/StructureDefinition/Patient"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.contact.id", "path": "Patient.contact.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Patient.contact.extension", "path": "Patient.contact.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Patient.contact.modifierExtension", "path": "Patient.contact.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Patient.contact.relationship", "path": "Patient.contact.relationship", "short": "The kind of relationship", "definition": "The nature of the relationship between the patient and the contact person.", "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.", "min": 0, "max": "*", "base": {"path": "Patient.contact.relationship", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"strength": "extensible", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/contact-relationship-type-3"}, "mapping": [{"identity": "v2", "map": "NK1-7, NK1-3"}, {"identity": "rim", "map": "code"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.contact.name", "path": "Patient.contact.name", "short": "A name associated with the contact person", "definition": "A name associated with the contact person.", "requirements": "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.", "min": 0, "max": "1", "base": {"path": "Patient.contact.name", "min": 0, "max": "1"}, "type": [{"code": "HumanName"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "NK1-2"}, {"identity": "rim", "map": "name"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.contact.telecom", "path": "Patient.contact.telecom", "short": "A contact detail for the person", "definition": "A contact detail for the person, e.g. a telephone number or an email address.", "comment": "Contact may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification.", "requirements": "People have (primary) ways to contact them in some way such as phone, email.", "min": 0, "max": "*", "base": {"path": "Patient.contact.telecom", "min": 0, "max": "*"}, "type": [{"code": "ContactPoint"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "NK1-5, NK1-6, NK1-40"}, {"identity": "rim", "map": "telecom"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.contact.address", "path": "Patient.contact.address", "short": "Address for the contact person", "definition": "Address for the contact person.", "comment": "The address is intended to describe postal addresses for administrative purposes, not to describe absolute geographical coordinates. Postal addresses are often used as proxies for physical locations (also see the Location resource).", "requirements": "Need to keep track where the contact person can be contacted per postal mail or visited.", "min": 0, "max": "1", "base": {"path": "Patient.contact.address", "min": 0, "max": "1"}, "type": [{"code": "Address", "profile": ["http://hl7.org/fhir/StructureDefinition/Address", "http://hl7.org.au/fhir/StructureDefinition/au-address"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "NK1-4"}, {"identity": "rim", "map": "addr"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.contact.gender", "path": "Patient.contact.gender", "short": "male | female | other | unknown", "definition": "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.", "requirements": "Needed to address the person correctly.", "min": 0, "max": "1", "base": {"path": "Patient.contact.gender", "min": 0, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "AdministrativeGender"}], "strength": "required", "description": "The gender of a person used for administrative purposes.", "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1"}, "mapping": [{"identity": "v2", "map": "NK1-15"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.contact.organization", "path": "Patient.contact.organization", "short": "Organization that is associated with the contact", "definition": "Organization on behalf of which the contact is acting or for which the contact is working.", "requirements": "For guardians or business related contacts, the organization is relevant.", "min": 0, "max": "1", "base": {"path": "Patient.contact.organization", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Organization"]}], "condition": ["pat-1"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41"}, {"identity": "rim", "map": "scoper"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.contact.period", "path": "Patient.contact.period", "short": "The period during which this contact person or organization is valid to be contacted relating to this patient", "definition": "The period during which this contact person or organization is valid to be contacted relating to this patient.", "min": 0, "max": "1", "base": {"path": "Patient.contact.period", "min": 0, "max": "1"}, "type": [{"code": "Period"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "effectiveTime"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.communication", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.communication", "short": "A language which may be used to communicate with the patient about his or her health", "definition": "A language which may be used to communicate with the patient about his or her health.", "comment": "If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes, then you need multiple Patient.Communication associations.   For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.", "requirements": "If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency are important things to keep track of both for patient and other persons of interest.", "min": 0, "max": "*", "base": {"path": "Patient.communication", "min": 0, "max": "*"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "LanguageCommunication"}, {"identity": "cda", "map": "patient.languageCommunication"}]}, {"id": "Patient.communication.id", "path": "Patient.communication.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Patient.communication.extension", "path": "Patient.communication.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Patient.communication.modifierExtension", "path": "Patient.communication.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Patient.communication.language", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.communication.language", "short": "The language which can be used to communicate with the patient about his or her health", "definition": "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.", "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.", "requirements": "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.", "min": 1, "max": "1", "base": {"path": "Patient.communication.language", "min": 1, "max": "1"}, "type": [{"code": "CodeableConcept"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "binding": {"strength": "extensible", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2"}, "mapping": [{"identity": "v2", "map": "PID-15, LAN-2"}, {"identity": "rim", "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code"}, {"identity": "cda", "map": ".languageCode"}]}, {"id": "Patient.communication.preferred", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.communication.preferred", "short": "Language preference indicator", "definition": "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).", "comment": "This language is specifically identified for communicating healthcare information.", "requirements": "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.", "min": 0, "max": "1", "base": {"path": "Patient.communication.preferred", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "PID-15"}, {"identity": "rim", "map": "preferenceInd"}, {"identity": "cda", "map": ".preferenceInd"}]}, {"id": "Patient.generalPractitioner", "path": "Patient.generalPractitioner", "short": "Patient's nominated primary care provider", "definition": "Patient's nominated care provider.", "comment": "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles.  It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.\nMultiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a \"fly-in/fly-out\" worker that has the onsite GP also included with his home GP to remain aware of medical issues.\n\nJurisdictions may decide that they can profile this down to 1 if desired, or 1 per type.", "alias": ["careProvider"], "min": 0, "max": "*", "base": {"path": "Patient.generalPractitioner", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "v2", "map": "PD1-4"}, {"identity": "rim", "map": "subjectOf.CareEvent.performer.AssignedEntity"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.managingOrganization", "path": "Patient.managingOrganization", "short": "Organization that is the custodian of the patient record", "definition": "Organization that is the custodian of the patient record.", "comment": "There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association).", "requirements": "Need to know who recognizes this patient record, manages and updates it.", "min": 0, "max": "1", "base": {"path": "Patient.managingOrganization", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Organization"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "rim", "map": "scoper"}, {"identity": "cda", "map": ".providerOrganization"}]}, {"id": "Patient.link", "path": "Patient.link", "short": "Link to a Patient or RelatedPerson resource that concerns the same actual person", "definition": "Link to a Patient or RelatedPerson resource that concerns the same actual person.", "comment": "There is no assumption that linked patient records have mutual links.", "requirements": "There are multiple use cases:   \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and \n* Distribution of patient information across multiple servers.", "min": 0, "max": "*", "base": {"path": "Patient.link", "min": 0, "max": "*"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": true, "isModifierReason": "This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'", "isSummary": true, "mapping": [{"identity": "rim", "map": "outboundLink"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.link.id", "path": "Patient.link.id", "representation": ["xmlAttr"], "short": "Unique id for inter-element referencing", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": {"path": "Element.id", "min": 0, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string"}], "code": "http://hl7.org/fhirpath/System.String"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Patient.link.extension", "path": "Patient.link.extension", "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": ["extensions", "user content"], "min": 0, "max": "*", "base": {"path": "Element.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Patient.link.modifierExtension", "path": "Patient.link.modifierExtension", "short": "Extensions that cannot be ignored even if unrecognized", "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", "alias": ["extensions", "user content", "modifiers"], "min": 0, "max": "*", "base": {"path": "BackboneElement.modifierExtension", "min": 0, "max": "*"}, "type": [{"code": "Extension"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}, {"key": "ext-1", "severity": "error", "human": "Must have either extensions or value[x], not both", "expression": "extension.exists() != value.exists()", "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", "source": "http://hl7.org/fhir/StructureDefinition/Extension"}], "isModifier": true, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Patient.link.other", "path": "Patient.link.other", "short": "The other patient or related person resource that the link refers to", "definition": "The other patient resource that the link refers to.", "comment": "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.", "min": 1, "max": "1", "base": {"path": "Patient.link.other", "min": 1, "max": "1"}, "type": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", "valueBoolean": false}], "code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "v2", "map": "PID-3, MRG-1"}, {"identity": "rim", "map": "id"}, {"identity": "cda", "map": "n/a"}]}, {"id": "Patient.link.type", "path": "Patient.link.type", "short": "replaced-by | replaces | refer | seealso", "definition": "The type of link between this patient resource and another patient resource.", "min": 1, "max": "1", "base": {"path": "Patient.link.type", "min": 1, "max": "1"}, "type": [{"code": "code"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() or (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "http://hl7.org/fhir/StructureDefinition/Element"}], "isModifier": false, "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "LinkType"}], "strength": "required", "description": "The type of link between this patient resource and another patient resource.", "valueSet": "http://hl7.org/fhir/ValueSet/link-type|4.0.1"}, "mapping": [{"identity": "rim", "map": "typeCode"}, {"identity": "cda", "map": "n/a"}]}]}, "differential": {"element": [{"id": "Patient", "path": "Patient", "short": "A patient in the context of electronic exchange of health information", "constraint": [{"key": "au-core-pat-01", "severity": "error", "human": "At least one patient identifier shall be valid, or if not available, the Data Absent Reason extension shall be present", "expression": "(identifier.where(system.count() + value.count() >1)).exists() xor identifier.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", "xpath": "(exists(f:identifier/f:system) and exists(f:identifier/f:value)) and not(exists(f:identifier/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])) or not(exists(f:identifier/f:system) and exists(f:identifier/f:value)) and exists(f:identifier/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])"}, {"key": "au-core-pat-02", "severity": "error", "human": "At least one patient name shall have a family name, or if not available, the Data Absent Reason extension shall be present", "expression": "name.family.exists() xor name.extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", "xpath": "(exists(f:name/f:family) and not(exists(f:name/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))) or (not(exists(f:name/f:family)) and exists(f:name/f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason']))", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"}]}, {"id": "Patient.extension:indigenousStatus", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.extension", "sliceName": "indigenousStatus", "mustSupport": true}, {"id": "Patient.extension:genderIdentity", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.extension", "sliceName": "genderIdentity", "short": "Gender identity shall be a member of the Gender Identity Response value set if any codes within that value set can apply", "mustSupport": true}, {"id": "Patient.extension:individualPronouns", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.extension", "sliceName": "individualPronouns", "short": "Pronouns shall be a member of the Australian Pronouns value set if any codes within that value set can apply", "mustSupport": true}, {"id": "Patient.identifier", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.identifier", "slicing": {"discriminator": [{"type": "pattern", "path": "type"}], "rules": "open"}, "min": 1, "condition": ["au-core-pat-01"], "mustSupport": true}, {"id": "Patient.identifier:ihi", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.identifier", "sliceName": "ihi", "max": "1", "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-ihi"]}], "mustSupport": true}, {"id": "Patient.identifier:medicare", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.identifier", "sliceName": "medicare", "max": "1", "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-medicarecardnumber"]}], "mustSupport": true}, {"id": "Patient.identifier:dva", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.identifier", "sliceName": "dva", "max": "1", "type": [{"code": "Identifier", "profile": ["http://hl7.org.au/fhir/StructureDefinition/au-dvanumber"]}], "mustSupport": true}, {"id": "Patient.name", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name", "comment": "A patient may have multiple names with different uses or applicable periods. At least one name SHOULD be the name the patient is considered to have for administrative and record keeping purposes - family name is used to enable matching against patient records.", "min": 1, "condition": ["au-core-pat-02"], "constraint": [{"key": "au-core-pat-03", "severity": "error", "human": "At least text, family name, or given name shall be present, or if neither is available, the Data Absent Reason extension shall be present", "expression": "(text.exists() or family.exists() or given.exists()) xor extension('http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", "xpath": "(exists(f:text) or exists(f:family) or exists(f:given)) and not (exists(f:text) and exists(f:family) and exists(f:given)) or exists(f:extension[@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason'])", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"}], "mustSupport": true}, {"id": "Patient.name.use", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name.use", "mustSupport": true}, {"id": "Patient.name.text", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name.text", "mustSupport": true}, {"id": "Patient.name.family", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name.family", "mustSupport": true}, {"id": "Patient.name.given", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.name.given", "mustSupport": true}, {"id": "Patient.telecom", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.telecom", "mustSupport": true}, {"id": "Patient.gender", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.gender", "min": 1, "mustSupport": true}, {"id": "Patient.birthDate", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.birthDate", "min": 1, "mustSupport": true}, {"id": "Patient.address", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.address", "mustSupport": true}, {"id": "Patient.communication", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.communication", "mustSupport": true}, {"id": "Patient.communication.language", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.communication.language", "mustSupport": true}, {"id": "Patient.communication.preferred", "extension": [{"extension": [{"url": "code", "valueCode": "SHALL:populate-if-known"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-responder"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}, {"extension": [{"url": "code", "valueCode": "SHALL:no-error"}, {"url": "actor", "valueCanonical": "http://hl7.org.au/fhir/core/ActorDefinition/au-core-actor-requester"}], "url": "http://hl7.org/fhir/StructureDefinition/obligation"}], "path": "Patient.communication.preferred", "mustSupport": true}]}}, "must_support_paths": [], "fallback_used": false, "source_package": "hl7.fhir.au.core-1.1.0#preview"}


