# processed_ig

package_name: hl7.fhir.au.core-1.1.0
version: preview
processed_date: 2025-04-21 11:01:01.293504
complies_with_profiles: []
imposed_profiles: []
optional_usage_elements: {"au-core-rsg-sexassignedab": true}
resource_types_info:
[{"name": "au-core-allergyintolerance", "type": "AllergyIntolerance", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-bloodpressure", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-bodyheight", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-bodytemp", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-bodyweight", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-condition", "type": "Condition", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-diagnosticresult", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-diagnosticresult-path", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-encounter", "type": "Encounter", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-heartrate", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-immunization", "type": "Immunization", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-location", "type": "Location", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-medication", "type": "Medication", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-medicationrequest", "type": "MedicationRequest", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-medicationstatement", "type": "MedicationStatement", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-organization", "type": "Organization", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-patient", "type": "Patient", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-practitioner", "type": "Practitioner", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-practitionerrole", "type": "PractitionerRole", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-procedure", "type": "Procedure", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-relatedperson", "type": "RelatedPerson", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-resprate", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-rsg-sexassignedab", "type": "Extension", "is_profile": true, "must_support": true, "optional_usage": true}, {"name": "au-core-smokingstatus", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "au-core-waistcircum", "type": "Observation", "is_profile": true, "must_support": true, "optional_usage": false}, {"name": "AllergyIntolerance", "type": "AllergyIntolerance", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "CapabilityStatement", "type": "CapabilityStatement", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Condition", "type": "Condition", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Encounter", "type": "Encounter", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Immunization", "type": "Immunization", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Location", "type": "Location", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Medication", "type": "Medication", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "MedicationRequest", "type": "MedicationRequest", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "MedicationStatement", "type": "MedicationStatement", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Observation", "type": "Observation", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Organization", "type": "Organization", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Patient", "type": "Patient", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Practitioner", "type": "Practitioner", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "PractitionerRole", "type": "PractitionerRole", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Procedure", "type": "Procedure", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "RelatedPerson", "type": "RelatedPerson", "is_profile": false, "must_support": false, "optional_usage": false}, {"name": "Specimen", "type": "Specimen", "is_profile": false, "must_support": false, "optional_usage": false}]

must_support_elements:
{"au-core-allergyintolerance": ["AllergyIntolerance.clinicalStatus", "AllergyIntolerance.code", "AllergyIntolerance.onset[x]", "AllergyIntolerance.patient", "AllergyIntolerance.reaction", "AllergyIntolerance.reaction.manifestation", "AllergyIntolerance.reaction.severity", "AllergyIntolerance.verificationStatus"], "au-core-bloodpressure": ["Observation.category", "Observation.category:VSCat.coding", "Observation.category:VSCat.coding.code", "Observation.category:VSCat.coding.system", "Observation.category[sliceName='VSCat']", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.component:DiastolicBP.code", "Observation.component:DiastolicBP.dataAbsentReason", "Observation.component:DiastolicBP.value[x]", "Observation.component:DiastolicBP.value[x].code", "Observation.component:DiastolicBP.value[x].system", "Observation.component:DiastolicBP.value[x].unit", "Observation.component:DiastolicBP.value[x].value", "Observation.component:SystolicBP.code", "Observation.component:SystolicBP.dataAbsentReason", "Observation.component:SystolicBP.value[x]", "Observation.component:SystolicBP.value[x].code", "Observation.component:SystolicBP.value[x].system", "Observation.component:SystolicBP.value[x].unit", "Observation.component:SystolicBP.value[x].value", "Observation.component[sliceName='DiastolicBP']", "Observation.component[sliceName='SystolicBP']", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.status", "Observation.subject", "Observation.value[x]", "Observation.value[x][sliceName='valueQuantity']"], "au-core-bodyheight": ["Observation.category", "Observation.category:VSCat.coding", "Observation.category:VSCat.coding.code", "Observation.category:VSCat.coding.system", "Observation.category[sliceName='VSCat']", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.status", "Observation.subject", "Observation.value[x]", "Observation.value[x]:valueQuantity.code", "Observation.value[x]:valueQuantity.system", "Observation.value[x]:valueQuantity.unit", "Observation.value[x]:valueQuantity.value", "Observation.value[x][sliceName='valueQuantity']"], "au-core-bodytemp": ["Observation.category", "Observation.category:VSCat.coding", "Observation.category:VSCat.coding.code", "Observation.category:VSCat.coding.system", "Observation.category[sliceName='VSCat']", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.status", "Observation.subject", "Observation.value[x]", "Observation.value[x]:valueQuantity.code", "Observation.value[x]:valueQuantity.system", "Observation.value[x]:valueQuantity.unit", "Observation.value[x]:valueQuantity.value", "Observation.value[x][sliceName='valueQuantity']"], "au-core-bodyweight": ["Observation.category", "Observation.category:VSCat.coding", "Observation.category:VSCat.coding.code", "Observation.category:VSCat.coding.system", "Observation.category[sliceName='VSCat']", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.status", "Observation.subject", "Observation.value[x]", "Observation.value[x]:valueQuantity.code", "Observation.value[x]:valueQuantity.system", "Observation.value[x]:valueQuantity.unit", "Observation.value[x]:valueQuantity.value", "Observation.value[x][sliceName='valueQuantity']"], "au-core-condition": ["Condition.abatement[x]", "Condition.category", "Condition.clinicalStatus", "Condition.code", "Condition.note", "Condition.onset[x]", "Condition.severity", "Condition.subject", "Condition.verificationStatus"], "au-core-diagnosticresult-path": ["Observation.category", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.hasMember", "Observation.interpretation", "Observation.performer", "Observation.referenceRange", "Observation.referenceRange.high", "Observation.referenceRange.low", "Observation.referenceRange.text", "Observation.referenceRange.type", "Observation.specimen", "Observation.status", "Observation.subject", "Observation.value[x]"], "au-core-diagnosticresult": ["Observation.bodySite", "Observation.category", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.hasMember", "Observation.performer", "Observation.status", "Observation.subject", "Observation.value[x]"], "au-core-encounter": ["Encounter.class", "Encounter.location", "Encounter.location.location", "Encounter.participant", "Encounter.participant.individual", "Encounter.participant.type", "Encounter.period", "Encounter.reasonCode", "Encounter.reasonReference", "Encounter.serviceProvider", "Encounter.serviceType", "Encounter.status", "Encounter.subject"], "au-core-heartrate": ["Observation.category", "Observation.category:VSCat.coding", "Observation.category:VSCat.coding.code", "Observation.category:VSCat.coding.system", "Observation.category[sliceName='VSCat']", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.status", "Observation.subject", "Observation.value[x]", "Observation.value[x]:valueQuantity.code", "Observation.value[x]:valueQuantity.system", "Observation.value[x]:valueQuantity.unit", "Observation.value[x]:valueQuantity.value", "Observation.value[x][sliceName='valueQuantity']"], "au-core-immunization": ["Immunization.note", "Immunization.occurrence[x]", "Immunization.patient", "Immunization.primarySource", "Immunization.status", "Immunization.vaccineCode", "Immunization.vaccineCode.coding[sliceName='airVaccineCode']", "Immunization.vaccineCode.coding[sliceName='amtVaccineCode']"], "au-core-location": ["Location.address", "Location.managingOrganization", "Location.name", "Location.physicalType", "Location.type"], "au-core-medication": ["Medication.code", "Medication.code.coding[sliceName='amt']", "Medication.code.coding[sliceName='pbs']"], "au-core-medicationrequest": ["MedicationRequest.authoredOn", "MedicationRequest.dosageInstruction", "MedicationRequest.encounter", "MedicationRequest.intent", "MedicationRequest.medication[x]", "MedicationRequest.medication[x].coding[sliceName='amt']", "MedicationRequest.medication[x].coding[sliceName='pbs']", "MedicationRequest.reasonCode", "MedicationRequest.reasonReference", "MedicationRequest.requester", "MedicationRequest.status", "MedicationRequest.subject"], "au-core-medicationstatement": ["MedicationStatement.dateAsserted", "MedicationStatement.dosage", "MedicationStatement.effective[x]", "MedicationStatement.medication[x]", "MedicationStatement.medication[x].coding[sliceName='amt']", "MedicationStatement.medication[x].coding[sliceName='pbs']", "MedicationStatement.reasonCode", "MedicationStatement.reasonReference", "MedicationStatement.status", "MedicationStatement.subject"], "au-core-organization": ["Organization.address", "Organization.identifier", "Organization.identifier[sliceName='abn']", "Organization.identifier[sliceName='hpio']", "Organization.name", "Organization.telecom", "Organization.type"], "au-core-patient": ["Patient.address", "Patient.birthDate", "Patient.communication", "Patient.communication.language", "Patient.communication.preferred", "Patient.extension[sliceName='genderIdentity']", "Patient.extension[sliceName='indigenousStatus']", "Patient.extension[sliceName='individualPronouns']", "Patient.gender", "Patient.identifier", "Patient.identifier[sliceName='dva']", "Patient.identifier[sliceName='ihi']", "Patient.identifier[sliceName='medicare']", "Patient.name", "Patient.name.family", "Patient.name.given", "Patient.name.text", "Patient.name.use", "Patient.telecom"], "au-core-practitioner": ["Practitioner.identifier", "Practitioner.identifier[sliceName='hpii']", "Practitioner.name", "Practitioner.name.family", "Practitioner.name.given"], "au-core-practitionerrole": ["PractitionerRole.code", "PractitionerRole.identifier", "PractitionerRole.identifier[sliceName='medicareProvider']", "PractitionerRole.organization", "PractitionerRole.practitioner", "PractitionerRole.specialty", "PractitionerRole.telecom"], "au-core-procedure": ["Procedure.code", "Procedure.encounter", "Procedure.performed[x]", "Procedure.reasonCode", "Procedure.reasonReference", "Procedure.status", "Procedure.subject"], "au-core-relatedperson": ["RelatedPerson.address", "RelatedPerson.name", "RelatedPerson.name.family", "RelatedPerson.name.given", "RelatedPerson.name.text", "RelatedPerson.name.use", "RelatedPerson.patient", "RelatedPerson.relationship", "RelatedPerson.telecom"], "au-core-resprate": ["Observation.category", "Observation.category:VSCat.coding", "Observation.category:VSCat.coding.code", "Observation.category:VSCat.coding.system", "Observation.category[sliceName='VSCat']", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.status", "Observation.subject", "Observation.value[x]", "Observation.value[x]:valueQuantity.code", "Observation.value[x]:valueQuantity.system", "Observation.value[x]:valueQuantity.unit", "Observation.value[x]:valueQuantity.value", "Observation.value[x][sliceName='valueQuantity']"], "au-core-rsg-sexassignedab": ["Extension.extension[sliceName='type']", "Extension.extension[sliceName='value']"], "au-core-smokingstatus": ["Observation.category", "Observation.code", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.status", "Observation.subject", "Observation.value[x]"], "au-core-waistcircum": ["Observation.category", "Observation.category:VSCat.coding", "Observation.category:VSCat.coding.code", "Observation.category:VSCat.coding.system", "Observation.category[sliceName='VSCat']", "Observation.code", "Observation.component", "Observation.component.code", "Observation.component.dataAbsentReason", "Observation.component.value[x]", "Observation.dataAbsentReason", "Observation.effective[x]", "Observation.status", "Observation.subject", "Observation.value[x]", "Observation.value[x][sliceName='valueQuantity']"]}

examples:
{"au-core-allergyintolerance": ["package/example/AllergyIntolerance-lactose.json", "package/example/AllergyIntolerance-noneknown.json", "package/example/AllergyIntolerance-penicillin.json"], "au-core-bloodpressure": ["package/example/Observation-bloodpressure-1.json", "package/example/Observation-bloodpressure-data-absent.json"], "au-core-bodyheight": ["package/example/Observation-bodyheight-1.json"], "au-core-bodytemp": ["package/example/Observation-bodytemp-1.json"], "au-core-bodyweight": ["package/example/Observation-bodyweight-1.json"], "au-core-condition": ["package/example/Condition-ckd.json", "package/example/Condition-condition-masked.json", "package/example/Condition-noknown.json", "package/example/Condition-uti.json"], "au-core-diagnosticresult-path": ["package/example/Observation-lipid-hdl-1.json", "package/example/Observation-lipid-ldl-1.json", "package/example/Observation-lipid-total-chol-1.json", "package/example/Observation-lipid-triglyceride-1.json", "package/example/Observation-pathresult-covid-1.json"], "au-core-diagnosticresult": ["package/example/Observation-hearing-threshold-1.json", "package/example/Observation-observation-masked.json"], "au-core-encounter": ["package/example/Encounter-covid-admin-1.json", "package/example/Encounter-discharge-1.json", "package/example/Encounter-telehealth.json"], "au-core-heartrate": ["package/example/Observation-heartrate-1.json", "package/example/Observation-pulserate-1.json"], "au-core-immunization": ["package/example/Immunization-covid-1.json", "package/example/Immunization-zoster-notgiven.json"], "au-core-location": ["package/example/Location-bobrester-medical-center.json", "package/example/Location-murrabit-hospital.json", "package/example/Location-patient-home.json"], "au-core-medication": ["package/example/Medication-1active-ingredient.json", "package/example/Medication-2active-ingredients.json", "package/example/Medication-simvastatin.json"], "au-core-medicationrequest": ["package/example/MedicationRequest-paracetamol-codeine.json", "package/example/MedicationRequest-reaptan.json", "package/example/MedicationRequest-simvastatin.json"], "au-core-medicationstatement": ["package/example/MedicationStatement-active-bisoprolol.json", "package/example/MedicationStatement-completed-bactrim.json", "package/example/MedicationStatement-completed-chloramphenicol.json", "package/example/MedicationStatement-previous-use-diflucan.json"], "au-core-organization": ["package/example/Organization-bobrester-medical-center.json", "package/example/Organization-mitchells-hill-audiology.json", "package/example/Organization-murrabit-hospital.json"], "au-core-patient": ["package/example/Patient-banks-mia-leanne.json", "package/example/Patient-bennelong-anne.json", "package/example/Patient-howe-deangelo.json", "package/example/Patient-ronny-irvine.json", "package/example/Patient-wang-li.json"], "au-core-practitioner": ["package/example/Practitioner-bobrester-bob.json", "package/example/Practitioner-chau-fryer.json", "package/example/Practitioner-darleen-mackay.json", "package/example/Practitioner-sallie-sutherland.json"], "au-core-practitionerrole": ["package/example/PractitionerRole-bobrester-bob-gp.json", "package/example/PractitionerRole-cardiologist-sallie-sutherland.json", "package/example/PractitionerRole-nephrologist-darleen-mackay.json", "package/example/PractitionerRole-surgeon-chau-fryer.json"], "au-core-procedure": ["package/example/Procedure-dialysis.json", "package/example/Procedure-stentinsertion.json"], "au-core-relatedperson": ["package/example/RelatedPerson-banks-mia-leanne-father.json", "package/example/RelatedPerson-wang-li-friend.json"], "au-core-resprate": ["package/example/Observation-resprate-1.json"], "au-core-smokingstatus": ["package/example/Observation-smokingstatus-current-smoker.json"], "au-core-waistcircum": ["package/example/Observation-waistcircum-1.json"], "Specimen": ["package/example/Specimen-nasoswab.json"]}


# structure_cache

package_name: hl7.fhir.au.core-1.1.0
package_version: preview
resource_type: AllergyIntolerance
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-allergyintolerance", "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-allergyintolerance", "version": "1.1.0-preview", "name": "AUCoreAllergyIntolerance", "title": "AU Core AllergyIntolerance", "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 an AllergyIntolerance resource to record, search, and fetch allergies/adverse reactions associated with a patient. It is based on the [AU Base Allergy Intolerance](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-allergyintolerance.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the AllergyIntolerance resource 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": "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": "AllergyIntolerance", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-allergyintolerance", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "AllergyIntolerance", "path": "AllergyIntolerance", "short": "An allergy or intolerance statement in an Australian healthcare context", "definition": "Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.", "comment": "Substances include, but are not limited to: a therapeutic substance administered correctly at an appropriate dosage for the individual; food; material derived from plants or animals; or venom from insect stings.", "alias": ["Allergy", "Intolerance", "Adverse Reaction"], "min": 0, "max": "*", "base": {"path": "AllergyIntolerance", "min": 0, "max": "*"}, "constraint": [{"key": "ait-1", "severity": "error", "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", "expression": "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()", "xpath": "f:verificationStatus/f:coding/f:code/@value='entered-in-error' or exists(f:clinicalStatus)", "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"}, {"key": "ait-2", "severity": "error", "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", "expression": "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()", "xpath": "not(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(f:clinicalStatus))", "source": "http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"}, {"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": "rim", "map": "Observation[classCode=OBS, moodCode=EVN]"}]}, {"id": "AllergyIntolerance.id", "path": "AllergyIntolerance.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": "AllergyIntolerance.meta", "path": "AllergyIntolerance.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": "AllergyIntolerance.implicitRules", "path": "AllergyIntolerance.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": "AllergyIntolerance.language", "path": "AllergyIntolerance.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": "AllergyIntolerance.text", "path": "AllergyIntolerance.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": "AllergyIntolerance.contained", "path": "AllergyIntolerance.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": "AllergyIntolerance.extension", "path": "AllergyIntolerance.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": "AllergyIntolerance.modifierExtension", "path": "AllergyIntolerance.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": "AllergyIntolerance.identifier", "path": "AllergyIntolerance.identifier", "short": "External ids for this item", "definition": "Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.", "requirements": "Allows identification of the AllergyIntolerance as it is known by various participating systems and in a way that remains consistent across servers.", "min": 0, "max": "*", "base": {"path": "AllergyIntolerance.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": "v2", "map": "IAM-7"}, {"identity": "rim", "map": "id"}]}, {"id": "AllergyIntolerance.clinicalStatus", "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": "AllergyIntolerance.clinicalStatus", "short": "active | inactive | resolved", "definition": "The clinical status of the allergy or intolerance.", "comment": "Refer to [discussion](http://hl7.org/fhir/R4/extensibility.html#Special-Case) if clincalStatus is missing data.\nThe data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.clinicalStatus", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "condition": ["ait-1", "ait-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"}], "mustSupport": true, "isModifier": true, "isModifierReason": "This element is labeled as a modifier because the status contains the codes inactive and resolved that mark the AllergyIntolerance as no longer active.", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "AllergyIntoleranceClinicalStatus"}], "strength": "required", "description": "The clinical status of the allergy or intolerance.", "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.1"}, "mapping": [{"identity": "w5", "map": "FiveWs.status"}, {"identity": "rim", "map": "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value"}]}, {"id": "AllergyIntolerance.verificationStatus", "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": "AllergyIntolerance.verificationStatus", "short": "unconfirmed | confirmed | refuted | entered-in-error", "definition": "Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product).", "comment": "The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.verificationStatus", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "condition": ["ait-1", "ait-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"}], "mustSupport": true, "isModifier": true, "isModifierReason": "This element is labeled as a modifier because the status contains the codes refuted and entered-in-error that mark the AllergyIntolerance as not currently valid.", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "AllergyIntoleranceVerificationStatus"}], "strength": "required", "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification|4.0.1"}, "mapping": [{"identity": "w5", "map": "FiveWs.status"}, {"identity": "rim", "map": "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value"}]}, {"id": "AllergyIntolerance.type", "path": "AllergyIntolerance.type", "short": "allergy | intolerance - Underlying mechanism (if known)", "definition": "Identification of the underlying physiological mechanism for the reaction risk.", "comment": "Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians might not be in a position to distinguish the mechanism of a particular reaction. Often the term \"allergy\" is used rather generically and may overlap with the use of \"intolerance\" - in practice the boundaries between these two concepts might not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource.", "alias": ["Category", "Class"], "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.type", "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": "AllergyIntoleranceType"}], "strength": "required", "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "v2", "map": "IAM-9"}, {"identity": "rim", "map": "code"}]}, {"id": "AllergyIntolerance.category", "path": "AllergyIntolerance.category", "short": "food | medication | environment | biologic", "definition": "Category of the identified substance.", "comment": "This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation.  When searching on category, consider the implications of AllergyIntolerance resources without a category.  For example, when searching on category = medication, medication allergies that don't have a category valued will not be returned.  Refer to [search](http://hl7.org/fhir/R4/search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.  Additionally, category should be used with caution because category can be subjective based on the sender.", "alias": ["Category", "Type", "Reaction Type", "Class"], "min": 0, "max": "*", "base": {"path": "AllergyIntolerance.category", "min": 0, "max": "*"}, "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": "AllergyIntoleranceCategory"}], "strength": "required", "description": "Category of an identified substance associated with allergies or intolerances.", "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "v2", "map": "AL1-2"}, {"identity": "rim", "map": "value < IntoleranceValue (Agent)"}]}, {"id": "AllergyIntolerance.criticality", "path": "AllergyIntolerance.criticality", "short": "low | high | unable-to-assess", "definition": "Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance.", "comment": "The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. If this element is missing, the criticality is unknown (though it may be known elsewhere).  Systems that capture a severity at the condition level are actually representing the concept of criticality whereas the severity documented at the reaction level is representing the true reaction severity.  Existing systems that are capturing both condition criticality and reaction severity may use the term \"severity\" to represent both.  Criticality is the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation-dependent.", "alias": ["Severity", "Seriousness", "Contra-indication", "Risk"], "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.criticality", "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": "AllergyIntoleranceCriticality"}], "strength": "required", "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", "valueSet": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1"}, "mapping": [{"identity": "w5", "map": "FiveWs.grade"}, {"identity": "v2", "map": "AL1-4"}, {"identity": "rim", "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"}]}, {"id": "AllergyIntolerance.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": "AllergyIntolerance.code", "short": "Code that identifies the allergy or intolerance", "definition": "Code for an allergy or intolerance statement (either a positive or a negated/excluded statement).  This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., \"Latex\"), an allergy or intolerance condition (e.g., \"Latex allergy\"), or a negated/excluded code for a specific substance or class (e.g., \"No latex allergy\") or a general or categorical negated statement (e.g.,  \"No known allergy\", \"No known drug allergies\").  Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'.  If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.", "comment": "It is strongly recommended that this element be populated using a terminology, where possible. For example, some terminologies used include RxNorm, SNOMED CT, DM+D, NDFRT, ICD-9, IDC-10, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.\r\rWhen a substance or product code is specified for the 'code' element, the \"default\" semantic context is that this is a positive statement of an allergy or intolerance (depending on the value of the 'type' element, if present) condition to the specified substance/product.  In the corresponding SNOMED CT allergy model, the specified substance/product is the target (destination) of the \"Causative agent\" relationship.\r\rThe 'substanceExposureRisk' extension is available as a structured and more flexible alternative to the 'code' element for making positive or negative allergy or intolerance statements.  This extension provides the capability to make \"no known allergy\" (or \"no risk of adverse reaction\") statements regarding any coded substance/product (including cases when a pre-coordinated \"no allergy to x\" concept for that substance/product does not exist).  If the 'substanceExposureRisk' extension is present, the AllergyIntolerance.code element SHALL be omitted.", "alias": ["Code"], "min": 1, "max": "1", "base": {"path": "AllergyIntolerance.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": "candidate"}, {"url": "valueSet", "valueCanonical": "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-substances-and-negated-findings-1"}, {"url": "documentation", "valueMarkdown": "The Adverse Reaction Substances and Negated Findings value set comprises terms used to identify a predisposition to adverse reactions to substances, as well as negated findings."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}], "strength": "extensible", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/indicator-hypersensitivity-intolerance-to-substance-2"}, "mapping": [{"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "v2", "map": "AL1-3 / IAM-3"}, {"identity": "rim", "map": "substance/product:\r\r.participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rnegated/excluded substance/product:\r\r.participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rpositive or negated/excluded condition/situation:\r\rObservation.code=ASSERTION; Observation.value"}]}, {"id": "AllergyIntolerance.patient", "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": "AllergyIntolerance.patient", "short": "Who the sensitivity is for", "definition": "The patient who has the allergy or intolerance.", "alias": ["Patient"], "min": 1, "max": "1", "base": {"path": "AllergyIntolerance.patient", "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": "w5", "map": "FiveWs.subject[x]"}, {"identity": "v2", "map": "(PID-3)"}, {"identity": "rim", "map": ".participation[typeCode=SBJ].role[classCode=PAT]"}, {"identity": "w5", "map": "FiveWs.subject"}]}, {"id": "AllergyIntolerance.encounter", "path": "AllergyIntolerance.encounter", "short": "Encounter when the allergy or intolerance was asserted", "definition": "The encounter when the allergy or intolerance was asserted.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.encounter", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/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"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "w5", "map": "FiveWs.context"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]}, {"id": "AllergyIntolerance.onset[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": "AllergyIntolerance.onset[x]", "short": "When allergy or intolerance was identified", "definition": "Estimated or actual date,  date-time, or age when allergy or intolerance was identified.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.onset[x]", "min": 0, "max": "1"}, "type": [{"code": "dateTime"}, {"code": "Age"}, {"code": "Period"}, {"code": "Range"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": "w5", "map": "FiveWs.init"}, {"identity": "rim", "map": "effectiveTime.low"}]}, {"id": "AllergyIntolerance.recordedDate", "path": "AllergyIntolerance.recordedDate", "short": "Date first version of the resource instance was recorded", "definition": "The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.recordedDate", "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": "w5", "map": "FiveWs.recorded"}, {"identity": "v2", "map": "IAM-13"}, {"identity": "rim", "map": ".participation[typeCode=AUT].time"}]}, {"id": "AllergyIntolerance.recorder", "path": "AllergyIntolerance.recorder", "short": "Who recorded the sensitivity", "definition": "Individual who recorded the record and takes responsibility for its content.", "alias": ["Author"], "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.recorder", "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/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": false, "mapping": [{"identity": "w5", "map": "FiveWs.author"}, {"identity": "rim", "map": ".participation[typeCode=AUT].role"}]}, {"id": "AllergyIntolerance.asserter", "path": "AllergyIntolerance.asserter", "short": "Source of the information about the allergy", "definition": "The source of the information about the allergy that is recorded.", "comment": "The recorder takes responsibility for the content, but can reference the source from where they got it.", "alias": ["Source", "Informant"], "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.asserter", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "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": true, "mapping": [{"identity": "w5", "map": "FiveWs.source"}, {"identity": "v2", "map": "IAM-14 (if patient) / IAM-18 (if practitioner)"}, {"identity": "rim", "map": ".participation[typeCode=INF].role"}]}, {"id": "AllergyIntolerance.lastOccurrence", "path": "AllergyIntolerance.lastOccurrence", "short": "Date(/time) of last known occurrence of a reaction", "definition": "Represents the date and/or time of the last known occurrence of a reaction event.", "comment": "This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.lastOccurrence", "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": "rim", "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime"}]}, {"id": "AllergyIntolerance.note", "path": "AllergyIntolerance.note", "short": "Additional text not captured in other fields", "definition": "Additional narrative about the propensity for the Adverse Reaction, not captured in other fields.", "comment": "For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.event.description and  AllergyIntolerance.event.notes.", "min": 0, "max": "*", "base": {"path": "AllergyIntolerance.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": "rim", "map": "subjectOf.observationEvent[code=\"annotation\"].value"}]}, {"id": "AllergyIntolerance.reaction", "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": "AllergyIntolerance.reaction", "short": "Adverse Reaction Events linked to exposure to substance", "definition": "Details about each adverse reaction event linked to exposure to the identified substance.", "min": 0, "max": "*", "base": {"path": "AllergyIntolerance.reaction", "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": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]"}]}, {"id": "AllergyIntolerance.reaction.id", "path": "AllergyIntolerance.reaction.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": "AllergyIntolerance.reaction.extension", "path": "AllergyIntolerance.reaction.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": "AllergyIntolerance.reaction.modifierExtension", "path": "AllergyIntolerance.reaction.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": "AllergyIntolerance.reaction.substance", "path": "AllergyIntolerance.reaction.substance", "short": "Specific substance or pharmaceutical product considered to be responsible for event", "definition": "Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'.  If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.", "comment": "Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible.  The 'code' element allows for the use of a specific substance or pharmaceutical product, or a group or class of substances. In the case of an allergy or intolerance to a class of substances, (for example, \"penicillins\"), the 'reaction.substance' element could be used to code the specific substance that was identified as having caused the reaction (for example, \"amoxycillin\"). Duplication of the value in the 'code' and 'reaction.substance' elements is acceptable when a specific substance has been recorded in 'code'.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.reaction.substance", "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/adverse-reaction-agent-1"}, "mapping": [{"identity": "rim", "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]"}]}, {"id": "AllergyIntolerance.reaction.manifestation", "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": "AllergyIntolerance.reaction.manifestation", "short": "Clinical symptoms/signs associated with the Event", "definition": "Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.", "comment": "Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines.  Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10.", "alias": ["Symptoms", "Signs"], "min": 1, "max": "*", "base": {"path": "AllergyIntolerance.reaction.manifestation", "min": 1, "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/clinical-finding-1"}, "mapping": [{"identity": "v2", "map": "AL1-5"}, {"identity": "rim", "map": "code"}]}, {"id": "AllergyIntolerance.reaction.description", "path": "AllergyIntolerance.reaction.description", "short": "Description of the event as a whole", "definition": "Text description about the reaction as a whole, including details of the manifestation if required.", "comment": "Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives.", "alias": ["Narrative", "Text"], "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.reaction.description", "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": "rim", "map": "text"}]}, {"id": "AllergyIntolerance.reaction.onset", "path": "AllergyIntolerance.reaction.onset", "short": "Date(/time) when manifestations showed", "definition": "Record of the date and/or time of the onset of the Reaction.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.reaction.onset", "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": "v2", "map": "AL1-6"}, {"identity": "rim", "map": "effectiveTime.low"}]}, {"id": "AllergyIntolerance.reaction.severity", "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": "AllergyIntolerance.reaction.severity", "short": "mild | moderate | severe (of event as a whole)", "definition": "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.", "comment": "It is acknowledged that this assessment is very subjective. There may be some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.reaction.severity", "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": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "AllergyIntoleranceSeverity"}], "strength": "required", "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", "valueSet": "http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1"}, "mapping": [{"identity": "rim", "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"}]}, {"id": "AllergyIntolerance.reaction.exposureRoute", "path": "AllergyIntolerance.reaction.exposureRoute", "short": "How the subject was exposed to the substance", "definition": "Identification of the route by which the subject was exposed to the substance.", "comment": "Coding of the route of exposure with a terminology should be used wherever possible.", "min": 0, "max": "1", "base": {"path": "AllergyIntolerance.reaction.exposureRoute", "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/route-of-administration-1"}, "mapping": [{"identity": "rim", "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode"}]}, {"id": "AllergyIntolerance.reaction.note", "path": "AllergyIntolerance.reaction.note", "short": "Text about event not captured in other fields", "definition": "Additional text about the adverse reaction event not captured in other fields.", "comment": "Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased.", "min": 0, "max": "*", "base": {"path": "AllergyIntolerance.reaction.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": "rim", "map": "subjectOf.observationEvent[code=\"annotation\"].value"}]}]}, "differential": {"element": [{"id": "AllergyIntolerance", "path": "AllergyIntolerance"}, {"id": "AllergyIntolerance.clinicalStatus", "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": "AllergyIntolerance.clinicalStatus", "mustSupport": true}, {"id": "AllergyIntolerance.verificationStatus", "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": "AllergyIntolerance.verificationStatus", "mustSupport": true}, {"id": "AllergyIntolerance.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": "AllergyIntolerance.code", "min": 1, "mustSupport": true, "binding": {"extension": [{"extension": [{"url": "purpose", "valueCode": "candidate"}, {"url": "valueSet", "valueCanonical": "https://healthterminologies.gov.au/fhir/ValueSet/adverse-reaction-substances-and-negated-findings-1"}, {"url": "documentation", "valueMarkdown": "The Adverse Reaction Substances and Negated Findings value set comprises terms used to identify a predisposition to adverse reactions to substances, as well as negated findings."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}], "strength": "extensible", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/indicator-hypersensitivity-intolerance-to-substance-2"}}, {"id": "AllergyIntolerance.patient", "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": "AllergyIntolerance.patient", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"]}], "mustSupport": true}, {"id": "AllergyIntolerance.onset[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": "AllergyIntolerance.onset[x]", "type": [{"code": "dateTime"}, {"code": "Age"}, {"code": "Period"}, {"code": "Range"}], "mustSupport": true}, {"id": "AllergyIntolerance.reaction", "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": "AllergyIntolerance.reaction", "mustSupport": true}, {"id": "AllergyIntolerance.reaction.manifestation", "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": "AllergyIntolerance.reaction.manifestation", "mustSupport": true}, {"id": "AllergyIntolerance.reaction.severity", "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": "AllergyIntolerance.reaction.severity", "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: Condition
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-condition", "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-condition", "version": "1.1.0-preview", "name": "AUCoreCondition", "title": "AU Core Condition", "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 Condition resource to record, search, and fetch problems, diagnoses, and health concerns associated with a patient. It is based on the [AU Base Condition](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-condition.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Condition resource 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": "sct-concept", "uri": "http://snomed.info/conceptdomain", "name": "SNOMED CT Concept Domain Binding"}, {"identity": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping"}, {"identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping"}, {"identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping"}, {"identity": "sct-attr", "uri": "http://snomed.org/attributebinding", "name": "SNOMED CT Attribute Binding"}], "kind": "resource", "abstract": false, "type": "Condition", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-condition", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "Condition", "path": "Condition", "short": "A condition, problem or diagnosis statement in an Australian healthcare context", "definition": "A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.", "min": 0, "max": "*", "base": {"path": "Condition", "min": 0, "max": "*"}, "constraint": [{"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", "valueBoolean": true}, {"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", "valueMarkdown": "Most systems will expect a clinicalStatus to be valued for problem-list-items that are managed over time, but might not need a clinicalStatus for point in time encounter-diagnosis."}], "key": "con-3", "severity": "warning", "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error and category is problem-list-item", "expression": "clinicalStatus.exists() or verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code = 'entered-in-error').exists() or category.select($this='problem-list-item').empty()", "xpath": "exists(f:clinicalStatus) or exists(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(category[@value='problem-list-item']))", "source": "http://hl7.org/fhir/StructureDefinition/Condition"}, {"key": "con-4", "severity": "error", "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", "expression": "abatement.empty() or clinicalStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-clinical' and (code='resolved' or code='remission' or code='inactive')).exists()", "xpath": "not(exists(*[starts-with(local-name(.), 'abatement')])) or exists(f:clinicalStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-clinical' and f:code/@value=('resolved', 'remission', 'inactive')])", "source": "http://hl7.org/fhir/StructureDefinition/Condition"}, {"key": "con-5", "severity": "error", "human": "Condition.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", "expression": "verificationStatus.coding.where(system='http://terminology.hl7.org/CodeSystem/condition-ver-status' and code='entered-in-error').empty() or clinicalStatus.empty()", "xpath": "not(exists(f:verificationStatus/f:coding[f:system/@value='http://terminology.hl7.org/CodeSystem/condition-ver-status' and f:code/@value='entered-in-error'])) or not(exists(f:clinicalStatus))", "source": "http://hl7.org/fhir/StructureDefinition/Condition"}, {"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": "sct-concept", "map": "< 243796009 |Situation with explicit context| : 246090004 |Associated finding| = ( ( < 404684003 |Clinical finding| MINUS ( << 420134006 |Propensity to adverse reactions| OR << 473010000 |Hypersensitivity condition| OR << 79899007 |Drug interaction| OR << 69449002 |Drug action| OR << 441742003 |Evaluation finding| OR << 307824009 |Administrative status| OR << 385356007 |Tumor stage finding|)) OR < 272379006 |Event|)"}, {"identity": "v2", "map": "PPR message"}, {"identity": "rim", "map": "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]"}]}, {"id": "Condition.id", "path": "Condition.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": "Condition.meta", "path": "Condition.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": "Condition.implicitRules", "path": "Condition.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": "Condition.language", "path": "Condition.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": "Condition.text", "path": "Condition.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": "Condition.contained", "path": "Condition.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": "Condition.extension", "path": "Condition.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": "Condition.modifierExtension", "path": "Condition.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": "Condition.identifier", "path": "Condition.identifier", "short": "External Ids for this condition", "definition": "Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", "comment": "This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.", "requirements": "Allows identification of the condition as it is known by various participating systems and in a way that remains consistent across servers.", "min": 0, "max": "*", "base": {"path": "Condition.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": "Condition.clinicalStatus", "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": "Condition.clinicalStatus", "short": "active | recurrence | relapse | inactive | remission | resolved", "definition": "The clinical status of the condition.", "comment": "The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", "min": 0, "max": "1", "base": {"path": "Condition.clinicalStatus", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "condition": ["con-3", "con-4", "con-5"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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 the status contains codes that mark the condition as no longer active.", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ConditionClinicalStatus"}], "strength": "required", "description": "The clinical status of the condition or diagnosis.", "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1"}, "mapping": [{"identity": "workflow", "map": "Event.status"}, {"identity": "w5", "map": "FiveWs.status"}, {"identity": "sct-concept", "map": "< 303105007 |Disease phases|"}, {"identity": "v2", "map": "PRB-14"}, {"identity": "rim", "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value"}]}, {"id": "Condition.verificationStatus", "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": "Condition.verificationStatus", "short": "unconfirmed | provisional | differential | confirmed | refuted | entered-in-error", "definition": "The verification status to support the clinical status of the condition.", "comment": "verificationStatus is not required.  For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\nThe data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.", "min": 0, "max": "1", "base": {"path": "Condition.verificationStatus", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "condition": ["con-3", "con-5"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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 the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ConditionVerificationStatus"}], "strength": "required", "description": "The verification status to support or decline the clinical status of the condition or diagnosis.", "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1"}, "mapping": [{"identity": "workflow", "map": "Event.status"}, {"identity": "w5", "map": "FiveWs.status"}, {"identity": "sct-concept", "map": "< 410514004 |Finding context value|"}, {"identity": "v2", "map": "PRB-13"}, {"identity": "rim", "map": "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value"}, {"identity": "sct-attr", "map": "408729009"}]}, {"id": "Condition.category", "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": "Condition.category", "short": "problem-list-item | encounter-diagnosis", "definition": "A category assigned to the condition.", "comment": "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.", "min": 1, "max": "*", "base": {"path": "Condition.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"}], "mustSupport": true, "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ConditionCategory"}], "strength": "extensible", "description": "A category assigned to the condition.", "valueSet": "http://hl7.org/fhir/ValueSet/condition-category"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "sct-concept", "map": "< 404684003 |Clinical finding|"}, {"identity": "v2", "map": "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message"}, {"identity": "rim", "map": ".code"}]}, {"id": "Condition.severity", "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": "Condition.severity", "short": "Subjective severity of condition", "definition": "A subjective assessment of the severity of the condition as evaluated by the clinician.", "comment": "Coding of the severity with a terminology is preferred, where possible.", "min": 0, "max": "1", "base": {"path": "Condition.severity", "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": false, "binding": {"strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/condition-severity"}, "mapping": [{"identity": "w5", "map": "FiveWs.grade"}, {"identity": "sct-concept", "map": "< 272141005 |Severities|"}, {"identity": "v2", "map": "PRB-26 / ABS-3"}, {"identity": "rim", "map": "Can be pre/post-coordinated into value.  Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value"}, {"identity": "sct-attr", "map": "246112005"}]}, {"id": "Condition.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": "Condition.code", "short": "Identification of the condition, problem or diagnosis", "definition": "Identification of the condition, problem or diagnosis.", "requirements": "0..1 to account for primarily narrative only resources.", "alias": ["type"], "min": 1, "max": "1", "base": {"path": "Condition.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": {"strength": "extensible", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1"}, "mapping": [{"identity": "workflow", "map": "Event.code"}, {"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "sct-concept", "map": "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|"}, {"identity": "v2", "map": "PRB-3"}, {"identity": "rim", "map": ".value"}, {"identity": "sct-attr", "map": "246090004"}]}, {"id": "Condition.bodySite", "path": "Condition.bodySite", "short": "Anatomical location, if relevant", "definition": "The anatomical location where this condition manifests itself.", "comment": "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).  May be a summary code, or a reference to a very precise definition of the location, or both.", "min": 0, "max": "*", "base": {"path": "Condition.bodySite", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "condition": ["au-core-cond-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-cond-01", "severity": "error", "human": "If a coded body site is provided, at least one coding shall be from SNOMED CT", "expression": "coding.exists() implies coding.where(system='http://snomed.info/sct').exists()", "xpath": "not(exists(f:coding/f:system)) or exists(f:coding/f:system[@value='http://snomed.info/sct'])", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition"}], "isModifier": false, "isSummary": true, "binding": {"strength": "extensible", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/body-site-1"}, "mapping": [{"identity": "sct-concept", "map": "< 442083009  |Anatomical or acquired body structure|"}, {"identity": "rim", "map": ".targetBodySiteCode"}, {"identity": "sct-attr", "map": "363698007"}]}, {"id": "Condition.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": "Condition.subject", "short": "Who has the condition?", "definition": "Indicates the patient or group who the condition record is associated with.", "requirements": "Group is typically used for veterinary or public health use cases.", "alias": ["patient"], "min": 1, "max": "1", "base": {"path": "Condition.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"}, {"identity": "rim", "map": ".participation[typeCode=SBJ].role[classCode=PAT]"}, {"identity": "w5", "map": "FiveWs.subject"}]}, {"id": "Condition.encounter", "path": "Condition.encounter", "short": "Encounter created as part of", "definition": "The Encounter during which this Condition 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. This record indicates the encounter this particular record is associated with.  In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\".", "min": 0, "max": "1", "base": {"path": "Condition.encounter", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/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"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.context"}, {"identity": "w5", "map": "FiveWs.context"}, {"identity": "v2", "map": "PV1-19 (+PV1-54)"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"}]}, {"id": "Condition.onset[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": "Condition.onset[x]", "short": "Estimated or actual date,  date-time, or age", "definition": "Estimated or actual date or date-time  the condition began, in the opinion of the clinician.", "comment": "Age is generally used when the patient reports an age at which the Condition began to occur.", "min": 0, "max": "1", "base": {"path": "Condition.onset[x]", "min": 0, "max": "1"}, "type": [{"code": "dateTime"}, {"code": "Age"}, {"code": "Period"}, {"code": "Range"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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.init"}, {"identity": "v2", "map": "PRB-16"}, {"identity": "rim", "map": ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value"}]}, {"id": "Condition.abatement[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": "Condition.abatement[x]", "short": "When in resolution/remission", "definition": "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate.", "comment": "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.  If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.  When abatementString exists, it implies the condition is abated.", "min": 0, "max": "1", "base": {"path": "Condition.abatement[x]", "min": 0, "max": "1"}, "type": [{"code": "dateTime"}, {"code": "Age"}, {"code": "Period"}, {"code": "Range"}], "condition": ["con-4"], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": "w5", "map": "FiveWs.done[x]"}, {"identity": "rim", "map": ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed"}]}, {"id": "Condition.recordedDate", "path": "Condition.recordedDate", "short": "Date record was first recorded", "definition": "The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.", "min": 0, "max": "1", "base": {"path": "Condition.recordedDate", "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": true, "mapping": [{"identity": "w5", "map": "FiveWs.recorded"}, {"identity": "v2", "map": "REL-11"}, {"identity": "rim", "map": ".participation[typeCode=AUT].time"}]}, {"id": "Condition.recorder", "path": "Condition.recorder", "short": "Who recorded the condition", "definition": "Individual who recorded the record and takes responsibility for its content.", "min": 0, "max": "1", "base": {"path": "Condition.recorder", "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/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": "w5", "map": "FiveWs.author"}, {"identity": "rim", "map": ".participation[typeCode=AUT].role"}]}, {"id": "Condition.asserter", "path": "Condition.asserter", "short": "Person who asserts this condition", "definition": "Individual who is making the condition statement.", "min": 0, "max": "1", "base": {"path": "Condition.asserter", "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/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": "w5", "map": "FiveWs.source"}, {"identity": "v2", "map": "REL-7.1 identifier + REL-7.12 type code"}, {"identity": "rim", "map": ".participation[typeCode=INF].role"}]}, {"id": "Condition.stage", "path": "Condition.stage", "short": "Stage/grade, usually assessed formally", "definition": "Clinical stage or grade of a condition. May include formal severity assessments.", "min": 0, "max": "*", "base": {"path": "Condition.stage", "min": 0, "max": "*"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "con-1", "severity": "error", "human": "Stage SHALL have summary or assessment", "expression": "summary.exists() or assessment.exists()", "xpath": "exists(f:summary) or exists(f:assessment)", "source": "http://hl7.org/fhir/StructureDefinition/Condition"}, {"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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=OBS, moodCode=EVN, code=\"stage/grade\"]"}]}, {"id": "Condition.stage.id", "path": "Condition.stage.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": "Condition.stage.extension", "path": "Condition.stage.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": "Condition.stage.modifierExtension", "path": "Condition.stage.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": "Condition.stage.summary", "path": "Condition.stage.summary", "short": "Simple summary (disease specific)", "definition": "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific.", "min": 0, "max": "1", "base": {"path": "Condition.stage.summary", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "condition": ["con-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, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ConditionStage"}], "strength": "example", "description": "Codes describing condition stages (e.g. Cancer stages).", "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage"}, "mapping": [{"identity": "sct-concept", "map": "< 254291000 |Staging and scales|"}, {"identity": "v2", "map": "PRB-14"}, {"identity": "rim", "map": ".value"}]}, {"id": "Condition.stage.assessment", "path": "Condition.stage.assessment", "short": "Formal record of assessment", "definition": "Reference to a formal record of the evidence on which the staging assessment is based.", "min": 0, "max": "*", "base": {"path": "Condition.stage.assessment", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/ClinicalImpression", "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", "http://hl7.org/fhir/StructureDefinition/Observation"]}], "condition": ["con-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": "rim", "map": ".self"}]}, {"id": "Condition.stage.type", "path": "Condition.stage.type", "short": "Kind of staging", "definition": "The kind of staging, such as pathological or clinical staging.", "min": 0, "max": "1", "base": {"path": "Condition.stage.type", "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": "ConditionStageType"}], "strength": "example", "description": "Codes describing the kind of condition staging (e.g. clinical or pathological).", "valueSet": "http://hl7.org/fhir/ValueSet/condition-stage-type"}, "mapping": [{"identity": "rim", "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage type\"]"}]}, {"id": "Condition.evidence", "path": "Condition.evidence", "short": "Supporting evidence", "definition": "Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.", "comment": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", "min": 0, "max": "*", "base": {"path": "Condition.evidence", "min": 0, "max": "*"}, "type": [{"code": "BackboneElement"}], "constraint": [{"key": "con-2", "severity": "error", "human": "evidence SHALL have code or details", "expression": "code.exists() or detail.exists()", "xpath": "exists(f:code) or exists(f:detail)", "source": "http://hl7.org/fhir/StructureDefinition/Condition"}, {"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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=OBS, moodCode=EVN]"}]}, {"id": "Condition.evidence.id", "path": "Condition.evidence.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": "Condition.evidence.extension", "path": "Condition.evidence.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": "Condition.evidence.modifierExtension", "path": "Condition.evidence.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": "Condition.evidence.code", "path": "Condition.evidence.code", "short": "Manifestation/symptom", "definition": "A manifestation or symptom that led to the recording of this condition.", "min": 0, "max": "*", "base": {"path": "Condition.evidence.code", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "condition": ["con-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"}], "isModifier": false, "isSummary": true, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-finding-1"}, "mapping": [{"identity": "workflow", "map": "Event.reasonCode"}, {"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "sct-concept", "map": "< 404684003 |Clinical finding|"}, {"identity": "rim", "map": "[code=\"diagnosis\"].value"}]}, {"id": "Condition.evidence.detail", "path": "Condition.evidence.detail", "short": "Supporting information found elsewhere", "definition": "Links to other relevant information, including pathology reports.", "min": 0, "max": "*", "base": {"path": "Condition.evidence.detail", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Resource"]}], "condition": ["con-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"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "rim", "map": ".self"}]}, {"id": "Condition.note", "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": "Condition.note", "short": "Additional information about the Condition", "definition": "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.", "min": 0, "max": "*", "base": {"path": "Condition.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"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Event.note"}, {"identity": "v2", "map": "NTE child of PRB"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value"}]}]}, "differential": {"element": [{"id": "Condition", "path": "Condition"}, {"id": "Condition.clinicalStatus", "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": "Condition.clinicalStatus", "mustSupport": true}, {"id": "Condition.verificationStatus", "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": "Condition.verificationStatus", "mustSupport": true}, {"id": "Condition.category", "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": "Condition.category", "min": 1, "mustSupport": true}, {"id": "Condition.severity", "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": "Condition.severity", "mustSupport": true, "binding": {"strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/condition-severity"}}, {"id": "Condition.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": "Condition.code", "min": 1, "mustSupport": true, "binding": {"strength": "extensible", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/clinical-condition-1"}}, {"id": "Condition.bodySite", "path": "Condition.bodySite", "condition": ["au-core-cond-01"], "constraint": [{"key": "au-core-cond-01", "severity": "error", "human": "If a coded body site is provided, at least one coding shall be from SNOMED CT", "expression": "coding.exists() implies coding.where(system='http://snomed.info/sct').exists()", "xpath": "not(exists(f:coding/f:system)) or exists(f:coding/f:system[@value='http://snomed.info/sct'])", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-condition"}], "binding": {"strength": "extensible", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/body-site-1"}}, {"id": "Condition.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": "Condition.subject", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"]}], "mustSupport": true}, {"id": "Condition.onset[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": "Condition.onset[x]", "type": [{"code": "dateTime"}, {"code": "Age"}, {"code": "Period"}, {"code": "Range"}], "mustSupport": true}, {"id": "Condition.abatement[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": "Condition.abatement[x]", "type": [{"code": "dateTime"}, {"code": "Age"}, {"code": "Period"}, {"code": "Range"}], "mustSupport": true}, {"id": "Condition.note", "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": "Condition.note", "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: Encounter
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-encounter", "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-encounter", "version": "1.1.0-preview", "name": "AUCoreEncounter", "title": "AU Core Encounter", "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 an Encounter resource to record, search, and fetch basic encounter information for a patient. It is based on the [AU Base Encounter](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-encounter.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Encounter 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": "Encounter", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-encounter", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "Encounter", "path": "Encounter", "short": "An encounter in an Australian healthcare context", "definition": "An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.", "alias": ["Visit"], "min": 0, "max": "*", "base": {"path": "Encounter", "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": "Encounter[@moodCode='EVN']"}]}, {"id": "Encounter.id", "path": "Encounter.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": "Encounter.meta", "path": "Encounter.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": "Encounter.implicitRules", "path": "Encounter.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": "Encounter.language", "path": "Encounter.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": "Encounter.text", "path": "Encounter.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": "Encounter.contained", "path": "Encounter.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": "Encounter.extension", "path": "Encounter.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": "Encounter.extension:associatedHealthcareService", "path": "Encounter.extension", "sliceName": "associatedHealthcareService", "short": "Associated healthcare service", "definition": "Healthcare service relating to a resource.", "min": 0, "max": "*", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/associated-healthcareservice"]}], "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": "Encounter.modifierExtension", "path": "Encounter.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": "Encounter.identifier", "path": "Encounter.identifier", "short": "Identifier(s) by which this encounter is known", "definition": "Identifier(s) by which this encounter is known.", "min": 0, "max": "*", "base": {"path": "Encounter.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": "v2", "map": "PV1-19"}, {"identity": "rim", "map": ".id"}]}, {"id": "Encounter.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": "Encounter.status", "short": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +", "definition": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.", "comment": "Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes).", "min": 1, "max": "1", "base": {"path": "Encounter.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": "EncounterStatus"}], "strength": "required", "description": "Current state of the encounter.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-status|4.0.1"}, "mapping": [{"identity": "workflow", "map": "Event.status"}, {"identity": "w5", "map": "FiveWs.status"}, {"identity": "v2", "map": "No clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16"}, {"identity": "rim", "map": ".statusCode"}]}, {"id": "Encounter.statusHistory", "path": "Encounter.statusHistory", "short": "List of past encounter statuses", "definition": "The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them.", "comment": "The current status is always found in the current version of the resource, not the status history.", "min": 0, "max": "*", "base": {"path": "Encounter.statusHistory", "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": "n/a"}]}, {"id": "Encounter.statusHistory.id", "path": "Encounter.statusHistory.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": "Encounter.statusHistory.extension", "path": "Encounter.statusHistory.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": "Encounter.statusHistory.modifierExtension", "path": "Encounter.statusHistory.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": "Encounter.statusHistory.status", "path": "Encounter.statusHistory.status", "short": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +", "definition": "planned | arrived | triaged | in-progress | onleave | finished | cancelled +.", "min": 1, "max": "1", "base": {"path": "Encounter.statusHistory.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"}], "isModifier": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EncounterStatus"}], "strength": "required", "description": "Current state of the encounter.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-status|4.0.1"}, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Encounter.statusHistory.period", "path": "Encounter.statusHistory.period", "short": "The time that the episode was in the specified status", "definition": "The time that the episode was in the specified status.", "min": 1, "max": "1", "base": {"path": "Encounter.statusHistory.period", "min": 1, "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": "n/a"}]}, {"id": "Encounter.class", "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": "Encounter.class", "short": "Classification of patient encounter", "definition": "Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.", "min": 1, "max": "1", "base": {"path": "Encounter.class", "min": 1, "max": "1"}, "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": "extensible", "valueSet": "http://terminology.hl7.org.au/ValueSet/v3-ActEncounterCode-extended"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "v2", "map": "PV1-2"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code"}]}, {"id": "Encounter.classHistory", "path": "Encounter.classHistory", "short": "List of past encounter classes", "definition": "The class history permits the tracking of the encounters transitions without needing to go  through the resource history.  This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.", "min": 0, "max": "*", "base": {"path": "Encounter.classHistory", "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": "n/a"}]}, {"id": "Encounter.classHistory.id", "path": "Encounter.classHistory.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": "Encounter.classHistory.extension", "path": "Encounter.classHistory.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": "Encounter.classHistory.modifierExtension", "path": "Encounter.classHistory.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": "Encounter.classHistory.class", "path": "Encounter.classHistory.class", "short": "inpatient | outpatient | ambulatory | emergency +", "definition": "inpatient | outpatient | ambulatory | emergency +.", "min": 1, "max": "1", "base": {"path": "Encounter.classHistory.class", "min": 1, "max": "1"}, "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": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EncounterClass"}], "strength": "extensible", "description": "Classification of the encounter.", "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"}, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Encounter.classHistory.period", "path": "Encounter.classHistory.period", "short": "The time that the episode was in the specified class", "definition": "The time that the episode was in the specified class.", "min": 1, "max": "1", "base": {"path": "Encounter.classHistory.period", "min": 1, "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": "n/a"}]}, {"id": "Encounter.type", "path": "Encounter.type", "short": "Specific type of encounter", "definition": "Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation).", "comment": "Since there are many ways to further classify encounters, this element is 0..*.", "min": 0, "max": "*", "base": {"path": "Encounter.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"}], "isModifier": false, "isSummary": true, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/encounter-type-1"}, "mapping": [{"identity": "workflow", "map": "Event.code"}, {"identity": "w5", "map": "FiveWs.class"}, {"identity": "v2", "map": "PV1-4 / PV1-18"}, {"identity": "rim", "map": ".code"}]}, {"id": "Encounter.serviceType", "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": "Encounter.serviceType", "short": "Specific type of service", "definition": "Broad categorization of the service that is to be provided (e.g. cardiology).", "min": 0, "max": "1", "base": {"path": "Encounter.serviceType", "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": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/service-type-1"}, "mapping": [{"identity": "workflow", "map": "Event.code"}, {"identity": "v2", "map": "PV1-10"}, {"identity": "rim", "map": "n/a"}]}, {"id": "Encounter.priority", "path": "Encounter.priority", "short": "Indicates the urgency of the encounter", "definition": "Indicates the urgency of the encounter.", "min": 0, "max": "1", "base": {"path": "Encounter.priority", "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": "Priority"}], "strength": "example", "description": "Indicates the urgency of the encounter.", "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActPriority"}, "mapping": [{"identity": "w5", "map": "FiveWs.grade"}, {"identity": "v2", "map": "PV2-25"}, {"identity": "rim", "map": ".priorityCode"}]}, {"id": "Encounter.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": "Encounter.subject", "short": "The patient or group present at the encounter", "definition": "The patient or group present at the encounter.", "comment": "While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked).", "alias": ["patient"], "min": 1, "max": "1", "base": {"path": "Encounter.subject", "min": 0, "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"}, {"identity": "rim", "map": ".participation[typeCode=SBJ]/role[classCode=PAT]"}, {"identity": "w5", "map": "FiveWs.subject"}]}, {"id": "Encounter.episodeOfCare", "path": "Encounter.episodeOfCare", "short": "Episode(s) of care that this encounter should be recorded against", "definition": "Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem.  The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).", "min": 0, "max": "*", "base": {"path": "Encounter.episodeOfCare", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["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": "w5", "map": "FiveWs.context"}, {"identity": "v2", "map": "PV1-54, PV1-53"}, {"identity": "rim", "map": "n/a"}]}, {"id": "Encounter.basedOn", "path": "Encounter.basedOn", "short": "The ServiceRequest that initiated this encounter", "definition": "The request this encounter satisfies (e.g. incoming referral or procedure request).", "alias": ["incomingReferral"], "min": 0, "max": "*", "base": {"path": "Encounter.basedOn", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["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": false, "mapping": [{"identity": "workflow", "map": "Event.basedOn"}, {"identity": "rim", "map": ".reason.ClinicalDocument"}]}, {"id": "Encounter.participant", "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": "Encounter.participant", "short": "List of participants involved in the encounter", "definition": "The list of people responsible for providing the service.", "min": 0, "max": "*", "base": {"path": "Encounter.participant", "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": true, "mapping": [{"identity": "workflow", "map": "Event.performer"}, {"identity": "v2", "map": "ROL"}, {"identity": "rim", "map": ".participation[typeCode=PFM]"}]}, {"id": "Encounter.participant.id", "path": "Encounter.participant.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": "Encounter.participant.extension", "path": "Encounter.participant.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": "Encounter.participant.modifierExtension", "path": "Encounter.participant.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": "Encounter.participant.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": "Encounter.participant.type", "short": "Role of participant in encounter", "definition": "Role of participant in encounter.", "comment": "The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.", "min": 0, "max": "*", "base": {"path": "Encounter.participant.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": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ParticipantType"}], "strength": "extensible", "description": "Role of participant in encounter.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-participant-type"}, "mapping": [{"identity": "workflow", "map": "Event.performer.function"}, {"identity": "v2", "map": "ROL-3 (or maybe PRT-4)"}, {"identity": "rim", "map": ".functionCode"}]}, {"id": "Encounter.participant.period", "path": "Encounter.participant.period", "short": "Period of time during the encounter that the participant participated", "definition": "The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period.", "min": 0, "max": "1", "base": {"path": "Encounter.participant.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": "v2", "map": "ROL-5, ROL-6 (or maybe PRT-5)"}, {"identity": "rim", "map": ".time"}]}, {"id": "Encounter.participant.individual", "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": "Encounter.participant.individual", "short": "Persons involved in the encounter other than the patient", "definition": "Persons involved in the encounter other than the patient.", "min": 0, "max": "1", "base": {"path": "Encounter.participant.individual", "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-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": "Event.performer.actor"}, {"identity": "w5", "map": "FiveWs.who"}, {"identity": "v2", "map": "ROL-4"}, {"identity": "rim", "map": ".role"}]}, {"id": "Encounter.appointment", "path": "Encounter.appointment", "short": "The appointment that scheduled this encounter", "definition": "The appointment that scheduled this encounter.", "min": 0, "max": "*", "base": {"path": "Encounter.appointment", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Appointment"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": "v2", "map": "SCH-1 / SCH-2"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]"}]}, {"id": "Encounter.period", "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": "Encounter.period", "short": "The start and end time of the encounter", "definition": "The start and end time of the encounter.", "comment": "If not (yet) known, the end of the Period may be omitted.", "min": 0, "max": "1", "base": {"path": "Encounter.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"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Event.occurrence[x]"}, {"identity": "w5", "map": "FiveWs.done[x]"}, {"identity": "v2", "map": "PV1-44, PV1-45"}, {"identity": "rim", "map": ".effectiveTime (low & high)"}]}, {"id": "Encounter.length", "path": "Encounter.length", "short": "Quantity of time the encounter lasted (less time absent)", "definition": "Quantity of time the encounter lasted. This excludes the time during leaves of absence.", "comment": "May differ from the time the Encounter.period lasted because of leave of absence.", "min": 0, "max": "1", "base": {"path": "Encounter.length", "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": "workflow", "map": "Event.occurrence[x]"}, {"identity": "v2", "map": "(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes"}, {"identity": "rim", "map": ".lengthOfStayQuantity"}]}, {"id": "Encounter.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": "Encounter.reasonCode", "short": "Coded reason the encounter takes place", "definition": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", "alias": ["Indication", "Admission diagnosis"], "min": 0, "max": "*", "base": {"path": "Encounter.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": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EncounterReason"}], "strength": "preferred", "description": "Reason why the encounter takes place.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-reason"}, "mapping": [{"identity": "workflow", "map": "Event.reasonCode"}, {"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "v2", "map": "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )"}, {"identity": "rim", "map": ".reasonCode"}]}, {"id": "Encounter.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": "Encounter.reasonReference", "short": "Reason the encounter takes place (reference)", "definition": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", "alias": ["Indication", "Admission diagnosis"], "min": 0, "max": "*", "base": {"path": "Encounter.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/core/StructureDefinition/au-core-procedure"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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.reasonCode"}, {"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "v2", "map": "EVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )"}, {"identity": "rim", "map": ".reasonCode"}]}, {"id": "Encounter.diagnosis", "path": "Encounter.diagnosis", "short": "The list of diagnosis relevant to this encounter", "definition": "The list of diagnosis relevant to this encounter.", "min": 0, "max": "*", "base": {"path": "Encounter.diagnosis", "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": true, "mapping": [{"identity": "rim", "map": ".outboundRelationship[typeCode=RSON]"}]}, {"id": "Encounter.diagnosis.id", "path": "Encounter.diagnosis.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": "Encounter.diagnosis.extension", "path": "Encounter.diagnosis.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": "Encounter.diagnosis.modifierExtension", "path": "Encounter.diagnosis.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": "Encounter.diagnosis.condition", "path": "Encounter.diagnosis.condition", "short": "The diagnosis or procedure relevant to the encounter", "definition": "Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.", "comment": "For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).", "alias": ["Admission diagnosis", "discharge diagnosis", "indication"], "min": 1, "max": "1", "base": {"path": "Encounter.diagnosis.condition", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Procedure"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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.reasonReference"}, {"identity": "w5", "map": "FiveWs.why[x]"}, {"identity": "v2", "map": "Resources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively."}, {"identity": "rim", "map": ".outboundRelationship[typeCode=RSON].target"}]}, {"id": "Encounter.diagnosis.use", "path": "Encounter.diagnosis.use", "short": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge \u2026)", "definition": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge \u2026).", "min": 0, "max": "1", "base": {"path": "Encounter.diagnosis.use", "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": "DiagnosisRole"}], "strength": "preferred", "description": "The type of diagnosis this condition represents.", "valueSet": "http://hl7.org/fhir/ValueSet/diagnosis-role"}, "mapping": [{"identity": "rim", "map": "n/a"}]}, {"id": "Encounter.diagnosis.rank", "path": "Encounter.diagnosis.rank", "short": "Ranking of the diagnosis (for each role type)", "definition": "Ranking of the diagnosis (for each role type).", "min": 0, "max": "1", "base": {"path": "Encounter.diagnosis.rank", "min": 0, "max": "1"}, "type": [{"code": "positiveInt"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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=RSON].priority"}]}, {"id": "Encounter.account", "path": "Encounter.account", "short": "The set of accounts that may be used for billing for this Encounter", "definition": "The set of accounts that may be used for billing for this Encounter.", "comment": "The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules.", "min": 0, "max": "*", "base": {"path": "Encounter.account", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Account"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": ".pertains.A_Account"}]}, {"id": "Encounter.hospitalization", "path": "Encounter.hospitalization", "short": "Details about the admission to a healthcare service", "definition": "Details about the admission to a healthcare service.", "comment": "An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included.\r\rThe duration recorded in the period of this encounter covers the entire scope of this hospitalization record.", "min": 0, "max": "1", "base": {"path": "Encounter.hospitalization", "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": ".outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]"}]}, {"id": "Encounter.hospitalization.id", "path": "Encounter.hospitalization.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": "Encounter.hospitalization.extension", "path": "Encounter.hospitalization.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": "Encounter.hospitalization.modifierExtension", "path": "Encounter.hospitalization.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": "Encounter.hospitalization.preAdmissionIdentifier", "path": "Encounter.hospitalization.preAdmissionIdentifier", "short": "Pre-admission identifier", "definition": "Pre-admission identifier.", "min": 0, "max": "1", "base": {"path": "Encounter.hospitalization.preAdmissionIdentifier", "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": false, "mapping": [{"identity": "v2", "map": "PV1-5"}, {"identity": "rim", "map": ".id"}]}, {"id": "Encounter.hospitalization.origin", "path": "Encounter.hospitalization.origin", "short": "The location/organization from which the patient came before admission", "definition": "The location/organization from which the patient came before admission.", "min": 0, "max": "1", "base": {"path": "Encounter.hospitalization.origin", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Location", "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": "rim", "map": ".participation[typeCode=ORG].role"}]}, {"id": "Encounter.hospitalization.admitSource", "path": "Encounter.hospitalization.admitSource", "short": "From where patient was admitted (physician referral, transfer)", "definition": "From where patient was admitted (physician referral, transfer).", "min": 0, "max": "1", "base": {"path": "Encounter.hospitalization.admitSource", "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": "AdmitSource"}], "strength": "preferred", "description": "From where the patient was admitted.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-admit-source"}, "mapping": [{"identity": "v2", "map": "PV1-14"}, {"identity": "rim", "map": ".admissionReferralSourceCode"}]}, {"id": "Encounter.hospitalization.reAdmission", "path": "Encounter.hospitalization.reAdmission", "short": "The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission", "definition": "Whether this hospitalization is a readmission and why if known.", "min": 0, "max": "1", "base": {"path": "Encounter.hospitalization.reAdmission", "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": "ReAdmissionType"}], "strength": "example", "description": "The reason for re-admission of this hospitalization encounter.", "valueSet": "http://terminology.hl7.org/ValueSet/v2-0092"}, "mapping": [{"identity": "v2", "map": "PV1-13"}, {"identity": "rim", "map": "n/a"}]}, {"id": "Encounter.hospitalization.dietPreference", "path": "Encounter.hospitalization.dietPreference", "short": "Diet preferences reported by the patient", "definition": "Diet preferences reported by the patient.", "comment": "For example, a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive).", "requirements": "Used to track patient's diet restrictions and/or preference. For a complete description of the nutrition needs of a patient during their stay, one should use the nutritionOrder resource which links to Encounter.", "min": 0, "max": "*", "base": {"path": "Encounter.hospitalization.dietPreference", "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": "PatientDiet"}], "strength": "example", "description": "Medical, cultural or ethical food preferences to help with catering requirements.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-diet"}, "mapping": [{"identity": "v2", "map": "PV1-38"}, {"identity": "rim", "map": ".outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code=\"diet\"]"}]}, {"id": "Encounter.hospitalization.specialCourtesy", "path": "Encounter.hospitalization.specialCourtesy", "short": "Special courtesies (VIP, board member)", "definition": "Special courtesies (VIP, board member).", "min": 0, "max": "*", "base": {"path": "Encounter.hospitalization.specialCourtesy", "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": "Courtesies"}], "strength": "preferred", "description": "Special courtesies.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-special-courtesy"}, "mapping": [{"identity": "v2", "map": "PV1-16"}, {"identity": "rim", "map": ".specialCourtesiesCode"}]}, {"id": "Encounter.hospitalization.specialArrangement", "path": "Encounter.hospitalization.specialArrangement", "short": "Wheelchair, translator, stretcher, etc.", "definition": "Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things.", "min": 0, "max": "*", "base": {"path": "Encounter.hospitalization.specialArrangement", "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": "Arrangements"}], "strength": "preferred", "description": "Special arrangements.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-special-arrangements"}, "mapping": [{"identity": "v2", "map": "PV1-15 / OBR-30 / OBR-43"}, {"identity": "rim", "map": ".specialArrangementCode"}]}, {"id": "Encounter.hospitalization.destination", "path": "Encounter.hospitalization.destination", "short": "Location/organization to which the patient is discharged", "definition": "Location/organization to which the patient is discharged.", "min": 0, "max": "1", "base": {"path": "Encounter.hospitalization.destination", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Location", "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": "v2", "map": "PV1-37"}, {"identity": "rim", "map": ".participation[typeCode=DST]"}]}, {"id": "Encounter.hospitalization.dischargeDisposition", "path": "Encounter.hospitalization.dischargeDisposition", "short": "Separation Mode", "definition": "Category or kind of location after discharge.", "min": 0, "max": "1", "base": {"path": "Encounter.hospitalization.dischargeDisposition", "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": "https://healthterminologies.gov.au/fhir/ValueSet/separation-mode-1"}, "mapping": [{"identity": "v2", "map": "PV1-36"}, {"identity": "rim", "map": ".dischargeDispositionCode"}]}, {"id": "Encounter.location", "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": "Encounter.location", "short": "List of locations where the patient has been", "definition": "List of locations where  the patient has been during this encounter.", "comment": "Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type \"kind\" such as \"client's home\" and an encounter.class = \"virtual\".", "min": 0, "max": "*", "base": {"path": "Encounter.location", "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": ".participation[typeCode=LOC]"}]}, {"id": "Encounter.location.id", "path": "Encounter.location.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": "Encounter.location.extension", "path": "Encounter.location.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": "Encounter.location.modifierExtension", "path": "Encounter.location.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": "Encounter.location.location", "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": "Encounter.location.location", "short": "Location the encounter takes place", "definition": "The location where the encounter takes place.", "min": 1, "max": "1", "base": {"path": "Encounter.location.location", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-location"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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.location"}, {"identity": "w5", "map": "FiveWs.where[x]"}, {"identity": "v2", "map": "PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43"}, {"identity": "rim", "map": ".role"}]}, {"id": "Encounter.location.status", "path": "Encounter.location.status", "short": "planned | active | reserved | completed", "definition": "The status of the participants' presence at the specified location during the period specified. If the participant is no longer at the location, then the period will have an end date/time.", "comment": "When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed.", "min": 0, "max": "1", "base": {"path": "Encounter.location.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": false, "isSummary": false, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "EncounterLocationStatus"}], "strength": "required", "description": "The status of the location.", "valueSet": "http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1"}, "mapping": [{"identity": "rim", "map": ".role.statusCode"}]}, {"id": "Encounter.location.physicalType", "path": "Encounter.location.physicalType", "short": "The physical type of the location (usually the level in the location hierachy - bed room ward etc.)", "definition": "This will be used to specify the required levels (bed/ward/room/etc.) desired to be recorded to simplify either messaging or query.", "comment": "This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.\n\nThere may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario.", "min": 0, "max": "1", "base": {"path": "Encounter.location.physicalType", "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": "PhysicalType"}], "strength": "example", "description": "Physical form of the location.", "valueSet": "http://hl7.org/fhir/ValueSet/location-physical-type"}}, {"id": "Encounter.location.period", "path": "Encounter.location.period", "short": "Time period during which the patient was present at the location", "definition": "Time period during which the patient was present at the location.", "min": 0, "max": "1", "base": {"path": "Encounter.location.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": ".time"}]}, {"id": "Encounter.serviceProvider", "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": "Encounter.serviceProvider", "short": "The organization (facility) responsible for this encounter", "definition": "The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation.  Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy.", "min": 0, "max": "1", "base": {"path": "Encounter.serviceProvider", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-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"}], "mustSupport": true, "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Event.performer.actor"}, {"identity": "v2", "map": "PL.6  & PL.1"}, {"identity": "rim", "map": ".particiaption[typeCode=PFM].role"}]}, {"id": "Encounter.partOf", "path": "Encounter.partOf", "short": "Another Encounter this encounter is part of", "definition": "Another Encounter of which this encounter is a part of (administratively or in time).", "comment": "This is also used for associating a child's encounter back to the mother's encounter.\r\rRefer to the Notes section in the Patient resource for further details.", "min": 0, "max": "1", "base": {"path": "Encounter.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/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"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Event.partOf"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]"}]}]}, "differential": {"element": [{"id": "Encounter", "path": "Encounter"}, {"id": "Encounter.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": "Encounter.status", "mustSupport": true}, {"id": "Encounter.class", "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": "Encounter.class", "mustSupport": true}, {"id": "Encounter.serviceType", "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": "Encounter.serviceType", "mustSupport": true, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/service-type-1"}}, {"id": "Encounter.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": "Encounter.subject", "min": 1, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"]}], "mustSupport": true}, {"id": "Encounter.participant", "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": "Encounter.participant", "mustSupport": true}, {"id": "Encounter.participant.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": "Encounter.participant.type", "mustSupport": true}, {"id": "Encounter.participant.individual", "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": "Encounter.participant.individual", "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-relatedperson"]}], "mustSupport": true}, {"id": "Encounter.period", "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": "Encounter.period", "mustSupport": true}, {"id": "Encounter.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": "Encounter.reasonCode", "mustSupport": true}, {"id": "Encounter.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": "Encounter.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/core/StructureDefinition/au-core-procedure"]}], "mustSupport": true}, {"id": "Encounter.location", "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": "Encounter.location", "mustSupport": true}, {"id": "Encounter.location.location", "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": "Encounter.location.location", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-location"]}], "mustSupport": true}, {"id": "Encounter.serviceProvider", "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": "Encounter.serviceProvider", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-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: Immunization
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-immunization", "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-immunization", "version": "1.1.0-preview", "name": "AUCoreImmunization", "title": "AU Core Immunization", "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 an Immunization resource to record, search, and fetch immunisation history associated with a patient. It is based on the [AU Base Immunisation](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-immunization.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Immunization resource 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": "v2", "uri": "http://hl7.org/v2", "name": "HL7 v2 Mapping"}, {"identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping"}, {"identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping"}, {"identity": "cda", "uri": "http://hl7.org/v3/cda", "name": "CDA (R2)"}], "kind": "resource", "abstract": false, "type": "Immunization", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-immunization", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "Immunization", "path": "Immunization", "short": "An immunisation statement in an Australian healthcare context", "definition": "Describes the event of a patient being administered a vaccine or a record of an immunization as reported by a patient, a clinician or another party.", "min": 0, "max": "*", "base": {"path": "Immunization", "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": "v2", "map": "VXU_V04"}, {"identity": "rim", "map": "SubstanceAdministration"}]}, {"id": "Immunization.id", "path": "Immunization.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": "Immunization.meta", "path": "Immunization.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": "Immunization.implicitRules", "path": "Immunization.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": "Immunization.language", "path": "Immunization.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": "Immunization.text", "path": "Immunization.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": "Immunization.contained", "path": "Immunization.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": "Immunization.extension", "path": "Immunization.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": "Immunization.extension:vaccineVialSerialNumber", "path": "Immunization.extension", "sliceName": "vaccineVialSerialNumber", "short": "Vaccine vial serial number", "definition": "Serial number for the vial of vaccine used in an administration.", "min": 0, "max": "1", "base": {"path": "DomainResource.extension", "min": 0, "max": "*"}, "type": [{"code": "Extension", "profile": ["http://hl7.org.au/fhir/StructureDefinition/vaccine-serial-number"]}], "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": "Immunization.modifierExtension", "path": "Immunization.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": "Immunization.identifier", "path": "Immunization.identifier", "short": "Business identifier", "definition": "A unique identifier assigned to this immunization record.", "min": 0, "max": "*", "base": {"path": "Immunization.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": false, "mapping": [{"identity": "workflow", "map": "Event.identifier"}, {"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "rim", "map": ".id"}, {"identity": "cda", "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id"}]}, {"id": "Immunization.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": "Immunization.status", "short": "completed | entered-in-error | not-done", "definition": "Indicates the current status of the immunization event.", "comment": "Will generally be set to show that the immunization has been completed or not done.  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": "Immunization.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 statuses entered-in-error and not-done which means that the resource should not be treated as valid", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "ImmunizationStatus"}], "strength": "required", "description": "A set of codes indicating the current status of an Immunization.", "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status|4.0.1"}, "mapping": [{"identity": "workflow", "map": "Event.status"}, {"identity": "w5", "map": "FiveWs.status"}, {"identity": "rim", "map": "statusCode"}]}, {"id": "Immunization.statusReason", "path": "Immunization.statusReason", "short": "Reason not done", "definition": "Indicates the reason the immunization event was not performed.", "comment": "This is generally only used for the status of \"not-done\". The reason for performing the immunization event is captured in reasonCode, not here.", "min": 0, "max": "1", "base": {"path": "Immunization.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": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/reason-vaccine-not-administered-3"}, "mapping": [{"identity": "workflow", "map": "Event.statusReason"}, {"identity": "rim", "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"}]}, {"id": "Immunization.vaccineCode", "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": "Immunization.vaccineCode", "short": "Vaccine product administered", "definition": "Vaccine that was administered or was to be administered.", "min": 1, "max": "1", "base": {"path": "Immunization.vaccineCode", "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": true, "binding": {"extension": [{"extension": [{"url": "purpose", "valueCode": "preferred"}, {"url": "valueSet", "valueCanonical": "https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-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": "https://healthterminologies.gov.au/fhir/ValueSet/australian-immunisation-register-vaccine-1"}, {"url": "documentation", "valueMarkdown": "This value set is for use when AIR (Australian Immunisation Register) codes are preferred."}], "url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"}], "strength": "example", "valueSet": "http://hl7.org/fhir/ValueSet/vaccine-code"}, "mapping": [{"identity": "workflow", "map": "Event.code"}, {"identity": "w5", "map": "FiveWs.what[x]"}, {"identity": "v2", "map": "RXA-5"}, {"identity": "rim", "map": ".code"}, {"identity": "cda", "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/realmCode/code"}]}, {"id": "Immunization.vaccineCode.id", "path": "Immunization.vaccineCode.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": "Immunization.vaccineCode.extension", "path": "Immunization.vaccineCode.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": "Immunization.vaccineCode.coding", "path": "Immunization.vaccineCode.coding", "slicing": {"discriminator": [{"type": "pattern", "path": "$this"}], "ordered": false, "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": "Immunization.vaccineCode.coding:amtVaccineCode", "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": "Immunization.vaccineCode.coding", "sliceName": "amtVaccineCode", "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": "1", "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/amt-vaccine-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": "Immunization.vaccineCode.coding:airVaccineCode", "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": "Immunization.vaccineCode.coding", "sliceName": "airVaccineCode", "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": "1", "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-immunisation-register-vaccine-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": "Immunization.vaccineCode.text", "extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true}], "path": "Immunization.vaccineCode.text", "short": "Plain text representation of the concept", "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.", "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": "Immunization.patient", "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": "Immunization.patient", "short": "Who was immunized", "definition": "The patient who either received or did not receive the immunization.", "min": 1, "max": "1", "base": {"path": "Immunization.patient", "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"}, {"identity": "rim", "map": ".partipication[ttypeCode=].role"}, {"identity": "w5", "map": "FiveWs.subject"}]}, {"id": "Immunization.encounter", "path": "Immunization.encounter", "short": "Encounter immunization was part of", "definition": "The visit or admission or other contact between patient and health care provider the immunization was performed as part of.", "min": 0, "max": "1", "base": {"path": "Immunization.encounter", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/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"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Event.context"}, {"identity": "w5", "map": "FiveWs.context"}, {"identity": "v2", "map": "PV1-19"}, {"identity": "rim", "map": "component->EncounterEvent"}]}, {"id": "Immunization.occurrence[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": "Immunization.occurrence[x]", "short": "Vaccine administration date", "definition": "Date vaccine administered or was to be administered.", "comment": "When immunizations are given a specific date and time should always be known.   When immunizations are patient reported, a specific date might not be known.  Although partial dates are allowed, an adult patient might not be able to recall the year a childhood immunization was given. An exact date is always preferable, but the use of the String data type is acceptable when an exact date is not known. A small number of vaccines (e.g. live oral typhoid vaccine) are given as a series of patient self-administered dose over a span of time. In cases like this, often, only the first dose (typically a provider supervised dose) is recorded with the occurrence indicating the date/time of the first dose.", "min": 1, "max": "1", "base": {"path": "Immunization.occurrence[x]", "min": 1, "max": "1"}, "type": [{"code": "dateTime"}, {"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": "workflow", "map": "Event.occurrence[x]"}, {"identity": "w5", "map": "FiveWs.done[x]"}, {"identity": "v2", "map": "RXA-3"}, {"identity": "rim", "map": ".effectiveTime"}, {"identity": "cda", "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value"}]}, {"id": "Immunization.recorded", "path": "Immunization.recorded", "short": "When the immunization was first captured in the subject's record", "definition": "The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event.", "min": 0, "max": "1", "base": {"path": "Immunization.recorded", "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": "w5", "map": "FiveWs.recorded"}, {"identity": "rim", "map": ".participation[typeCode=AUT].time"}]}, {"id": "Immunization.primarySource", "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": "Immunization.primarySource", "short": "Indicates context the data was recorded in", "definition": "An indication that the content of the record is based on information from the person who administered the vaccine. This reflects the context under which the data was originally recorded.", "comment": "Reflects the \u201creliability\u201d of the content.", "min": 0, "max": "1", "base": {"path": "Immunization.primarySource", "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": true, "mapping": [{"identity": "w5", "map": "FiveWs.source"}, {"identity": "v2", "map": "RXA-9"}, {"identity": "rim", "map": "immunization.uncertaintycode (if primary source=false, uncertainty=U)"}]}, {"id": "Immunization.reportOrigin", "path": "Immunization.reportOrigin", "short": "Indicates the source of a secondarily reported record", "definition": "The source of the data when the report of the immunization event is not based on information from the person who administered the vaccine.", "comment": "Should not be populated if primarySource = True, not required even if primarySource = False.", "min": 0, "max": "1", "base": {"path": "Immunization.reportOrigin", "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": "ImmunizationReportOrigin"}], "strength": "example", "description": "The source of the data for a record which is not from a primary source.", "valueSet": "http://hl7.org/fhir/ValueSet/immunization-origin"}, "mapping": [{"identity": "w5", "map": "FiveWs.source"}, {"identity": "v2", "map": "RXA-9"}, {"identity": "rim", "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported) .participation[typeCode=INF].role[classCode=LIC] (this syntax for health care professional) .participation[typeCode=INF].role[classCode=PRS] (this syntax for family member)"}]}, {"id": "Immunization.location", "path": "Immunization.location", "short": "Where immunization occurred", "definition": "The service delivery location where the vaccine administration occurred.", "min": 0, "max": "1", "base": {"path": "Immunization.location", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Location"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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.location"}, {"identity": "w5", "map": "FiveWs.where[x]"}, {"identity": "v2", "map": "RXA-27  (or RXA-11, deprecated as of v2.7)"}, {"identity": "rim", "map": ".participation[typeCode=LOC].COCT_MT240000UV"}]}, {"id": "Immunization.manufacturer", "path": "Immunization.manufacturer", "short": "Vaccine manufacturer", "definition": "Physical vaccine product manufacturer.", "min": 0, "max": "1", "base": {"path": "Immunization.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": false, "mapping": [{"identity": "v2", "map": "RXA-17"}, {"identity": "rim", "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=ORG]"}, {"identity": "cda", "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacuturerOrganization/name"}]}, {"id": "Immunization.lotNumber", "path": "Immunization.lotNumber", "short": "Vaccine lot number", "definition": "Lot number of the  vaccine product.", "min": 0, "max": "1", "base": {"path": "Immunization.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": "v2", "map": "RXA-15"}, {"identity": "rim", "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id"}, {"identity": "cda", "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/lotNumberText"}]}, {"id": "Immunization.expirationDate", "path": "Immunization.expirationDate", "short": "Vaccine expiration date", "definition": "Date vaccine batch expires.", "min": 0, "max": "1", "base": {"path": "Immunization.expirationDate", "min": 0, "max": "1"}, "type": [{"code": "date"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": "RXA-16"}, {"identity": "rim", "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"}]}, {"id": "Immunization.site", "path": "Immunization.site", "short": "Body site vaccine  was administered", "definition": "Body site where vaccine was administered.", "min": 0, "max": "1", "base": {"path": "Immunization.site", "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/immunisation-anatomical-site-1"}, "mapping": [{"identity": "v2", "map": "RXR-2"}, {"identity": "rim", "map": "observation.targetSiteCode"}, {"identity": "cda", "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/approachSiteCode/code"}]}, {"id": "Immunization.route", "path": "Immunization.route", "short": "How vaccine entered body", "definition": "The path by which the vaccine product is taken into the body.", "min": 0, "max": "1", "base": {"path": "Immunization.route", "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/immunisation-route-of-administration-1"}, "mapping": [{"identity": "v2", "map": "RXR-1"}, {"identity": "rim", "map": ".routeCode"}, {"identity": "cda", "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code"}]}, {"id": "Immunization.doseQuantity", "path": "Immunization.doseQuantity", "short": "Amount of vaccine administered", "definition": "The quantity of vaccine product that was administered.", "min": 0, "max": "1", "base": {"path": "Immunization.doseQuantity", "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": "v2", "map": "RXA-6 / RXA-7"}, {"identity": "rim", "map": ".doseQuantity"}]}, {"id": "Immunization.performer", "path": "Immunization.performer", "slicing": {"discriminator": [{"type": "pattern", "path": "function"}], "rules": "open"}, "short": "Who performed event", "definition": "Indicates who performed the immunization event.", "min": 0, "max": "*", "base": {"path": "Immunization.performer", "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": true, "mapping": [{"identity": "workflow", "map": "Event.performer"}, {"identity": "v2", "map": "ORC-12 / RXA-10"}, {"identity": "rim", "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"}]}, {"id": "Immunization.performer.id", "path": "Immunization.performer.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": "Immunization.performer.extension", "path": "Immunization.performer.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": "Immunization.performer.modifierExtension", "path": "Immunization.performer.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": "Immunization.performer.function", "path": "Immunization.performer.function", "short": "What type of performance was done", "definition": "Describes the type of performance (e.g. ordering provider, administering provider, etc.).", "min": 0, "max": "1", "base": {"path": "Immunization.performer.function", "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": {"strength": "extensible", "valueSet": "http://terminology.hl7.org.au/ValueSet/v2-0443-extended"}, "mapping": [{"identity": "workflow", "map": "Event.performer.function"}, {"identity": "rim", "map": ".participation.functionCode"}]}, {"id": "Immunization.performer.actor", "path": "Immunization.performer.actor", "short": "Individual or organization who was performing", "definition": "The practitioner or organization who performed the action.", "comment": "When the individual practitioner who performed the action is known, it is best to send.", "min": 1, "max": "1", "base": {"path": "Immunization.performer.actor", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "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": "workflow", "map": "Event.performer.actor"}, {"identity": "w5", "map": "FiveWs.actor"}, {"identity": "rim", "map": ".player"}]}, {"id": "Immunization.performer:administeredBy", "path": "Immunization.performer", "sliceName": "administeredBy", "short": "Immunisation Administered By", "definition": "Indicates who performed the immunization event.", "min": 0, "max": "1", "base": {"path": "Immunization.performer", "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": true, "mapping": [{"identity": "workflow", "map": "Event.performer"}, {"identity": "v2", "map": "ORC-12 / RXA-10"}, {"identity": "rim", "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"}]}, {"id": "Immunization.performer:administeredBy.id", "path": "Immunization.performer.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": "Immunization.performer:administeredBy.extension", "path": "Immunization.performer.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": "Immunization.performer:administeredBy.modifierExtension", "path": "Immunization.performer.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": "Immunization.performer:administeredBy.function", "path": "Immunization.performer.function", "short": "Administering role", "definition": "Describes the type of performance (e.g. ordering provider, administering provider, etc.).", "min": 1, "max": "1", "base": {"path": "Immunization.performer.function", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "patternCodeableConcept": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/v2-0443", "code": "AP"}]}, "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": {"strength": "extensible", "valueSet": "http://terminology.hl7.org.au/ValueSet/v2-0443-extended"}, "mapping": [{"identity": "workflow", "map": "Event.performer.function"}, {"identity": "rim", "map": ".participation.functionCode"}]}, {"id": "Immunization.performer:administeredBy.actor", "path": "Immunization.performer.actor", "short": "Administering performer", "definition": "The practitioner or organization who performed the action.", "comment": "When the individual practitioner who performed the action is known, it is best to send.", "min": 1, "max": "1", "base": {"path": "Immunization.performer.actor", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "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": "workflow", "map": "Event.performer.actor"}, {"identity": "w5", "map": "FiveWs.actor"}, {"identity": "rim", "map": ".player"}]}, {"id": "Immunization.performer:approvedBy", "path": "Immunization.performer", "sliceName": "approvedBy", "short": "Immunisation Approved By", "definition": "Indicates who performed the immunization event.", "min": 0, "max": "1", "base": {"path": "Immunization.performer", "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": true, "mapping": [{"identity": "workflow", "map": "Event.performer"}, {"identity": "v2", "map": "ORC-12 / RXA-10"}, {"identity": "rim", "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"}]}, {"id": "Immunization.performer:approvedBy.id", "path": "Immunization.performer.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": "Immunization.performer:approvedBy.extension", "path": "Immunization.performer.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": "Immunization.performer:approvedBy.modifierExtension", "path": "Immunization.performer.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": "Immunization.performer:approvedBy.function", "path": "Immunization.performer.function", "short": "Approver role", "definition": "Describes the type of performance (e.g. ordering provider, administering provider, etc.).", "min": 1, "max": "1", "base": {"path": "Immunization.performer.function", "min": 0, "max": "1"}, "type": [{"code": "CodeableConcept"}], "patternCodeableConcept": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/v2-0443", "code": "OP"}]}, "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": {"strength": "extensible", "valueSet": "http://terminology.hl7.org.au/ValueSet/v2-0443-extended"}, "mapping": [{"identity": "workflow", "map": "Event.performer.function"}, {"identity": "rim", "map": ".participation.functionCode"}]}, {"id": "Immunization.performer:approvedBy.actor", "path": "Immunization.performer.actor", "short": "Approver", "definition": "The practitioner or organization who performed the action.", "comment": "When the individual practitioner who performed the action is known, it is best to send.", "min": 1, "max": "1", "base": {"path": "Immunization.performer.actor", "min": 1, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "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": "workflow", "map": "Event.performer.actor"}, {"identity": "w5", "map": "FiveWs.actor"}, {"identity": "rim", "map": ".player"}]}, {"id": "Immunization.note", "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": "Immunization.note", "short": "Additional immunization notes", "definition": "Extra information about the immunization that is not conveyed by the other attributes.", "min": 0, "max": "*", "base": {"path": "Immunization.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"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "workflow", "map": "Event.note"}, {"identity": "v2", "map": "OBX-5 : OBX-3 = 48767-8"}, {"identity": "rim", "map": "note"}]}, {"id": "Immunization.reasonCode", "path": "Immunization.reasonCode", "short": "Why immunization occurred", "definition": "Reasons why the vaccine was administered.", "min": 0, "max": "*", "base": {"path": "Immunization.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"}], "isModifier": false, "isSummary": false, "binding": {"strength": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/reason-vaccine-administered-1"}, "mapping": [{"identity": "workflow", "map": "Event.reasonCode"}, {"identity": "rim", "map": "[actionNegationInd=false].reasonCode"}]}, {"id": "Immunization.reasonReference", "path": "Immunization.reasonReference", "short": "Why immunization occurred", "definition": "Condition, Observation or DiagnosticReport that supports why the immunization was administered.", "min": 0, "max": "*", "base": {"path": "Immunization.reasonReference", "min": 0, "max": "*"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org/fhir/StructureDefinition/Condition", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/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"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "workflow", "map": "Event.reasonReference"}, {"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.isSubpotent", "path": "Immunization.isSubpotent", "short": "Dose potency", "definition": "Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent.", "comment": "Typically, the recognition of the dose being sub-potent is retrospective, after the administration (ex. notification of a manufacturer recall after administration). However, in the case of a partial administration (the patient moves unexpectedly and only some of the dose is actually administered), subpotency may be recognized immediately, but it is still important to record the event.", "min": 0, "max": "1", "base": {"path": "Immunization.isSubpotent", "min": 0, "max": "1"}, "type": [{"code": "boolean"}], "meaningWhenMissing": "By default, a dose should be considered to be potent.", "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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 an immunization event with a subpotent vaccine doesn't protect the patient the same way as a potent dose.", "isSummary": true, "mapping": [{"identity": "v2", "map": "RXA-20 = PA (partial administration)"}, {"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.subpotentReason", "path": "Immunization.subpotentReason", "short": "Reason for being subpotent", "definition": "Reason why a dose is considered to be subpotent.", "min": 0, "max": "*", "base": {"path": "Immunization.subpotentReason", "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": "SubpotentReason"}], "strength": "example", "description": "The reason why a dose is considered to be subpotent.", "valueSet": "http://hl7.org/fhir/ValueSet/immunization-subpotent-reason"}, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.education", "path": "Immunization.education", "short": "Educational material presented to patient", "definition": "Educational material presented to the patient (or guardian) at the time of vaccine administration.", "min": 0, "max": "*", "base": {"path": "Immunization.education", "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": "imm-1", "severity": "error", "human": "One of documentType or reference SHALL be present", "expression": "documentType.exists() or reference.exists()", "xpath": "exists(f:documentType) or exists(f:reference)", "source": "http://hl7.org/fhir/StructureDefinition/Immunization"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.education.id", "path": "Immunization.education.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": "Immunization.education.extension", "path": "Immunization.education.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": "Immunization.education.modifierExtension", "path": "Immunization.education.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": "Immunization.education.documentType", "path": "Immunization.education.documentType", "short": "Educational material document identifier", "definition": "Identifier of the material presented to the patient.", "min": 0, "max": "1", "base": {"path": "Immunization.education.documentType", "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": "v2", "map": "OBX-5 : OBX-3 = 69764-9"}, {"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.education.reference", "path": "Immunization.education.reference", "short": "Educational material reference pointer", "definition": "Reference pointer to the educational material given to the patient if the information was on line.", "min": 0, "max": "1", "base": {"path": "Immunization.education.reference", "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": false, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.education.publicationDate", "path": "Immunization.education.publicationDate", "short": "Educational material publication date", "definition": "Date the educational material was published.", "min": 0, "max": "1", "base": {"path": "Immunization.education.publicationDate", "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": "v2", "map": "OBX-5 : OBX-3 = 29768-9"}, {"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.education.presentationDate", "path": "Immunization.education.presentationDate", "short": "Educational material presentation date", "definition": "Date the educational material was given to the patient.", "min": 0, "max": "1", "base": {"path": "Immunization.education.presentationDate", "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": "v2", "map": "OBX-5 : OBX-3 = 29769-7"}, {"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.programEligibility", "path": "Immunization.programEligibility", "short": "Patient eligibility for a vaccination program", "definition": "Indicates a patient's eligibility for a funding program.", "min": 0, "max": "*", "base": {"path": "Immunization.programEligibility", "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": "ProgramEligibility"}], "strength": "example", "description": "The patient's eligibility for a vaccation program.", "valueSet": "http://hl7.org/fhir/ValueSet/immunization-program-eligibility"}, "mapping": [{"identity": "v2", "map": "OBX-5 : OBX-3 = 64994-7"}, {"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.fundingSource", "path": "Immunization.fundingSource", "short": "Funding source for the vaccine", "definition": "Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered).", "min": 0, "max": "1", "base": {"path": "Immunization.fundingSource", "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": "FundingSource"}], "strength": "example", "description": "The source of funding used to purchase the vaccine administered.", "valueSet": "http://hl7.org/fhir/ValueSet/immunization-funding-source"}, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.reaction", "path": "Immunization.reaction", "short": "Details of a reaction that follows immunization", "definition": "Categorical data indicating that an adverse event is associated in time to an immunization.", "comment": "A reaction may be an indication of an allergy or intolerance and, if this is determined to be the case, it should be recorded as a new AllergyIntolerance resource instance as most systems will not query against past Immunization.reaction elements.", "min": 0, "max": "*", "base": {"path": "Immunization.reaction", "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": "v2", "map": "OBX-3"}, {"identity": "rim", "map": "Observation[classCode=obs].code"}]}, {"id": "Immunization.reaction.id", "path": "Immunization.reaction.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": "Immunization.reaction.extension", "path": "Immunization.reaction.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": "Immunization.reaction.modifierExtension", "path": "Immunization.reaction.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": "Immunization.reaction.date", "path": "Immunization.reaction.date", "short": "When reaction started", "definition": "Date of reaction to the immunization.", "min": 0, "max": "1", "base": {"path": "Immunization.reaction.date", "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": "v2", "map": "OBX-14 (ideally this would be reported in an IAM segment, but IAM is not part of the HL7 v2 VXU message - most likely would appear in OBX segments if at all)"}, {"identity": "rim", "map": ".effectiveTime"}]}, {"id": "Immunization.reaction.detail", "path": "Immunization.reaction.detail", "short": "Additional information on reaction", "definition": "Details of the reaction.", "min": 0, "max": "1", "base": {"path": "Immunization.reaction.detail", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["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": false, "mapping": [{"identity": "v2", "map": "OBX-5"}, {"identity": "rim", "map": ".value"}]}, {"id": "Immunization.reaction.reported", "path": "Immunization.reaction.reported", "short": "Indicates self-reported reaction", "definition": "Self-reported indicator.", "min": 0, "max": "1", "base": {"path": "Immunization.reaction.reported", "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": "v2", "map": "(HL7 v2 doesn't seem to provide for this)"}, {"identity": "rim", "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)"}]}, {"id": "Immunization.protocolApplied", "path": "Immunization.protocolApplied", "short": "Protocol followed by the provider", "definition": "The protocol (set of recommendations) being followed by the provider who administered the dose.", "min": 0, "max": "*", "base": {"path": "Immunization.protocolApplied", "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": "N/A"}]}, {"id": "Immunization.protocolApplied.id", "path": "Immunization.protocolApplied.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": "Immunization.protocolApplied.extension", "path": "Immunization.protocolApplied.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": "Immunization.protocolApplied.modifierExtension", "path": "Immunization.protocolApplied.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": "Immunization.protocolApplied.series", "path": "Immunization.protocolApplied.series", "short": "Name of vaccine series", "definition": "One possible path to achieve presumed immunity against a disease - within the context of an authority.", "min": 0, "max": "1", "base": {"path": "Immunization.protocolApplied.series", "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": "rim", "map": "N/A"}]}, {"id": "Immunization.protocolApplied.authority", "path": "Immunization.protocolApplied.authority", "short": "Who is responsible for publishing the recommendations", "definition": "Indicates the authority who published the protocol (e.g. ACIP) that is being followed.", "min": 0, "max": "1", "base": {"path": "Immunization.protocolApplied.authority", "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": "rim", "map": "N/A"}]}, {"id": "Immunization.protocolApplied.targetDisease", "path": "Immunization.protocolApplied.targetDisease", "short": "Vaccine preventatable disease being targetted", "definition": "The vaccine preventable disease the dose is being administered against.", "min": 0, "max": "*", "base": {"path": "Immunization.protocolApplied.targetDisease", "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": "preferred", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/vaccination-target-disease-1"}, "mapping": [{"identity": "rim", "map": "N/A"}]}, {"id": "Immunization.protocolApplied.doseNumber[x]", "path": "Immunization.protocolApplied.doseNumber[x]", "short": "Dose number within series", "definition": "Nominal position in a series.", "comment": "The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).", "min": 1, "max": "1", "base": {"path": "Immunization.protocolApplied.doseNumber[x]", "min": 1, "max": "1"}, "type": [{"code": "positiveInt"}, {"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": "N/A"}]}, {"id": "Immunization.protocolApplied.seriesDoses[x]", "path": "Immunization.protocolApplied.seriesDoses[x]", "short": "Recommended number of doses for immunity", "definition": "The recommended number of doses to achieve immunity.", "comment": "The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).", "min": 0, "max": "1", "base": {"path": "Immunization.protocolApplied.seriesDoses[x]", "min": 0, "max": "1"}, "type": [{"code": "positiveInt"}, {"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": "N/A"}]}]}, "differential": {"element": [{"id": "Immunization", "path": "Immunization"}, {"id": "Immunization.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": "Immunization.status", "mustSupport": true}, {"id": "Immunization.vaccineCode", "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": "Immunization.vaccineCode", "mustSupport": true}, {"id": "Immunization.vaccineCode.coding", "path": "Immunization.vaccineCode.coding", "slicing": {"discriminator": [{"type": "pattern", "path": "$this"}], "ordered": false, "rules": "open"}}, {"id": "Immunization.vaccineCode.coding:amtVaccineCode", "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": "Immunization.vaccineCode.coding", "sliceName": "amtVaccineCode", "max": "1", "mustSupport": true, "binding": {"strength": "required", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/amt-vaccine-1"}}, {"id": "Immunization.vaccineCode.coding:airVaccineCode", "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": "Immunization.vaccineCode.coding", "sliceName": "airVaccineCode", "max": "1", "mustSupport": true, "binding": {"strength": "required", "valueSet": "https://healthterminologies.gov.au/fhir/ValueSet/australian-immunisation-register-vaccine-1"}}, {"id": "Immunization.patient", "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": "Immunization.patient", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-patient"]}], "mustSupport": true}, {"id": "Immunization.occurrence[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": "Immunization.occurrence[x]", "mustSupport": true}, {"id": "Immunization.primarySource", "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": "Immunization.primarySource", "mustSupport": true}, {"id": "Immunization.note", "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": "Immunization.note", "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: Location
view: differential
structure_data:
{"structure_definition": {"resourceType": "StructureDefinition", "id": "au-core-location", "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-location", "version": "1.1.0-preview", "name": "AUCoreLocation", "title": "AU Core Location", "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 Location resource to record, search, and fetch information about a location. It is based on the [AU Base Location](http://build.fhir.org/ig/hl7au/au-fhir-base/StructureDefinition-au-location.html) profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets that **SHALL** be present in the Location 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": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping"}], "kind": "resource", "abstract": false, "type": "Location", "baseDefinition": "http://hl7.org.au/fhir/StructureDefinition/au-location", "derivation": "constraint", "snapshot": {"extension": [{"url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version", "valueString": "5.1.0-preview"}], "element": [{"id": "Location", "path": "Location", "short": "A location in an Australian healthcare context", "definition": "Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.", "min": 0, "max": "*", "base": {"path": "Location", "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": "au-core-loc-01", "severity": "error", "human": "The location shall at least have a valid identifier or address or type", "expression": "address.exists() or type.exists() or identifier.where(system.count() + value.count() >1).exists()", "xpath": "exists(f:address) or exists(f:type) or exists(f:identifier)", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-location"}], "isModifier": false, "isSummary": false, "mapping": [{"identity": "rim", "map": "Entity. Role, or Act"}, {"identity": "rim", "map": ".Role[classCode=SDLC]"}]}, {"id": "Location.id", "path": "Location.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": "Location.meta", "path": "Location.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": "Location.implicitRules", "path": "Location.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": "Location.language", "path": "Location.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": "Location.text", "path": "Location.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": "Location.contained", "path": "Location.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": "Location.extension", "path": "Location.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": "Location.modifierExtension", "path": "Location.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": "Location.identifier", "path": "Location.identifier", "short": "Unique code or number identifying the location to its users", "definition": "Unique code or number identifying the location to its users.", "requirements": "Organization label locations in registries, need to keep track of those.", "min": 0, "max": "*", "base": {"path": "Location.identifier", "min": 0, "max": "*"}, "type": [{"code": "Identifier", "profile": ["http://hl7.org/fhir/StructureDefinition/Identifier", "http://hl7.org.au/fhir/StructureDefinition/au-locationspecificpracticenumber", "http://hl7.org.au/fhir/StructureDefinition/au-natasitenumber"]}], "condition": ["au-core-loc-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"}], "isModifier": false, "isSummary": true, "mapping": [{"identity": "w5", "map": "FiveWs.identifier"}, {"identity": "rim", "map": ".id"}]}, {"id": "Location.status", "path": "Location.status", "short": "active | suspended | inactive", "definition": "The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.", "min": 0, "max": "1", "base": {"path": "Location.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 is labeled as a modifier because the status contains codes that mark the resource as not currently valid", "isSummary": true, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "LocationStatus"}], "strength": "required", "description": "Indicates whether the location is still in use.", "valueSet": "http://hl7.org/fhir/ValueSet/location-status|4.0.1"}, "mapping": [{"identity": "w5", "map": "FiveWs.status"}, {"identity": "rim", "map": ".statusCode"}]}, {"id": "Location.operationalStatus", "path": "Location.operationalStatus", "short": "The operational status of the location (typically only for a bed/room)", "definition": "The operational status covers operation values most relevant to beds (but can also apply to rooms/units/chairs/etc. such as an isolation unit/dialysis chair). This typically covers concepts such as contamination, housekeeping, and other activities like maintenance.", "min": 0, "max": "1", "base": {"path": "Location.operationalStatus", "min": 0, "max": "1"}, "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, "binding": {"extension": [{"url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "OperationalStatus"}], "strength": "preferred", "description": "The operational status if the location (where typically a bed/room).", "valueSet": "http://terminology.hl7.org/ValueSet/v2-0116"}, "mapping": [{"identity": "w5", "map": "FiveWs.status"}, {"identity": "rim", "map": "n/a"}]}, {"id": "Location.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": "Location.name", "short": "Name of the location as used by humans", "definition": "Name of the location as used by humans. Does not need to be unique.", "comment": "If the name of a location changes, consider putting the old name in the alias column so that it can still be located through searches.", "min": 0, "max": "1", "base": {"path": "Location.name", "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": "rim", "map": ".name"}]}, {"id": "Location.alias", "path": "Location.alias", "short": "A list of alternate names that the location is known as, or was known as, in the past", "definition": "A list of alternate names that the location 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 location.", "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 location was known by can be very useful.", "min": 0, "max": "*", "base": {"path": "Location.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": "Location.description", "path": "Location.description", "short": "Additional details about the location that could be displayed as further information to identify the location beyond its name", "definition": "Description of the Location, which helps in finding or referencing the place.", "requirements": "Humans need additional information to verify a correct location has been identified.", "min": 0, "max": "1", "base": {"path": "Location.description", "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": "rim", "map": ".playingEntity[classCode=PLC determinerCode=INSTANCE].desc"}]}, {"id": "Location.mode", "path": "Location.mode", "short": "instance | kind", "definition": "Indicates whether a resource instance represents a specific location or a class of locations.", "comment": "This is labeled as a modifier because whether or not the location is a class of locations changes how it can be used and understood.", "requirements": "When using a Location resource for scheduling or orders, we need to be able to refer to a class of Locations instead of a specific Location.", "min": 0, "max": "1", "base": {"path": "Location.mode", "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": "LocationMode"}], "strength": "required", "description": "Indicates whether a resource instance represents a specific location or a class of locations.", "valueSet": "http://hl7.org/fhir/ValueSet/location-mode|4.0.1"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "rim", "map": ".playingEntity[classCode=PLC].determinerCode"}]}, {"id": "Location.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": "Location.type", "short": "Type of function performed", "definition": "Indicates the type of function performed at the location.", "min": 0, "max": "*", "base": {"path": "Location.type", "min": 0, "max": "*"}, "type": [{"code": "CodeableConcept"}], "condition": ["au-core-loc-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, "binding": {"strength": "extensible", "valueSet": "http://terminology.hl7.org.au/ValueSet/v3-ServiceDeliveryLocationRoleType-extended"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "rim", "map": ".code"}]}, {"id": "Location.telecom", "path": "Location.telecom", "short": "Contact details of the location", "definition": "The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.", "min": 0, "max": "*", "base": {"path": "Location.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": "rim", "map": ".telecom"}]}, {"id": "Location.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": "Location.address", "short": "Physical location", "definition": "Physical location.", "comment": "This is primarily used for the physical address of the location. The Organization however uses the address property for administrative purposes.", "requirements": "If locations can be visited, we need to keep track of their address.", "min": 0, "max": "1", "base": {"path": "Location.address", "min": 0, "max": "1"}, "type": [{"code": "Address", "profile": ["http://hl7.org/fhir/StructureDefinition/Address", "http://hl7.org.au/fhir/StructureDefinition/au-address"]}], "condition": ["au-core-loc-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": false, "mapping": [{"identity": "rim", "map": ".addr"}]}, {"id": "Location.physicalType", "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": "Location.physicalType", "short": "Physical form of the location", "definition": "Physical form of the location, e.g. building, room, vehicle, road.", "requirements": "For purposes of showing relevant locations in queries, we need to categorize locations.", "min": 0, "max": "1", "base": {"path": "Location.physicalType", "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": {"strength": "preferred", "valueSet": "http://terminology.hl7.org.au/ValueSet/location-physical-type-extended"}, "mapping": [{"identity": "w5", "map": "FiveWs.class"}, {"identity": "rim", "map": ".playingEntity [classCode=PLC].code"}]}, {"id": "Location.position", "path": "Location.position", "short": "The absolute geographic location", "definition": "The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).", "requirements": "For mobile applications and automated route-finding knowing the exact location of the Location is required.", "min": 0, "max": "1", "base": {"path": "Location.position", "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": ".playingEntity [classCode=PLC determinerCode=INSTANCE].positionText"}]}, {"id": "Location.position.id", "path": "Location.position.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": "Location.position.extension", "path": "Location.position.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": "Location.position.modifierExtension", "path": "Location.position.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": "Location.position.longitude", "path": "Location.position.longitude", "short": "Longitude with WGS84 datum", "definition": "Longitude. The value domain and the interpretation are the same as for the text of the longitude element in KML (see notes below).", "min": 1, "max": "1", "base": {"path": "Location.position.longitude", "min": 1, "max": "1"}, "type": [{"code": "decimal"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"}]}, {"id": "Location.position.latitude", "path": "Location.position.latitude", "short": "Latitude with WGS84 datum", "definition": "Latitude. The value domain and the interpretation are the same as for the text of the latitude element in KML (see notes below).", "min": 1, "max": "1", "base": {"path": "Location.position.latitude", "min": 1, "max": "1"}, "type": [{"code": "decimal"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"}]}, {"id": "Location.position.altitude", "path": "Location.position.altitude", "short": "Altitude with WGS84 datum", "definition": "Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below).", "min": 0, "max": "1", "base": {"path": "Location.position.altitude", "min": 0, "max": "1"}, "type": [{"code": "decimal"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)"}]}, {"id": "Location.managingOrganization", "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": "Location.managingOrganization", "short": "Organization responsible for provisioning and upkeep", "definition": "The organization responsible for the provisioning and upkeep of the location.", "comment": "This can also be used as the part of the organization hierarchy where this location provides services. These services can be defined through the HealthcareService resource.", "requirements": "Need to know who manages the location.", "min": 0, "max": "1", "base": {"path": "Location.managingOrganization", "min": 0, "max": "1"}, "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-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"}], "mustSupport": true, "isModifier": false, "isSummary": true, "mapping": [{"identity": "rim", "map": ".scopingEntity[classCode=ORG determinerKind=INSTANCE]"}]}, {"id": "Location.partOf", "path": "Location.partOf", "short": "Another Location this one is physically a part of", "definition": "Another Location of which this Location is physically a part of.", "requirements": "For purposes of location, display and identification, knowing which locations are located within other locations is important.", "min": 0, "max": "1", "base": {"path": "Location.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/Location"]}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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": ".inboundLink[typeCode=PART].source[classCode=SDLC]"}]}, {"id": "Location.hoursOfOperation", "path": "Location.hoursOfOperation", "short": "What days/times during a week is this location usually open", "definition": "What days/times during a week is this location usually open.", "comment": "This type of information is commonly found published in directories and on websites informing customers when the facility is available.\n\nSpecific services within the location may have their own hours which could be shorter (or longer) than the locations hours.", "min": 0, "max": "*", "base": {"path": "Location.hoursOfOperation", "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": ".effectiveTime"}]}, {"id": "Location.hoursOfOperation.id", "path": "Location.hoursOfOperation.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": "Location.hoursOfOperation.extension", "path": "Location.hoursOfOperation.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": "Location.hoursOfOperation.modifierExtension", "path": "Location.hoursOfOperation.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": "Location.hoursOfOperation.daysOfWeek", "path": "Location.hoursOfOperation.daysOfWeek", "short": "mon | tue | wed | thu | fri | sat | sun", "definition": "Indicates which days of the week are available between the start and end Times.", "min": 0, "max": "*", "base": {"path": "Location.hoursOfOperation.daysOfWeek", "min": 0, "max": "*"}, "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": "DaysOfWeek"}], "strength": "required", "description": "The days of the week.", "valueSet": "http://hl7.org/fhir/ValueSet/days-of-week|4.0.1"}, "mapping": [{"identity": "rim", "map": ".effectiveTime"}]}, {"id": "Location.hoursOfOperation.allDay", "path": "Location.hoursOfOperation.allDay", "short": "The Location is open all day", "definition": "The Location is open all day.", "min": 0, "max": "1", "base": {"path": "Location.hoursOfOperation.allDay", "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": ".effectiveTime"}]}, {"id": "Location.hoursOfOperation.openingTime", "path": "Location.hoursOfOperation.openingTime", "short": "Time that the Location opens", "definition": "Time that the Location opens.", "min": 0, "max": "1", "base": {"path": "Location.hoursOfOperation.openingTime", "min": 0, "max": "1"}, "type": [{"code": "time"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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"}]}, {"id": "Location.hoursOfOperation.closingTime", "path": "Location.hoursOfOperation.closingTime", "short": "Time that the Location closes", "definition": "Time that the Location closes.", "min": 0, "max": "1", "base": {"path": "Location.hoursOfOperation.closingTime", "min": 0, "max": "1"}, "type": [{"code": "time"}], "constraint": [{"key": "ele-1", "severity": "error", "human": "All FHIR elements must 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"}]}, {"id": "Location.availabilityExceptions", "path": "Location.availabilityExceptions", "short": "Description of availability exceptions", "definition": "A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times.", "min": 0, "max": "1", "base": {"path": "Location.availabilityExceptions", "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": "rim", "map": "n/a"}]}, {"id": "Location.endpoint", "path": "Location.endpoint", "short": "Technical endpoints providing access to services operated for the location", "definition": "Technical endpoints providing access to services operated for the location.", "requirements": "Organizations may have different systems at different locations 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": "Location.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": "Location", "path": "Location", "short": "A location in an Australian healthcare context", "constraint": [{"key": "au-core-loc-01", "severity": "error", "human": "The location shall at least have a valid identifier or address or type", "expression": "address.exists() or type.exists() or identifier.where(system.count() + value.count() >1).exists()", "xpath": "exists(f:address) or exists(f:type) or exists(f:identifier)", "source": "http://hl7.org.au/fhir/core/StructureDefinition/au-core-location"}]}, {"id": "Location.identifier", "path": "Location.identifier", "condition": ["au-core-loc-01"]}, {"id": "Location.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": "Location.name", "mustSupport": true}, {"id": "Location.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": "Location.type", "condition": ["au-core-loc-01"], "mustSupport": true}, {"id": "Location.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": "Location.address", "condition": ["au-core-loc-01"], "mustSupport": true}, {"id": "Location.physicalType", "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": "Location.physicalType", "mustSupport": true}, {"id": "Location.managingOrganization", "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": "Location.managingOrganization", "type": [{"code": "Reference", "targetProfile": ["http://hl7.org.au/fhir/core/StructureDefinition/au-core-organization"]}], "mustSupport": true}]}}, "must_support_paths": [], "fallback_used": false, "source_package": "hl7.fhir.au.core-1.1.0#preview"}


