From fd60a031ff4ac26274a6014825008f352b1fdd98 Mon Sep 17 00:00:00 2001 From: Lee Surprenant Date: Tue, 17 May 2022 18:03:35 -0400 Subject: [PATCH] issue #3641 - package US Core 5.0.0 artifacts and refine our approach for src/test/java tools to avoid the need to have a different set of the same classes for each version of the IG Signed-off-by: Lee Surprenant --- .../{CHANGELOG => CHANGELOG.md} | 30 +- conformance/fhir-ig-us-core/pom.xml | 7 + .../ig/us/core/USCore500ResourceProvider.java | 16 + ....registry.spi.FHIRRegistryResourceProvider | 3 +- ...ital-frontal-circumference-percentile.json | 8 +- ...ctureDefinition-pediatric-bmi-for-age.json | 8 +- ...efinition-pediatric-weight-for-height.json | 8 +- ...Definition-us-core-allergyintolerance.json | 4 +- ...tureDefinition-us-core-blood-pressure.json | 12 +- .../StructureDefinition-us-core-bmi.json | 8 +- ...ructureDefinition-us-core-body-height.json | 8 +- ...reDefinition-us-core-body-temperature.json | 8 +- ...ructureDefinition-us-core-body-weight.json | 8 +- .../StructureDefinition-us-core-careplan.json | 6 +- .../StructureDefinition-us-core-careteam.json | 24 +- ...StructureDefinition-us-core-condition.json | 16 +- ...finition-us-core-diagnosticreport-lab.json | 28 +- ...inition-us-core-diagnosticreport-note.json | 32 +- ...eDefinition-us-core-documentreference.json | 36 +- ...StructureDefinition-us-core-encounter.json | 28 +- .../StructureDefinition-us-core-goal.json | 4 +- ...Definition-us-core-head-circumference.json | 8 +- ...tructureDefinition-us-core-heart-rate.json | 8 +- ...uctureDefinition-us-core-immunization.json | 4 +- ...Definition-us-core-implantable-device.json | 4 +- .../StructureDefinition-us-core-location.json | 8 +- ...eDefinition-us-core-medicationrequest.json | 44 +- ...ureDefinition-us-core-observation-lab.json | 4 +- ...uctureDefinition-us-core-organization.json | 4 +- .../StructureDefinition-us-core-patient.json | 16 +- ...reDefinition-us-core-practitionerrole.json | 12 +- ...StructureDefinition-us-core-procedure.json | 8 +- ...tructureDefinition-us-core-provenance.json | 24 +- ...tureDefinition-us-core-pulse-oximetry.json | 12 +- ...reDefinition-us-core-respiratory-rate.json | 8 +- ...ctureDefinition-us-core-smokingstatus.json | 16 +- ...ructureDefinition-us-core-vital-signs.json | 12 +- .../package/ValueSet-us-core-usps-state.json | 696 +- .../hl7/fhir/us/core/500/package/.index.json | 1567 +++++ .../CapabilityStatement-us-core-client.json | 5493 ++++++++++++++++ .../CapabilityStatement-us-core-server.json | 5493 ++++++++++++++++ .../package/CodeSystem-careplan-category.json | 51 + .../CodeSystem-condition-category.json | 80 + ...em-us-core-documentreference-category.json | 53 + ...deSystem-us-core-observation-category.json | 52 + ...m-us-core-provenance-participant-type.json | 51 + .../500/package/CodeSystem-us-core-tags.json | 51 + .../ImplementationGuide-hl7.fhir.us.core.json | 5593 +++++++++++++++++ .../package/OperationDefinition-docref.json | 101 + ...re-allergyintolerance-clinical-status.json | 68 + ...er-us-core-allergyintolerance-patient.json | 71 + ...chParameter-us-core-careplan-category.json | 68 + ...SearchParameter-us-core-careplan-date.json | 153 + ...rchParameter-us-core-careplan-patient.json | 71 + ...archParameter-us-core-careplan-status.json | 1 + ...rchParameter-us-core-careteam-patient.json | 71 + ...SearchParameter-us-core-careteam-role.json | 66 + ...archParameter-us-core-careteam-status.json | 1 + ...eter-us-core-condition-abatement-date.json | 153 + ...meter-us-core-condition-asserted-date.json | 151 + ...hParameter-us-core-condition-category.json | 68 + ...ter-us-core-condition-clinical-status.json | 68 + ...earchParameter-us-core-condition-code.json | 68 + ...Parameter-us-core-condition-encounter.json | 71 + ...arameter-us-core-condition-onset-date.json | 153 + ...chParameter-us-core-condition-patient.json | 71 + ...meter-us-core-condition-recorded-date.json | 153 + ...earchParameter-us-core-device-patient.json | 71 + .../SearchParameter-us-core-device-type.json | 68 + ...ter-us-core-diagnosticreport-category.json | 68 + ...rameter-us-core-diagnosticreport-code.json | 68 + ...rameter-us-core-diagnosticreport-date.json | 153 + ...eter-us-core-diagnosticreport-patient.json | 71 + ...meter-us-core-diagnosticreport-status.json | 1 + ...er-us-core-documentreference-category.json | 68 + ...ameter-us-core-documentreference-date.json | 153 + ...arameter-us-core-documentreference-id.json | 68 + ...ter-us-core-documentreference-patient.json | 71 + ...eter-us-core-documentreference-period.json | 153 + ...eter-us-core-documentreference-status.json | 1 + ...ameter-us-core-documentreference-type.json | 68 + ...archParameter-us-core-encounter-class.json | 68 + ...earchParameter-us-core-encounter-date.json | 153 + ...-core-encounter-discharge-disposition.json | 66 + .../SearchParameter-us-core-encounter-id.json | 68 + ...arameter-us-core-encounter-identifier.json | 68 + ...hParameter-us-core-encounter-location.json | 71 + ...chParameter-us-core-encounter-patient.json | 71 + ...rchParameter-us-core-encounter-status.json | 1 + ...earchParameter-us-core-encounter-type.json | 68 + .../SearchParameter-us-core-ethnicity.json | 66 + ...rchParameter-us-core-goal-description.json | 67 + ...rameter-us-core-goal-lifecycle-status.json | 1 + .../SearchParameter-us-core-goal-patient.json | 71 + ...rchParameter-us-core-goal-target-date.json | 153 + ...chParameter-us-core-immunization-date.json | 153 + ...arameter-us-core-immunization-patient.json | 71 + ...Parameter-us-core-immunization-status.json | 1 + ...rameter-us-core-location-address-city.json | 68 + ...r-us-core-location-address-postalcode.json | 68 + ...ameter-us-core-location-address-state.json | 68 + ...rchParameter-us-core-location-address.json | 68 + ...SearchParameter-us-core-location-name.json | 68 + ...-us-core-medicationrequest-authoredon.json | 153 + ...r-us-core-medicationrequest-encounter.json | 71 + ...eter-us-core-medicationrequest-intent.json | 1 + ...ter-us-core-medicationrequest-patient.json | 71 + ...eter-us-core-medicationrequest-status.json | 1 + ...arameter-us-core-observation-category.json | 68 + ...rchParameter-us-core-observation-code.json | 68 + ...rchParameter-us-core-observation-date.json | 153 + ...Parameter-us-core-observation-patient.json | 71 + ...hParameter-us-core-observation-status.json | 1 + ...arameter-us-core-organization-address.json | 68 + ...chParameter-us-core-organization-name.json | 68 + ...chParameter-us-core-patient-birthdate.json | 153 + ...earchParameter-us-core-patient-family.json | 68 + ...meter-us-core-patient-gender-identity.json | 66 + ...earchParameter-us-core-patient-gender.json | 1 + ...SearchParameter-us-core-patient-given.json | 68 + .../SearchParameter-us-core-patient-id.json | 68 + ...hParameter-us-core-patient-identifier.json | 68 + .../SearchParameter-us-core-patient-name.json | 68 + ...archParameter-us-core-practitioner-id.json | 68 + ...meter-us-core-practitioner-identifier.json | 68 + ...chParameter-us-core-practitioner-name.json | 68 + ...us-core-practitionerrole-practitioner.json | 93 + ...er-us-core-practitionerrole-specialty.json | 68 + ...earchParameter-us-core-procedure-code.json | 68 + ...earchParameter-us-core-procedure-date.json | 153 + ...chParameter-us-core-procedure-patient.json | 71 + ...rchParameter-us-core-procedure-status.json | 1 + ...s-core-questionnaireresponse-authored.json | 153 + ...eter-us-core-questionnaireresponse-id.json | 68 + ...us-core-questionnaireresponse-patient.json | 71 + ...e-questionnaireresponse-questionnaire.json | 71 + ...-us-core-questionnaireresponse-status.json | 1 + ...ter-us-core-questionnaireresponse-tag.json | 68 + .../package/SearchParameter-us-core-race.json | 66 + ...rchParameter-us-core-relatedperson-id.json | 68 + ...rameter-us-core-relatedperson-patient.json | 71 + ...meter-us-core-servicerequest-authored.json | 153 + ...meter-us-core-servicerequest-category.json | 68 + ...Parameter-us-core-servicerequest-code.json | 68 + ...chParameter-us-core-servicerequest-id.json | 68 + ...ameter-us-core-servicerequest-patient.json | 71 + ...rameter-us-core-servicerequest-status.json | 1 + ...ital-frontal-circumference-percentile.json | 3816 +++++++++++ ...ctureDefinition-pediatric-bmi-for-age.json | 3816 +++++++++++ ...efinition-pediatric-weight-for-height.json | 3818 +++++++++++ ...Definition-us-core-allergyintolerance.json | 1842 ++++++ .../StructureDefinition-us-core-birthsex.json | 327 + ...tureDefinition-us-core-blood-pressure.json | 5189 +++++++++++++++ .../StructureDefinition-us-core-bmi.json | 3813 +++++++++++ ...ructureDefinition-us-core-body-height.json | 3820 +++++++++++ ...reDefinition-us-core-body-temperature.json | 3820 +++++++++++ ...ructureDefinition-us-core-body-weight.json | 3820 +++++++++++ .../StructureDefinition-us-core-careplan.json | 3294 ++++++++++ .../StructureDefinition-us-core-careteam.json | 1512 +++++ ...us-core-condition-encounter-diagnosis.json | 2354 +++++++ ...re-condition-problems-health-concerns.json | 2406 +++++++ ...finition-us-core-diagnosticreport-lab.json | 2002 ++++++ ...inition-us-core-diagnosticreport-note.json | 2049 ++++++ .../StructureDefinition-us-core-direct.json | 318 + ...eDefinition-us-core-documentreference.json | 3246 ++++++++++ ...StructureDefinition-us-core-encounter.json | 4211 +++++++++++++ ...StructureDefinition-us-core-ethnicity.json | 1211 ++++ ...n-us-core-extension-questionnaire-uri.json | 293 + ...tureDefinition-us-core-genderIdentity.json | 294 + .../StructureDefinition-us-core-goal.json | 1585 +++++ ...Definition-us-core-head-circumference.json | 3820 +++++++++++ ...tructureDefinition-us-core-heart-rate.json | 3814 +++++++++++ ...uctureDefinition-us-core-immunization.json | 3184 ++++++++++ ...Definition-us-core-implantable-device.json | 2997 +++++++++ .../StructureDefinition-us-core-location.json | 2508 ++++++++ ...tructureDefinition-us-core-medication.json | 1370 ++++ ...eDefinition-us-core-medicationrequest.json | 4429 +++++++++++++ ...ion-us-core-observation-clinical-test.json | 3030 +++++++++ ...efinition-us-core-observation-imaging.json | 3030 +++++++++ ...ureDefinition-us-core-observation-lab.json | 3153 ++++++++++ ...n-us-core-observation-sdoh-assessment.json | 3067 +++++++++ ...s-core-observation-sexual-orientation.json | 2924 +++++++++ ...on-us-core-observation-social-history.json | 3189 ++++++++++ ...Definition-us-core-observation-survey.json | 3343 ++++++++++ ...uctureDefinition-us-core-organization.json | 2982 +++++++++ .../StructureDefinition-us-core-patient.json | 4763 ++++++++++++++ ...uctureDefinition-us-core-practitioner.json | 3344 ++++++++++ ...reDefinition-us-core-practitionerrole.json | 2090 ++++++ ...StructureDefinition-us-core-procedure.json | 2492 ++++++++ ...tructureDefinition-us-core-provenance.json | 2949 +++++++++ ...tureDefinition-us-core-pulse-oximetry.json | 5509 ++++++++++++++++ ...inition-us-core-questionnaireresponse.json | 3106 +++++++++ .../StructureDefinition-us-core-race.json | 1213 ++++ ...ctureDefinition-us-core-relatedperson.json | 1297 ++++ ...reDefinition-us-core-respiratory-rate.json | 3814 +++++++++++ ...tureDefinition-us-core-servicerequest.json | 2566 ++++++++ ...ctureDefinition-us-core-smokingstatus.json | 3041 +++++++++ ...ructureDefinition-us-core-vital-signs.json | 3622 +++++++++++ .../core/500/package/ValueSet-birthsex.json | 56 + .../package/ValueSet-detailed-ethnicity.json | 56 + .../500/package/ValueSet-detailed-race.json | 63 + .../ValueSet-omb-ethnicity-category.json | 56 + .../package/ValueSet-omb-race-category.json | 62 + .../500/package/ValueSet-simple-language.json | 76 + .../ValueSet-us-core-clinical-note-type.json | 66 + .../ValueSet-us-core-clinical-test-codes.json | 1437 +++++ ...ueSet-us-core-common-sdoh-assessments.json | 193 + .../ValueSet-us-core-condition-code.json | 94 + ...Set-us-core-diagnosticreport-category.json | 63 + ...et-us-core-diagnosticreport-lab-codes.json | 56 + ...iagnosticreport-report-and-note-codes.json | 57 + ...alueSet-us-core-discharge-disposition.json | 49 + ...et-us-core-documentreference-category.json | 49 + ...lueSet-us-core-documentreference-type.json | 65 + .../ValueSet-us-core-encounter-type.json | 63 + .../ValueSet-us-core-goal-description.json | 56 + .../ValueSet-us-core-narrative-status.json | 59 + ...ValueSet-us-core-observation-category.json | 61 + ...ore-observation-smoking-status-status.json | 57 + ...us-core-observation-smokingstatus-max.json | 49 + ...ueSet-us-core-observation-value-codes.json | 49 + ...Set-us-core-problem-or-health-concern.json | 62 + .../ValueSet-us-core-procedure-code.json | 75 + ...t-us-core-provenance-participant-type.json | 53 + .../ValueSet-us-core-provider-role.json | 49 + ...ueSet-us-core-servicerequest-category.json | 73 + .../ValueSet-us-core-sexual-orientation.json | 77 + ...core-smoking-status-observation-codes.json | 55 + .../ValueSet-us-core-survey-codes.json | 56 + .../500/package/ValueSet-us-core-tags.json | 49 + .../package/ValueSet-us-core-usps-state.json | 353 ++ .../package/ValueSet-us-core-vital-signs.json | 75 + .../hl7/fhir/us/core/500/package/ig-r4.json | 5162 +++++++++++++++ .../hl7/fhir/us/core/500/package/package.json | 36 + .../ig/us/core/test/v311/ProfileTest.java | 32 +- .../ig/us/core/test/v400/ProfileTest.java | 38 +- .../ig/us/core/test/v500/ConformanceTest.java | 655 ++ .../ig/us/core/test/v500/ProfileTest.java | 76 + .../ig/us/core/test/v500/ProviderTest.java | 92 + .../CapabilitiesToConfigGeneratorMain.java | 2 +- .../tool/{v311 => }/ResourceProcessor.java | 18 +- .../{v400 => }/SearchParameterAugmenter.java | 24 +- .../tool/v311/SearchParameterAugmenter.java | 123 - .../us/core/tool/v400/ResourceProcessor.java | 78 - .../src/test/resources/JSON/311/.index.json | 428 ++ .../src/test/resources/JSON/311/index.txt | 84 - .../src/test/resources/JSON/400/.index.json | 428 ++ .../src/test/resources/JSON/400/index.txt | 84 - .../src/test/resources/JSON/500/.index.json | 793 +++ .../JSON/500/AllergyIntolerance-example.json | 1 + ...-66c8856b-ba11-4876-8aa8-467aad8c11a2.json | 1 + ...-c887e62f-6166-419f-8268-b5ecd6c7b901.json | 1 + .../resources/JSON/500/Bundle-uscore-mo3.json | 1 + .../JSON/500/CarePlan-colonoscopy.json | 1 + .../resources/JSON/500/CareTeam-example.json | 1 + .../500/Condition-condition-SDOH-example.json | 1 + ...ondition-encounter-diagnosis-example1.json | 1 + ...ondition-encounter-diagnosis-example2.json | 1 + .../500/Condition-health-concern-example.json | 1 + .../test/resources/JSON/500/Device-udi-1.json | 1 + .../test/resources/JSON/500/Device-udi-2.json | 1 + .../test/resources/JSON/500/Device-udi-3.json | 1 + .../DiagnosticReport-bone-density-report.json | 1 + .../DiagnosticReport-cardiology-report.json | 1 + .../JSON/500/DiagnosticReport-cbc.json | 1 + .../DiagnosticReport-chest-xray-report.json | 1 + .../500/DiagnosticReport-metabolic-panel.json | 1 + .../DocumentReference-episode-summary.json | 1 + .../resources/JSON/500/Encounter-1036.json | 1 + .../JSON/500/Encounter-delivery.json | 1 + .../JSON/500/Encounter-example-1.json | 1 + .../test/resources/JSON/500/Goal-goal-1.json | 1 + .../resources/JSON/500/Goal-goal-sdoh-2.json | 1 + .../JSON/500/Immunization-imm-1.json | 1 + .../resources/JSON/500/Location-hl7east.json | 1 + .../resources/JSON/500/Location-hospital.json | 1 + .../resources/JSON/500/Media-chest-xray.json | 1 + .../resources/JSON/500/Media-ekg-strip.json | 1 + .../JSON/500/Medication-uscore-med1.json | 1 + .../JSON/500/Medication-uscore-med2.json | 1 + .../500/MedicationRequest-self-tylenol.json | 1 + .../500/MedicationRequest-uscore-mo1.json | 1 + .../500/MedicationRequest-uscore-mo2.json | 1 + .../Observation-10-minute-apgar-color.json | 1 + ...bservation-10-minute-apgar-heart-rate.json | 1 + ...servation-10-minute-apgar-muscle-tone.json | 1 + ...n-10-minute-apgar-reflex-irritability.json | 1 + ...on-10-minute-apgar-respiratory-effort.json | 1 + ...servation-10-minute-apgar-score-panel.json | 1 + .../Observation-10-minute-apgar-score.json | 1 + ...rvation-AHC-HRSN-item-example-44250-9.json | 1 + ...rvation-AHC-HRSN-item-example-44255-8.json | 1 + ...rvation-AHC-HRSN-item-example-68516-4.json | 1 + ...rvation-AHC-HRSN-item-example-68517-2.json | 1 + ...rvation-AHC-HRSN-item-example-68524-8.json | 1 + ...rvation-AHC-HRSN-item-example-69858-9.json | 1 + ...rvation-AHC-HRSN-item-example-69861-3.json | 1 + ...rvation-AHC-HRSN-item-example-76513-1.json | 1 + ...rvation-AHC-HRSN-item-example-89555-7.json | 1 + ...rvation-AHC-HRSN-item-example-93038-8.json | 1 + ...rvation-AHC-HRSN-item-example-93159-2.json | 1 + ...rvation-AHC-HRSN-item-example-95530-2.json | 1 + ...rvation-AHC-HRSN-item-example-96780-2.json | 1 + ...rvation-AHC-HRSN-item-example-96781-0.json | 1 + ...rvation-AHC-HRSN-item-example-96782-8.json | 1 + ...rvation-AHC-HRSN-item-example-96842-0.json | 1 + ...rvation-AHC-HRSN-item-example-97027-7.json | 1 + ...vation-AHC-HRSN-panel-example-96777-8.json | 1 + .../Observation-HVS-item-example-88122-7.json | 1 + .../Observation-HVS-item-example-88123-5.json | 1 + .../Observation-HVS-item-example-88124-3.json | 1 + ...Observation-HVS-panel-example-88121-9.json | 1 + ...ervation-PRAPARE-item-example-54899-0.json | 1 + ...ervation-PRAPARE-item-example-56051-6.json | 1 + ...ervation-PRAPARE-item-example-56799-0.json | 1 + ...ervation-PRAPARE-item-example-63512-8.json | 1 + ...ervation-PRAPARE-item-example-63586-2.json | 1 + ...ervation-PRAPARE-item-example-67875-5.json | 1 + ...ervation-PRAPARE-item-example-71802-3.json | 1 + ...ervation-PRAPARE-item-example-76437-3.json | 1 + ...ervation-PRAPARE-item-example-76501-6.json | 1 + ...ervation-PRAPARE-item-example-82589-3.json | 1 + ...ervation-PRAPARE-item-example-93026-3.json | 1 + ...ervation-PRAPARE-item-example-93027-1.json | 1 + ...ervation-PRAPARE-item-example-93028-9.json | 1 + ...ervation-PRAPARE-item-example-93029-7.json | 1 + ...ervation-PRAPARE-item-example-93030-5.json | 1 + ...ervation-PRAPARE-item-example-93033-9.json | 1 + ...ervation-PRAPARE-item-example-93034-7.json | 1 + ...ervation-PRAPARE-item-example-93035-4.json | 1 + ...ervation-PRAPARE-item-example-93038-8.json | 1 + ...tiselect-item-example-32624-9-answer0.json | 1 + ...tiselect-item-example-32624-9-answer1.json | 1 + ...tiselect-item-example-93031-3-answer0.json | 1 + ...tiselect-item-example-93031-3-answer1.json | 1 + ...rvation-PRAPARE-panel-example-93025-5.json | 1 + ...rvation-PRAPARE-panel-example-93039-6.json | 1 + ...rvation-PRAPARE-panel-example-93040-4.json | 1 + ...rvation-PRAPARE-panel-example-93041-2.json | 1 + ...rvation-PRAPARE-panel-example-93042-0.json | 1 + ...rvation-PRAPARE-panel-example-93043-8.json | 1 + .../JSON/500/Observation-blood-glucose.json | 1 + .../JSON/500/Observation-blood-pressure.json | 1 + .../resources/JSON/500/Observation-bmi.json | 1 + .../JSON/500/Observation-bp-data-absent.json | 1 + .../resources/JSON/500/Observation-bun.json | 1 + ...vation-capillary-refill-time-nail-bed.json | 1 + .../Observation-dxa-femur-l-armass-bmd.json | 1 + .../Observation-dxa-femur-l-t-score-bmd.json | 1 + .../Observation-dxa-femur-l-z-score-bmd.json | 1 + .../500/Observation-dxa-hip-l-armass-bmd.json | 1 + .../Observation-dxa-hip-l-t-score-bmd.json | 1 + .../Observation-dxa-hip-l-z-score-bmd.json | 1 + .../JSON/500/Observation-ekg-impression.json | 1 + .../JSON/500/Observation-ekg-lead.json | 1 + .../JSON/500/Observation-erythrocytes.json | 1 + .../500/Observation-head-circumference.json | 1 + .../500/Observation-heart-rate-rhythm.json | 1 + .../JSON/500/Observation-heart-rate.json | 1 + .../JSON/500/Observation-height.json | 1 + .../JSON/500/Observation-hemoglobin.json | 1 + .../Observation-jugular-vein-distension.json | 1 + .../JSON/500/Observation-length.json | 1 + .../resources/JSON/500/Observation-mchc.json | 1 + .../JSON/500/Observation-neutrophils.json | 1 + .../JSON/500/Observation-ofc-percentile.json | 1 + .../500/Observation-oxygen-saturation.json | 1 + .../Observation-p-r-interval-ekg-lead.json | 1 + .../Observation-pediatric-bmi-example.json | 1 + .../500/Observation-pediatric-wt-example.json | 1 + ...Observation-pulse-intensity-palpation.json | 1 + .../Observation-q-t-interval-ekg-lead.json | 1 + .../500/Observation-qrs-dur-ekg-lead.json | 1 + .../500/Observation-respiratory-rate.json | 1 + .../JSON/500/Observation-satO2-fiO2.json | 1 + .../JSON/500/Observation-serum-calcium.json | 1 + .../JSON/500/Observation-serum-chloride.json | 1 + .../JSON/500/Observation-serum-co2.json | 1 + .../500/Observation-serum-creatinine.json | 1 + .../JSON/500/Observation-serum-potassium.json | 1 + .../JSON/500/Observation-serum-sodium.json | 1 + .../Observation-serum-total-bilirubin.json | 1 + ...bservation-sexual-orientation-example.json | 1 + ...tion-socialhistory-assessment-example.json | 1 + .../JSON/500/Observation-some-day-smoker.json | 1 + .../JSON/500/Observation-temperature.json | 1 + .../JSON/500/Observation-urobilinogen.json | 1 + .../JSON/500/Observation-weight.json | 1 + .../500/Observation-xray-chest-findings.json | 1 + .../Observation-xray-chest-impression.json | 1 + .../JSON/500/Organization-acme-lab.json | 1 + .../Organization-example-organization-2.json | 1 + .../Organization-saint-luke-w-endpoint.json | 1 + .../JSON/500/Patient-child-example.json | 1 + .../resources/JSON/500/Patient-example.json | 1 + .../JSON/500/Patient-infant-example.json | 1 + .../JSON/500/Practitioner-practitioner-1.json | 1 + .../JSON/500/Practitioner-practitioner-2.json | 1 + .../JSON/500/Procedure-defib-implant.json | 1 + .../resources/JSON/500/Procedure-rehab.json | 1 + ...reResponse-AHC-HRSN-screening-example.json | 1 + ...QuestionnaireResponse-PRAPARE-example.json | 1 + ...stionnaireResponse-glascow-coma-score.json | 1 + ...ireResponse-hunger-vital-sign-example.json | 1 + .../JSON/500/RelatedPerson-shaw-niece.json | 1 + .../ServiceRequest-foodpantry-referral.json | 1 + .../ibm/fhir/registry/test/ExampleIndex.java | 344 + .../ibm/fhir/term/util/ValueSetSupport.java | 2 +- 408 files changed, 184056 insertions(+), 989 deletions(-) rename conformance/fhir-ig-us-core/{CHANGELOG => CHANGELOG.md} (57%) create mode 100644 conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore500ResourceProvider.java create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/.index.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CapabilityStatement-us-core-client.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CapabilityStatement-us-core-server.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-careplan-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-condition-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-documentreference-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-observation-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-provenance-participant-type.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-tags.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ImplementationGuide-hl7.fhir.us.core.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/OperationDefinition-docref.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-allergyintolerance-clinical-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-allergyintolerance-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-role.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-abatement-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-asserted-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-clinical-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-code.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-encounter.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-onset-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-recorded-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-device-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-device-type.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-code.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-id.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-period.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-type.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-class.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-discharge-disposition.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-id.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-identifier.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-location.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-type.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-ethnicity.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-description.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-lifecycle-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-target-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-city.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-postalcode.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-state.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-name.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-authoredon.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-encounter.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-intent.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-code.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-organization-address.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-organization-name.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-birthdate.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-family.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-gender-identity.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-gender.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-given.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-id.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-identifier.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-name.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-id.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-identifier.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-name.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitionerrole-practitioner.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitionerrole-specialty.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-code.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-date.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-authored.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-id.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-questionnaire.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-tag.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-race.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-relatedperson-id.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-relatedperson-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-authored.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-code.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-id.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-pediatric-bmi-for-age.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-pediatric-weight-for-height.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-allergyintolerance.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-birthsex.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-blood-pressure.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-bmi.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-height.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-temperature.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-weight.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-careplan.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-careteam.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-condition-encounter-diagnosis.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-condition-problems-health-concerns.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-diagnosticreport-lab.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-diagnosticreport-note.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-direct.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-documentreference.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-encounter.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-ethnicity.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-extension-questionnaire-uri.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-genderIdentity.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-goal.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-head-circumference.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-heart-rate.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-immunization.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-implantable-device.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-location.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-medication.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-medicationrequest.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-clinical-test.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-imaging.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-lab.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-sdoh-assessment.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-sexual-orientation.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-social-history.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-survey.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-organization.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-patient.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-practitioner.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-practitionerrole.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-procedure.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-provenance.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-pulse-oximetry.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-questionnaireresponse.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-race.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-relatedperson.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-respiratory-rate.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-servicerequest.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-smokingstatus.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-vital-signs.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-birthsex.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-detailed-ethnicity.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-detailed-race.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-omb-ethnicity-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-omb-race-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-simple-language.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-clinical-note-type.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-clinical-test-codes.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-common-sdoh-assessments.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-condition-code.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-lab-codes.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-discharge-disposition.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-documentreference-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-documentreference-type.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-encounter-type.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-goal-description.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-narrative-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-smoking-status-status.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-smokingstatus-max.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-value-codes.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-problem-or-health-concern.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-procedure-code.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-provenance-participant-type.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-provider-role.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-servicerequest-category.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-sexual-orientation.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-smoking-status-observation-codes.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-survey-codes.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-tags.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-usps-state.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-vital-signs.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ig-r4.json create mode 100644 conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/package.json create mode 100644 conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ConformanceTest.java create mode 100644 conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ProfileTest.java create mode 100644 conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ProviderTest.java rename conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/{v311 => }/ResourceProcessor.java (85%) rename conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/{v400 => }/SearchParameterAugmenter.java (85%) delete mode 100644 conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/SearchParameterAugmenter.java delete mode 100644 conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/ResourceProcessor.java create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/311/.index.json delete mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/311/index.txt create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/400/.index.json delete mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/400/index.txt create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/.index.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/AllergyIntolerance-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-uscore-mo3.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/CarePlan-colonoscopy.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/CareTeam-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-condition-SDOH-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-encounter-diagnosis-example1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-encounter-diagnosis-example2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-health-concern-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-3.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-bone-density-report.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-cardiology-report.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-cbc.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-chest-xray-report.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-metabolic-panel.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/DocumentReference-episode-summary.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-1036.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-delivery.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-example-1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Goal-goal-1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Goal-goal-sdoh-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Immunization-imm-1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Location-hl7east.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Location-hospital.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Media-chest-xray.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Media-ekg-strip.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Medication-uscore-med1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Medication-uscore-med2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-self-tylenol.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-uscore-mo1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-uscore-mo2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-color.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-heart-rate.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-muscle-tone.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-reflex-irritability.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-respiratory-effort.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-score-panel.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-score.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-44250-9.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-44255-8.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68516-4.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68517-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68524-8.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-69858-9.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-69861-3.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-76513-1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-89555-7.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-93038-8.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-93159-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-95530-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96780-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96781-0.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96782-8.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96842-0.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-97027-7.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-panel-example-96777-8.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88122-7.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88123-5.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88124-3.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-panel-example-88121-9.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-54899-0.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-56051-6.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-56799-0.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-63512-8.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-63586-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-67875-5.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-71802-3.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-76437-3.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-76501-6.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-82589-3.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93026-3.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93027-1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93028-9.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93029-7.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93030-5.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93033-9.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93034-7.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93035-4.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93038-8.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-32624-9-answer0.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-32624-9-answer1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-93031-3-answer0.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-93031-3-answer1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93025-5.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93039-6.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93040-4.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93041-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93042-0.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93043-8.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-blood-glucose.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-blood-pressure.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bmi.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bp-data-absent.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bun.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-capillary-refill-time-nail-bed.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-armass-bmd.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-t-score-bmd.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-z-score-bmd.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-armass-bmd.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-t-score-bmd.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-z-score-bmd.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ekg-impression.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ekg-lead.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-erythrocytes.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-head-circumference.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-heart-rate-rhythm.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-heart-rate.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-height.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-hemoglobin.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-jugular-vein-distension.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-length.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-mchc.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-neutrophils.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ofc-percentile.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-oxygen-saturation.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-p-r-interval-ekg-lead.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pediatric-bmi-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pediatric-wt-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pulse-intensity-palpation.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-q-t-interval-ekg-lead.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-qrs-dur-ekg-lead.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-respiratory-rate.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-satO2-fiO2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-calcium.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-chloride.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-co2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-creatinine.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-potassium.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-sodium.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-total-bilirubin.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-sexual-orientation-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-socialhistory-assessment-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-some-day-smoker.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-temperature.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-urobilinogen.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-weight.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-xray-chest-findings.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-xray-chest-impression.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-acme-lab.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-example-organization-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-saint-luke-w-endpoint.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-child-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-infant-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Practitioner-practitioner-1.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Practitioner-practitioner-2.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Procedure-defib-implant.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/Procedure-rehab.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-AHC-HRSN-screening-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-PRAPARE-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-glascow-coma-score.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-hunger-vital-sign-example.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/RelatedPerson-shaw-niece.json create mode 100644 conformance/fhir-ig-us-core/src/test/resources/JSON/500/ServiceRequest-foodpantry-referral.json create mode 100644 fhir-registry/src/test/java/com/ibm/fhir/registry/test/ExampleIndex.java diff --git a/conformance/fhir-ig-us-core/CHANGELOG b/conformance/fhir-ig-us-core/CHANGELOG.md similarity index 57% rename from conformance/fhir-ig-us-core/CHANGELOG rename to conformance/fhir-ig-us-core/CHANGELOG.md index 680de54cc32..f43fceaf233 100644 --- a/conformance/fhir-ig-us-core/CHANGELOG +++ b/conformance/fhir-ig-us-core/CHANGELOG.md @@ -1,4 +1,5 @@ -# US Core 3.1.1 (Version 2) - STU311 +# Changes +## US Core 3.1.1 (Version 2) - STU311 Source - http://hl7.org/fhir/us/core/STU3.1.1/ - Removed 3.1.0 Artifacts - Updated to 3.1.1 Artifacts STU3.1.1 @@ -20,7 +21,7 @@ Source - http://hl7.org/fhir/us/core/STU3.1.1/ - Updated Examples to point to 3.1.1 profile - Update the StructureDefinitions and other artifacts for 3.1.1 internal references with target profiles and valueset bindings. -# US Core 4.0.0 - STU4 +## US Core 4.0.0 - STU4 Source - https://www.hl7.org/fhir/us/core/stu4/ - Examples are under src/test/resources/JSON/400 - Replace all narrative text with minimal placeholder for space efficiency @@ -28,6 +29,27 @@ Source - https://www.hl7.org/fhir/us/core/stu4/ - Move provenance-1 constraint from Provenance.agent.onBehalfOf to Provenance.agent and fix the expression (https://jira.hl7.org/browse/FHIR-36328) - Fix Condition constraint us-core-1 expression (https://jira.hl7.org/browse/FHIR-36336) - Replace the packaged USPS valueset with an expanded version obtained from https://tx.fhir.org/r4/ValueSet/$expand?url=http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state on 2022-03-28 +- Added version id to each targetProfile canonical reference (e.g. `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient` -> `http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0`) +- Added version id to each valueSet binding target (e.g. `http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs` -> `http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0`) -# Re-check after each update to the IG -- Update the http://hl7.org/fhir/us/core/ValueSet-us-core-usps-state.html valueset from https://tx.fhir.org (if needed) \ No newline at end of file + +## US Core 5.0.0 - STU5 +Source - https://hl7.org/fhir/us/core/stu5/ +- Modified ig-r4.json to remove parameters that aren't valid in FHIR R4 +- Replace ® with ® in the following examples: + - Procedure-defib-implant.json + - Encounter-example-1.json + + +# Steps to update + +1. download the npm package for whatever version of us core you want (and note what downloads we used from where in this file) +2. update `src/main/resources` with the latest conformance artifacts and `src/test/resources` with the latest examples +3. if its a new version + - ensure references from the previous package are version-specific (e.g. to avoid a 3.1.1 profile from picking up a 5.0.0 valueset during validation) + - add a new provider (`src/main/java` and `src/main/resources/META-INF`) + - create tests for this new version (copy tests from the existing versions into a new package for this version) +3. update the http://hl7.org/fhir/us/core/ValueSet-us-core-usps-state.html valueset from https://tx.fhir.org (if needed) + - https://tx.fhir.org/r4/ValueSet/$expand?url=http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state +4. execute ResourceProcessor.java from src/test/java with the proper arguments +5. execute SearchParameterAugmenter from src/test/java with the proper arguments \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/pom.xml b/conformance/fhir-ig-us-core/pom.xml index f5ca053068c..546c25cb393 100644 --- a/conformance/fhir-ig-us-core/pom.xml +++ b/conformance/fhir-ig-us-core/pom.xml @@ -20,6 +20,13 @@ fhir-registry ${project.version} + + ${project.groupId} + fhir-registry + ${project.version} + test + test-jar + org.testng testng diff --git a/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore500ResourceProvider.java b/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore500ResourceProvider.java new file mode 100644 index 00000000000..1c9c5a4b529 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/java/com/ibm/fhir/ig/us/core/USCore500ResourceProvider.java @@ -0,0 +1,16 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core; + +import com.ibm.fhir.registry.util.PackageRegistryResourceProvider; + +public class USCore500ResourceProvider extends PackageRegistryResourceProvider { + @Override + public String getPackageId() { + return "hl7.fhir.us.core.500"; + } +} diff --git a/conformance/fhir-ig-us-core/src/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider b/conformance/fhir-ig-us-core/src/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider index 19745b0ae97..19820597e65 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider +++ b/conformance/fhir-ig-us-core/src/main/resources/META-INF/services/com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider @@ -1,2 +1,3 @@ com.ibm.fhir.ig.us.core.USCore311ResourceProvider -com.ibm.fhir.ig.us.core.USCore400ResourceProvider \ No newline at end of file +com.ibm.fhir.ig.us.core.USCore400ResourceProvider +com.ibm.fhir.ig.us.core.USCore500ResourceProvider \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json index 4084bd0f786..897bbb254f4 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1437,7 +1437,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1484,7 +1484,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3441,7 +3441,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-bmi-for-age.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-bmi-for-age.json index 80164be091c..fea1840e8fc 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-bmi-for-age.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-bmi-for-age.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1437,7 +1437,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1484,7 +1484,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3441,7 +3441,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-weight-for-height.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-weight-for-height.json index 044a2b3656f..44e14b5048e 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-weight-for-height.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-pediatric-weight-for-height.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1437,7 +1437,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1484,7 +1484,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3441,7 +3441,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-allergyintolerance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-allergyintolerance.json index a05b8d09ff0..c45b8aaa241 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-allergyintolerance.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-allergyintolerance.json @@ -895,7 +895,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1813,7 +1813,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-blood-pressure.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-blood-pressure.json index ba299fce99d..24f6edf8ebc 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-blood-pressure.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-blood-pressure.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1436,7 +1436,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1483,7 +1483,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3086,7 +3086,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -3593,7 +3593,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -4393,7 +4393,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-bmi.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-bmi.json index c338a7076e6..a27a3a5bb7a 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-bmi.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-bmi.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1436,7 +1436,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1483,7 +1483,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3440,7 +3440,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-height.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-height.json index 6e7b788c506..4e529fcf3a1 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-height.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-height.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1436,7 +1436,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1483,7 +1483,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3443,7 +3443,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-temperature.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-temperature.json index 621f280d2da..5fdb0ab7897 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-temperature.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-temperature.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1436,7 +1436,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1483,7 +1483,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3443,7 +3443,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-weight.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-weight.json index 333a2a016e6..0e729a80d60 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-weight.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-body-weight.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1436,7 +1436,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1483,7 +1483,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3443,7 +3443,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careplan.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careplan.json index c1b52ca1ee6..90d5c6b96fe 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careplan.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careplan.json @@ -1274,7 +1274,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3184,7 +3184,7 @@ "binding": { "strength": "required", "description": "Constrained value set of narrative statuses.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status|4.0.0" }, "mapping": [ { @@ -3309,7 +3309,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careteam.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careteam.json index 1ae98e9c66c..c8107febcf1 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careteam.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-careteam.json @@ -639,7 +639,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1008,11 +1008,11 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], "_targetProfile": [ @@ -1392,7 +1392,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1449,11 +1449,11 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], "_targetProfile": [ diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-condition.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-condition.json index 92d2fe2de4b..b919c039804 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-condition.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-condition.json @@ -183,7 +183,7 @@ "key": "us-core-1", "severity": "warning", "human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.", - "expression": "category.where(memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()", + "expression": "category.where(memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category|4.0.0')).exists()", "xpath": "(no xpath equivalent)" } ], @@ -752,7 +752,7 @@ "isSummary": false, "binding": { "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category|4.0.0" }, "mapping": [ { @@ -878,7 +878,7 @@ "binding": { "strength": "extensible", "description": "Valueset to describe the actual problem experienced by the patient", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code|4.0.0" }, "mapping": [ { @@ -987,7 +987,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -2019,7 +2019,7 @@ "key": "us-core-1", "severity": "warning", "human": "A code in Condition.category SHOULD be from US Core Condition Category Codes value set.", - "expression": "category.where(memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category')).exists()", + "expression": "category.where(memberOf('http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category|4.0.0')).exists()", "xpath": "(no xpath equivalent)" } ], @@ -2092,7 +2092,7 @@ "mustSupport": true, "binding": { "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category|4.0.0" }, "mapping": [ { @@ -2115,7 +2115,7 @@ "binding": { "strength": "extensible", "description": "Valueset to describe the actual problem experienced by the patient", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code|4.0.0" }, "mapping": [ { @@ -2133,7 +2133,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-lab.json index e414e7a695d..c3047ccdc08 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-lab.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-lab.json @@ -824,7 +824,7 @@ "binding": { "strength": "extensible", "description": "LOINC codes", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes|4.0.0" }, "mapping": [ { @@ -865,7 +865,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1105,10 +1105,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0" ], "_targetProfile": [ { @@ -1312,7 +1312,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|4.0.0" ] } ], @@ -1870,7 +1870,7 @@ "binding": { "strength": "extensible", "description": "LOINC codes", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes|4.0.0" } }, { @@ -1882,7 +1882,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1933,10 +1933,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0" ], "_targetProfile": [ { @@ -1986,7 +1986,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-note.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-note.json index 5e42c83701e..ef6ddb5e0ce 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-note.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-diagnosticreport-note.json @@ -683,7 +683,7 @@ "isSummary": true, "binding": { "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category|4.0.0" }, "mapping": [ { @@ -737,7 +737,7 @@ "binding": { "strength": "extensible", "description": "LOINC codes", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes|4.0.0" }, "mapping": [ { @@ -778,7 +778,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -839,7 +839,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|4.0.0" ] } ], @@ -1019,10 +1019,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|4.0.0" ], "_targetProfile": [ { @@ -1742,7 +1742,7 @@ "isModifier": false, "binding": { "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category|4.0.0" } }, { @@ -1763,7 +1763,7 @@ "binding": { "strength": "extensible", "description": "LOINC codes", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes|4.0.0" } }, { @@ -1786,7 +1786,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1801,7 +1801,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|4.0.0" ] } ], @@ -1852,10 +1852,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam|4.0.0" ], "_targetProfile": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-documentreference.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-documentreference.json index 10c7367eca6..0695c7161a5 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-documentreference.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-documentreference.json @@ -755,12 +755,12 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", - "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type" + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type|4.0.0" } ], "strength": "required", "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type|4.0.0" }, "mapping": [ { @@ -830,7 +830,7 @@ "binding": { "strength": "extensible", "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category|4.0.0" }, "mapping": [ { @@ -871,7 +871,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -993,10 +993,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Device" ], @@ -2565,7 +2565,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|4.0.0" ] } ], @@ -2967,12 +2967,12 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", - "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type" + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type|4.0.0" } ], "strength": "required", "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type|4.0.0" } }, { @@ -2984,7 +2984,7 @@ "binding": { "strength": "extensible", "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category|4.0.0" } }, { @@ -2996,7 +2996,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3018,10 +3018,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Device" ], @@ -3156,7 +3156,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-encounter.json index 0bb34356848..37267f9da18 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-encounter.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-encounter.json @@ -1591,7 +1591,7 @@ "binding": { "strength": "extensible", "description": "Valueset to describe the Encounter Type", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type|4.0.0" }, "mapping": [ { @@ -1742,7 +1742,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -2174,8 +2174,8 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], "_targetProfile": [ @@ -2466,8 +2466,8 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|4.0.0", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" ], @@ -3877,7 +3877,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0" ] } ], @@ -4046,7 +4046,7 @@ "binding": { "strength": "extensible", "description": "Valueset to describe the Encounter Type", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type|4.0.0" } }, { @@ -4061,7 +4061,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -4107,8 +4107,8 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], "_targetProfile": [ @@ -4178,8 +4178,8 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure|4.0.0", "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" ], @@ -4271,7 +4271,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-goal.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-goal.json index add8ebded9e..86e1136ed90 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-goal.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-goal.json @@ -787,7 +787,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1556,7 +1556,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-head-circumference.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-head-circumference.json index c677fcfff56..824b0a1c3fc 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-head-circumference.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-head-circumference.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1436,7 +1436,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1483,7 +1483,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3443,7 +3443,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-heart-rate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-heart-rate.json index ee045e7c704..fea533b0b8f 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-heart-rate.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-heart-rate.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1436,7 +1436,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1483,7 +1483,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3440,7 +3440,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-immunization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-immunization.json index 894bdd4075e..f5122e7d046 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-immunization.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-immunization.json @@ -728,7 +728,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3117,7 +3117,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-implantable-device.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-implantable-device.json index c32769b3cbf..ae4b53c5721 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-implantable-device.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-implantable-device.json @@ -2528,7 +2528,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -2998,7 +2998,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-location.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-location.json index 59dad4fd298..363a7efcfbb 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-location.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-location.json @@ -1371,7 +1371,7 @@ "binding": { "strength": "extensible", "description": "Two letter USPS alphabetic codes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|4.0.0" }, "mapping": [ { @@ -1908,7 +1908,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0" ] } ], @@ -2495,7 +2495,7 @@ "binding": { "strength": "extensible", "description": "Two letter USPS alphabetic codes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|4.0.0" }, "mapping": [ { @@ -2526,7 +2526,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medicationrequest.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medicationrequest.json index 87a05f4833c..49ae28b3276 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medicationrequest.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-medicationrequest.json @@ -875,10 +875,10 @@ ], "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], "_targetProfile": [ @@ -969,7 +969,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|4.0.0" ] } ], @@ -1034,7 +1034,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1099,7 +1099,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|4.0.0" ] } ], @@ -1263,10 +1263,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Device" ], @@ -4131,10 +4131,10 @@ ], "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ], "_targetProfile": [ @@ -4201,7 +4201,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication|4.0.0" ] } ], @@ -4226,7 +4226,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -4247,7 +4247,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter|4.0.0" ] } ], @@ -4281,10 +4281,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Device" ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-observation-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-observation-lab.json index 98a83881d9f..cc2a556448d 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-observation-lab.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-observation-lab.json @@ -970,7 +970,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3001,7 +3001,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-organization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-organization.json index a88aefda399..fd52849a9f0 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-organization.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-organization.json @@ -2207,7 +2207,7 @@ "binding": { "strength": "extensible", "description": "Two letter USPS alphabetic codes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|4.0.0" }, "mapping": [ { @@ -3054,7 +3054,7 @@ "binding": { "strength": "extensible", "description": "Two letter USPS alphabetic codes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-patient.json index 628790bf91f..71549147119 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-patient.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-patient.json @@ -439,7 +439,7 @@ { "code": "Extension", "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|4.0.0" ] } ], @@ -490,7 +490,7 @@ { "code": "Extension", "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|4.0.0" ] } ], @@ -542,7 +542,7 @@ { "code": "Extension", "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex|4.0.0" ] } ], @@ -2740,7 +2740,7 @@ "binding": { "strength": "extensible", "description": "Two Letter USPS alphabetic codes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|4.0.0" }, "mapping": [ { @@ -4318,7 +4318,7 @@ { "code": "Extension", "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race|4.0.0" ] } ], @@ -4340,7 +4340,7 @@ { "code": "Extension", "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity|4.0.0" ] } ], @@ -4362,7 +4362,7 @@ { "code": "Extension", "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex|4.0.0" ] } ], @@ -4669,7 +4669,7 @@ "binding": { "strength": "extensible", "description": "Two Letter USPS alphabetic codes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitionerrole.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitionerrole.json index 85398a1e36d..457f2429045 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitionerrole.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-practitionerrole.json @@ -641,7 +641,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0" ] } ], @@ -684,7 +684,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0" ] } ], @@ -746,7 +746,7 @@ "binding": { "strength": "extensible", "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role|4.0.0" }, "mapping": [ { @@ -1982,7 +1982,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0" ] } ], @@ -2000,7 +2000,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0" ] } ], @@ -2023,7 +2023,7 @@ "binding": { "strength": "extensible", "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role|4.0.0" } }, { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-procedure.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-procedure.json index 0ca37ca52c2..64618b594ea 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-procedure.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-procedure.json @@ -899,7 +899,7 @@ "binding": { "strength": "extensible", "description": "Codes describing the type of Procedure", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code|4.0.0" }, "mapping": [ { @@ -943,7 +943,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -2406,7 +2406,7 @@ "binding": { "strength": "extensible", "description": "Codes describing the type of Procedure", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code|4.0.0" }, "mapping": [ { @@ -2424,7 +2424,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-provenance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-provenance.json index 671da35f372..8b1acdc4508 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-provenance.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-provenance.json @@ -1352,7 +1352,7 @@ "isSummary": true, "binding": { "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type|4.0.0" }, "mapping": [ { @@ -1442,10 +1442,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Device" ], @@ -1531,7 +1531,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0" ] } ], @@ -2821,7 +2821,7 @@ "isModifier": false, "binding": { "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type|4.0.0" } }, { @@ -2833,10 +2833,10 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole|4.0.0", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Device" ], @@ -2889,7 +2889,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0" ] } ], diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-pulse-oximetry.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-pulse-oximetry.json index 160894c405c..d33f1afc2bc 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-pulse-oximetry.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-pulse-oximetry.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1429,7 +1429,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1782,7 +1782,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3384,7 +3384,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -3891,7 +3891,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -4697,7 +4697,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-respiratory-rate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-respiratory-rate.json index 76549275c14..f0210f5b295 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-respiratory-rate.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-respiratory-rate.json @@ -72,7 +72,7 @@ "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs|4.0.0", "derivation": "constraint", "snapshot": { "element": [ @@ -1436,7 +1436,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1483,7 +1483,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3440,7 +3440,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-smokingstatus.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-smokingstatus.json index cd6e19a3fe1..4d0dd5cdf92 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-smokingstatus.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-smokingstatus.json @@ -710,7 +710,7 @@ "isSummary": true, "binding": { "strength": "required", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status|4.0.0" }, "mapping": [ { @@ -902,7 +902,7 @@ "isSummary": true, "binding": { "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes|4.0.0" }, "mapping": [ { @@ -953,7 +953,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -1438,7 +1438,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", - "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max" + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max|4.0.0" } ], "strength": "preferred", @@ -2915,7 +2915,7 @@ "mustSupport": true, "binding": { "strength": "required", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status|4.0.0" }, "mapping": [ { @@ -2980,7 +2980,7 @@ "mustSupport": true, "binding": { "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes|4.0.0" }, "mapping": [ { @@ -2998,7 +2998,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3039,7 +3039,7 @@ "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", - "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max" + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max|4.0.0" } ], "strength": "preferred", diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-vital-signs.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-vital-signs.json index fbebc9b372f..f073b2345c8 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-vital-signs.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/StructureDefinition-us-core-vital-signs.json @@ -1428,7 +1428,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -1475,7 +1475,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3068,7 +3068,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" }, "mapping": [ { @@ -3443,7 +3443,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" } }, { @@ -3453,7 +3453,7 @@ { "code": "Reference", "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|4.0.0" ] } ], @@ -3550,7 +3550,7 @@ "binding": { "strength": "extensible", "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs|4.0.0" } }, { diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-usps-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-usps-state.json index e52a58fc02c..750dfcace42 100644 --- a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-usps-state.json +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/400/package/ValueSet-us-core-usps-state.json @@ -1,353 +1,353 @@ { - "resourceType" : "ValueSet", - "id" : "us-core-usps-state", - "language" : "en-US", - "url" : "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", - "identifier" : [ - { - "system" : "urn:ietf:rfc:3986", - "value" : "urn:oid:2.16.840.1.113883.4.642.3.40" - } - ], - "version" : "4.1.0", - "name" : "UspsTwoLetterAlphabeticCodes", - "title" : "USPS Two Letter Alphabetic Codes", - "status" : "active", - "date" : "2019-05-21", - "jurisdiction" : [ - { - "coding" : [ + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "language": "en-US", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "identifier": [ { - "system" : "urn:iso:std:iso:3166", - "code" : "US" + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.40" + } + ], + "version": "4.1.0", + "name": "UspsTwoLetterAlphabeticCodes", + "title": "USPS Two Letter Alphabetic Codes", + "status": "active", + "date": "2019-05-21", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] } - ] - } - ], - "expansion" : { - "identifier" : "urn:uuid:aae65f1e-5853-4bb4-8db9-2a2e2da2e48a", - "timestamp" : "2022-03-28T15:34:24.867Z", - "parameter" : [ - { - "name" : "expansion-source", - "valueUri" : "ValueSet/us-core-usps-state" - }, - { - "name" : "displayLanguage", - "valueString" : "en-US,en;q=0.9" - } ], - "contains" : [ - { - "system" : "https://www.usps.com/", - "code" : "AL", - "display" : "Alabama" - }, - { - "system" : "https://www.usps.com/", - "code" : "AK", - "display" : "Alaska" - }, - { - "system" : "https://www.usps.com/", - "code" : "AS", - "display" : "American Samoa" - }, - { - "system" : "https://www.usps.com/", - "code" : "AZ", - "display" : "Arizona" - }, - { - "system" : "https://www.usps.com/", - "code" : "AR", - "display" : "Arkansas" - }, - { - "system" : "https://www.usps.com/", - "code" : "CA", - "display" : "California" - }, - { - "system" : "https://www.usps.com/", - "code" : "CO", - "display" : "Colorado" - }, - { - "system" : "https://www.usps.com/", - "code" : "CT", - "display" : "Connecticut" - }, - { - "system" : "https://www.usps.com/", - "code" : "DE", - "display" : "Delaware" - }, - { - "system" : "https://www.usps.com/", - "code" : "DC", - "display" : "District of Columbia" - }, - { - "system" : "https://www.usps.com/", - "code" : "FM", - "display" : "Federated States of Micronesia" - }, - { - "system" : "https://www.usps.com/", - "code" : "FL", - "display" : "Florida" - }, - { - "system" : "https://www.usps.com/", - "code" : "GA", - "display" : "Georgia" - }, - { - "system" : "https://www.usps.com/", - "code" : "GU", - "display" : "Guam" - }, - { - "system" : "https://www.usps.com/", - "code" : "HI", - "display" : "Hawaii" - }, - { - "system" : "https://www.usps.com/", - "code" : "ID", - "display" : "Idaho" - }, - { - "system" : "https://www.usps.com/", - "code" : "IL", - "display" : "Illinois" - }, - { - "system" : "https://www.usps.com/", - "code" : "IN", - "display" : "Indiana" - }, - { - "system" : "https://www.usps.com/", - "code" : "IA", - "display" : "Iowa" - }, - { - "system" : "https://www.usps.com/", - "code" : "KS", - "display" : "Kansas" - }, - { - "system" : "https://www.usps.com/", - "code" : "KY", - "display" : "Kentucky" - }, - { - "system" : "https://www.usps.com/", - "code" : "LA", - "display" : "Louisiana" - }, - { - "system" : "https://www.usps.com/", - "code" : "ME", - "display" : "Maine" - }, - { - "system" : "https://www.usps.com/", - "code" : "MH", - "display" : "Marshall Islands" - }, - { - "system" : "https://www.usps.com/", - "code" : "MD", - "display" : "Maryland" - }, - { - "system" : "https://www.usps.com/", - "code" : "MA", - "display" : "Massachusetts" - }, - { - "system" : "https://www.usps.com/", - "code" : "MI", - "display" : "Michigan" - }, - { - "system" : "https://www.usps.com/", - "code" : "MN", - "display" : "Minnesota" - }, - { - "system" : "https://www.usps.com/", - "code" : "MS", - "display" : "Mississippi" - }, - { - "system" : "https://www.usps.com/", - "code" : "MO", - "display" : "Missouri" - }, - { - "system" : "https://www.usps.com/", - "code" : "MT", - "display" : "Montana" - }, - { - "system" : "https://www.usps.com/", - "code" : "NE", - "display" : "Nebraska" - }, - { - "system" : "https://www.usps.com/", - "code" : "NV", - "display" : "Nevada" - }, - { - "system" : "https://www.usps.com/", - "code" : "NH", - "display" : "New Hampshire" - }, - { - "system" : "https://www.usps.com/", - "code" : "NJ", - "display" : "New Jersey" - }, - { - "system" : "https://www.usps.com/", - "code" : "NM", - "display" : "New Mexico" - }, - { - "system" : "https://www.usps.com/", - "code" : "NY", - "display" : "New York" - }, - { - "system" : "https://www.usps.com/", - "code" : "NC", - "display" : "North Carolina" - }, - { - "system" : "https://www.usps.com/", - "code" : "ND", - "display" : "North Dakota" - }, - { - "system" : "https://www.usps.com/", - "code" : "MP", - "display" : "Northern Mariana Islands" - }, - { - "system" : "https://www.usps.com/", - "code" : "OH", - "display" : "Ohio" - }, - { - "system" : "https://www.usps.com/", - "code" : "OK", - "display" : "Oklahoma" - }, - { - "system" : "https://www.usps.com/", - "code" : "OR", - "display" : "Oregon" - }, - { - "system" : "https://www.usps.com/", - "code" : "PW", - "display" : "Palau" - }, - { - "system" : "https://www.usps.com/", - "code" : "PA", - "display" : "Pennsylvania" - }, - { - "system" : "https://www.usps.com/", - "code" : "PR", - "display" : "Puerto Rico" - }, - { - "system" : "https://www.usps.com/", - "code" : "RI", - "display" : "Rhode Island" - }, - { - "system" : "https://www.usps.com/", - "code" : "SC", - "display" : "South Carolina" - }, - { - "system" : "https://www.usps.com/", - "code" : "SD", - "display" : "South Dakota" - }, - { - "system" : "https://www.usps.com/", - "code" : "TN", - "display" : "Tennessee" - }, - { - "system" : "https://www.usps.com/", - "code" : "TX", - "display" : "Texas" - }, - { - "system" : "https://www.usps.com/", - "code" : "UT", - "display" : "Utah" - }, - { - "system" : "https://www.usps.com/", - "code" : "VT", - "display" : "Vermont" - }, - { - "system" : "https://www.usps.com/", - "code" : "VI", - "display" : "Virgin Islands" - }, - { - "system" : "https://www.usps.com/", - "code" : "VA", - "display" : "Virginia" - }, - { - "system" : "https://www.usps.com/", - "code" : "WA", - "display" : "Washington" - }, - { - "system" : "https://www.usps.com/", - "code" : "WV", - "display" : "West Virginia" - }, - { - "system" : "https://www.usps.com/", - "code" : "WI", - "display" : "Wisconsin" - }, - { - "system" : "https://www.usps.com/", - "code" : "WY", - "display" : "Wyoming" - }, - { - "system" : "https://www.usps.com/", - "code" : "AE", - "display" : "Armed Forces Europe, the Middle East, and Canada" - }, - { - "system" : "https://www.usps.com/", - "code" : "AP", - "display" : "Armed Forces Pacific" - }, - { - "system" : "https://www.usps.com/", - "code" : "AA", - "display" : "Armed Forces Americas (except Canada)" - } - ] - } + "expansion": { + "identifier": "urn:uuid:aae65f1e-5853-4bb4-8db9-2a2e2da2e48a", + "timestamp": "2022-03-28T15:34:24.867Z", + "parameter": [ + { + "name": "expansion-source", + "valueUri": "ValueSet/us-core-usps-state" + }, + { + "name": "displayLanguage", + "valueString": "en-US,en;q=0.9" + } + ], + "contains": [ + { + "system": "https://www.usps.com/", + "code": "AL", + "display": "Alabama" + }, + { + "system": "https://www.usps.com/", + "code": "AK", + "display": "Alaska" + }, + { + "system": "https://www.usps.com/", + "code": "AS", + "display": "American Samoa" + }, + { + "system": "https://www.usps.com/", + "code": "AZ", + "display": "Arizona" + }, + { + "system": "https://www.usps.com/", + "code": "AR", + "display": "Arkansas" + }, + { + "system": "https://www.usps.com/", + "code": "CA", + "display": "California" + }, + { + "system": "https://www.usps.com/", + "code": "CO", + "display": "Colorado" + }, + { + "system": "https://www.usps.com/", + "code": "CT", + "display": "Connecticut" + }, + { + "system": "https://www.usps.com/", + "code": "DE", + "display": "Delaware" + }, + { + "system": "https://www.usps.com/", + "code": "DC", + "display": "District of Columbia" + }, + { + "system": "https://www.usps.com/", + "code": "FM", + "display": "Federated States of Micronesia" + }, + { + "system": "https://www.usps.com/", + "code": "FL", + "display": "Florida" + }, + { + "system": "https://www.usps.com/", + "code": "GA", + "display": "Georgia" + }, + { + "system": "https://www.usps.com/", + "code": "GU", + "display": "Guam" + }, + { + "system": "https://www.usps.com/", + "code": "HI", + "display": "Hawaii" + }, + { + "system": "https://www.usps.com/", + "code": "ID", + "display": "Idaho" + }, + { + "system": "https://www.usps.com/", + "code": "IL", + "display": "Illinois" + }, + { + "system": "https://www.usps.com/", + "code": "IN", + "display": "Indiana" + }, + { + "system": "https://www.usps.com/", + "code": "IA", + "display": "Iowa" + }, + { + "system": "https://www.usps.com/", + "code": "KS", + "display": "Kansas" + }, + { + "system": "https://www.usps.com/", + "code": "KY", + "display": "Kentucky" + }, + { + "system": "https://www.usps.com/", + "code": "LA", + "display": "Louisiana" + }, + { + "system": "https://www.usps.com/", + "code": "ME", + "display": "Maine" + }, + { + "system": "https://www.usps.com/", + "code": "MH", + "display": "Marshall Islands" + }, + { + "system": "https://www.usps.com/", + "code": "MD", + "display": "Maryland" + }, + { + "system": "https://www.usps.com/", + "code": "MA", + "display": "Massachusetts" + }, + { + "system": "https://www.usps.com/", + "code": "MI", + "display": "Michigan" + }, + { + "system": "https://www.usps.com/", + "code": "MN", + "display": "Minnesota" + }, + { + "system": "https://www.usps.com/", + "code": "MS", + "display": "Mississippi" + }, + { + "system": "https://www.usps.com/", + "code": "MO", + "display": "Missouri" + }, + { + "system": "https://www.usps.com/", + "code": "MT", + "display": "Montana" + }, + { + "system": "https://www.usps.com/", + "code": "NE", + "display": "Nebraska" + }, + { + "system": "https://www.usps.com/", + "code": "NV", + "display": "Nevada" + }, + { + "system": "https://www.usps.com/", + "code": "NH", + "display": "New Hampshire" + }, + { + "system": "https://www.usps.com/", + "code": "NJ", + "display": "New Jersey" + }, + { + "system": "https://www.usps.com/", + "code": "NM", + "display": "New Mexico" + }, + { + "system": "https://www.usps.com/", + "code": "NY", + "display": "New York" + }, + { + "system": "https://www.usps.com/", + "code": "NC", + "display": "North Carolina" + }, + { + "system": "https://www.usps.com/", + "code": "ND", + "display": "North Dakota" + }, + { + "system": "https://www.usps.com/", + "code": "MP", + "display": "Northern Mariana Islands" + }, + { + "system": "https://www.usps.com/", + "code": "OH", + "display": "Ohio" + }, + { + "system": "https://www.usps.com/", + "code": "OK", + "display": "Oklahoma" + }, + { + "system": "https://www.usps.com/", + "code": "OR", + "display": "Oregon" + }, + { + "system": "https://www.usps.com/", + "code": "PW", + "display": "Palau" + }, + { + "system": "https://www.usps.com/", + "code": "PA", + "display": "Pennsylvania" + }, + { + "system": "https://www.usps.com/", + "code": "PR", + "display": "Puerto Rico" + }, + { + "system": "https://www.usps.com/", + "code": "RI", + "display": "Rhode Island" + }, + { + "system": "https://www.usps.com/", + "code": "SC", + "display": "South Carolina" + }, + { + "system": "https://www.usps.com/", + "code": "SD", + "display": "South Dakota" + }, + { + "system": "https://www.usps.com/", + "code": "TN", + "display": "Tennessee" + }, + { + "system": "https://www.usps.com/", + "code": "TX", + "display": "Texas" + }, + { + "system": "https://www.usps.com/", + "code": "UT", + "display": "Utah" + }, + { + "system": "https://www.usps.com/", + "code": "VT", + "display": "Vermont" + }, + { + "system": "https://www.usps.com/", + "code": "VI", + "display": "Virgin Islands" + }, + { + "system": "https://www.usps.com/", + "code": "VA", + "display": "Virginia" + }, + { + "system": "https://www.usps.com/", + "code": "WA", + "display": "Washington" + }, + { + "system": "https://www.usps.com/", + "code": "WV", + "display": "West Virginia" + }, + { + "system": "https://www.usps.com/", + "code": "WI", + "display": "Wisconsin" + }, + { + "system": "https://www.usps.com/", + "code": "WY", + "display": "Wyoming" + }, + { + "system": "https://www.usps.com/", + "code": "AE", + "display": "Armed Forces Europe, the Middle East, and Canada" + }, + { + "system": "https://www.usps.com/", + "code": "AP", + "display": "Armed Forces Pacific" + }, + { + "system": "https://www.usps.com/", + "code": "AA", + "display": "Armed Forces Americas (except Canada)" + } + ] + } } \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/.index.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/.index.json new file mode 100644 index 00000000000..7d5b38bc8ee --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/.index.json @@ -0,0 +1,1567 @@ +{ + "index-version": 1, + "files": [ + { + "filename": "ValueSet-us-core-discharge-disposition.json", + "resourceType": "ValueSet", + "id": "us-core-discharge-disposition", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-discharge-disposition", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-condition-recorded-date.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-recorded-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-recorded-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-goal-description.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-description", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-description", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-pediatric-weight-for-height.json", + "resourceType": "StructureDefinition", + "id": "pediatric-weight-for-height", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-goal-target-date.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-target-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-location-name.json", + "resourceType": "SearchParameter", + "id": "us-core-location-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-questionnaireresponse-status.json", + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-observation-category.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-device-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-device-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "ValueSet-us-core-smoking-status-observation-codes.json", + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-observation-code.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-immunization.json", + "resourceType": "StructureDefinition", + "id": "us-core-immunization", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization", + "version": "5.0.0", + "kind": "resource", + "type": "Immunization" + }, + { + "filename": "ValueSet-simple-language.json", + "resourceType": "ValueSet", + "id": "simple-language", + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-patient-family.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-family", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-diagnosticreport-note.json", + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-note", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "version": "5.0.0", + "kind": "resource", + "type": "DiagnosticReport" + }, + { + "filename": "SearchParameter-us-core-careplan-category.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-questionnaireresponse.json", + "resourceType": "StructureDefinition", + "id": "us-core-questionnaireresponse", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", + "version": "5.0.0", + "kind": "resource", + "type": "QuestionnaireResponse" + }, + { + "filename": "SearchParameter-us-core-patient-given.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-given", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "StructureDefinition-us-core-body-temperature.json", + "resourceType": "StructureDefinition", + "id": "us-core-body-temperature", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-blood-pressure.json", + "resourceType": "StructureDefinition", + "id": "us-core-blood-pressure", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-condition-category.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-careplan-date.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-questionnaireresponse-authored.json", + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-authored", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-authored", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "CodeSystem-condition-category.json", + "resourceType": "CodeSystem", + "id": "condition-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-status.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-id.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-servicerequest-category.json", + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-category", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "ValueSet-us-core-observation-value-codes.json", + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-patient-gender.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-gender", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-type.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-condition-abatement-date.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-abatement-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-abatement-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "ValueSet-us-core-observation-smoking-status-status.json", + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "5.0.0" + }, + { + "filename": "ValueSet-us-core-survey-codes.json", + "resourceType": "ValueSet", + "id": "us-core-survey-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-survey-codes", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-documentreference-category.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-documentreference-date.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "StructureDefinition-us-core-bmi.json", + "resourceType": "StructureDefinition", + "id": "us-core-bmi", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-encounter-location.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-location", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-location", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-procedure-code.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-condition-encounter.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-encounter", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-encounter", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-practitionerrole-practitioner.json", + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-practitioner", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-direct.json", + "resourceType": "StructureDefinition", + "id": "us-core-direct", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "version": "5.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-servicerequest-id.json", + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-id", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-respiratory-rate.json", + "resourceType": "StructureDefinition", + "id": "us-core-respiratory-rate", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-location-address-state.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-state", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-questionnaireresponse-id.json", + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-id", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-servicerequest-code.json", + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-code", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-ethnicity.json", + "resourceType": "SearchParameter", + "id": "us-core-ethnicity", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "ValueSet-us-core-clinical-test-codes.json", + "resourceType": "ValueSet", + "id": "us-core-clinical-test-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-test-codes", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-procedure.json", + "resourceType": "StructureDefinition", + "id": "us-core-procedure", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "version": "5.0.0", + "kind": "resource", + "type": "Procedure" + }, + { + "filename": "SearchParameter-us-core-patient-gender-identity.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-gender-identity", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender-identity", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-observation-social-history.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-social-history", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-practitionerrole-specialty.json", + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-specialty", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "ValueSet-us-core-clinical-note-type.json", + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-race.json", + "resourceType": "SearchParameter", + "id": "us-core-race", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-race", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-observation-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-procedure-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-relatedperson.json", + "resourceType": "StructureDefinition", + "id": "us-core-relatedperson", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "version": "5.0.0", + "kind": "resource", + "type": "RelatedPerson" + }, + { + "filename": "StructureDefinition-us-core-vital-signs.json", + "resourceType": "StructureDefinition", + "id": "us-core-vital-signs", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-questionnaireresponse-tag.json", + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-tag", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-tag", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "CapabilityStatement-us-core-server.json", + "resourceType": "CapabilityStatement", + "id": "us-core-server", + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", + "version": "5.0.0", + "kind": "requirements" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-category.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-observation-clinical-test.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-clinical-test", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-observation-smokingstatus-max.json", + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus-max", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-encounter-date.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "ValueSet-us-core-documentreference-category.json", + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "5.0.0" + }, + { + "filename": "ValueSet-us-core-documentreference-type.json", + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-condition-problems-health-concerns.json", + "resourceType": "StructureDefinition", + "id": "us-core-condition-problems-health-concerns", + "url": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns", + "version": "5.0.0", + "kind": "resource", + "type": "Condition" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-report-and-note-codes.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-condition-clinical-status.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-clinical-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-date.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-careteam-status.json", + "resourceType": "SearchParameter", + "id": "us-core-careteam-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-device-type.json", + "resourceType": "SearchParameter", + "id": "us-core-device-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-goal-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-heart-rate.json", + "resourceType": "StructureDefinition", + "id": "us-core-heart-rate", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-medication.json", + "resourceType": "StructureDefinition", + "id": "us-core-medication", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication", + "version": "5.0.0", + "kind": "resource", + "type": "Medication" + }, + { + "filename": "SearchParameter-us-core-immunization-date.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "ValueSet-us-core-encounter-type.json", + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-patient-birthdate.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-birthdate", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-questionnaireresponse-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-careplan-status.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-race.json", + "resourceType": "StructureDefinition", + "id": "us-core-race", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "version": "5.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "StructureDefinition-us-core-practitionerrole.json", + "resourceType": "StructureDefinition", + "id": "us-core-practitionerrole", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "version": "5.0.0", + "kind": "resource", + "type": "PractitionerRole" + }, + { + "filename": "SearchParameter-us-core-location-address-postalcode.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-postalcode", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-allergyintolerance-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-practitioner-id.json", + "resourceType": "SearchParameter", + "id": "us-core-practitioner-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-id", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "ValueSet-us-core-observation-category.json", + "resourceType": "ValueSet", + "id": "us-core-observation-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-category", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-patient.json", + "resourceType": "StructureDefinition", + "id": "us-core-patient", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "version": "5.0.0", + "kind": "resource", + "type": "Patient" + }, + { + "filename": "StructureDefinition-us-core-ethnicity.json", + "resourceType": "StructureDefinition", + "id": "us-core-ethnicity", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "version": "5.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-goal-lifecycle-status.json", + "resourceType": "SearchParameter", + "id": "us-core-goal-lifecycle-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-questionnaireresponse-questionnaire.json", + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-questionnaire", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-questionnaire", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-documentreference-period.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-period", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "StructureDefinition-pediatric-bmi-for-age.json", + "resourceType": "StructureDefinition", + "id": "pediatric-bmi-for-age", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-provider-role.json", + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-immunization-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "CapabilityStatement-us-core-client.json", + "resourceType": "CapabilityStatement", + "id": "us-core-client", + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", + "version": "5.0.0", + "kind": "requirements" + }, + { + "filename": "SearchParameter-us-core-condition-code.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-diagnosticreport-lab.json", + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-lab", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", + "version": "5.0.0", + "kind": "resource", + "type": "DiagnosticReport" + }, + { + "filename": "SearchParameter-us-core-relatedperson-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-relatedperson-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "ImplementationGuide-hl7.fhir.us.core.json", + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "5.0.0" + }, + { + "filename": "ValueSet-us-core-vital-signs.json", + "resourceType": "ValueSet", + "id": "us-core-vital-signs", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-condition-asserted-date.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-asserted-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-asserted-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-practitioner-name.json", + "resourceType": "SearchParameter", + "id": "us-core-practitioner-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-procedure-date.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "StructureDefinition-us-core-careteam.json", + "resourceType": "StructureDefinition", + "id": "us-core-careteam", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "version": "5.0.0", + "kind": "resource", + "type": "CareTeam" + }, + { + "filename": "SearchParameter-us-core-relatedperson-id.json", + "resourceType": "SearchParameter", + "id": "us-core-relatedperson-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-id", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-provenance.json", + "resourceType": "StructureDefinition", + "id": "us-core-provenance", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", + "version": "5.0.0", + "kind": "resource", + "type": "Provenance" + }, + { + "filename": "SearchParameter-us-core-observation-status.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-patient-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-procedure-status.json", + "resourceType": "SearchParameter", + "id": "us-core-procedure-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-status.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-careplan-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-careplan-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-genderIdentity.json", + "resourceType": "StructureDefinition", + "id": "us-core-genderIdentity", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity", + "version": "5.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "StructureDefinition-us-core-location.json", + "resourceType": "StructureDefinition", + "id": "us-core-location", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", + "version": "5.0.0", + "kind": "resource", + "type": "Location" + }, + { + "filename": "StructureDefinition-us-core-observation-sexual-orientation.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-sexual-orientation", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-diagnosticreport-lab-codes.json", + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-servicerequest-status.json", + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-head-occipital-frontal-circumference-percentile.json", + "resourceType": "StructureDefinition", + "id": "head-occipital-frontal-circumference-percentile", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-condition-encounter-diagnosis.json", + "resourceType": "StructureDefinition", + "id": "us-core-condition-encounter-diagnosis", + "url": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis", + "version": "5.0.0", + "kind": "resource", + "type": "Condition" + }, + { + "filename": "SearchParameter-us-core-immunization-status.json", + "resourceType": "SearchParameter", + "id": "us-core-immunization-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-practitioner-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-practitioner-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-medicationrequest.json", + "resourceType": "StructureDefinition", + "id": "us-core-medicationrequest", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", + "version": "5.0.0", + "kind": "resource", + "type": "MedicationRequest" + }, + { + "filename": "SearchParameter-us-core-allergyintolerance-clinical-status.json", + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-clinical-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-body-height.json", + "resourceType": "StructureDefinition", + "id": "us-core-body-height", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-extension-questionnaire-uri.json", + "resourceType": "StructureDefinition", + "id": "us-core-extension-questionnaire-uri", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri", + "version": "5.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-intent.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-intent", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-goal.json", + "resourceType": "StructureDefinition", + "id": "us-core-goal", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal", + "version": "5.0.0", + "kind": "resource", + "type": "Goal" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-status.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-location-address.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "StructureDefinition-us-core-allergyintolerance.json", + "resourceType": "StructureDefinition", + "id": "us-core-allergyintolerance", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance", + "version": "5.0.0", + "kind": "resource", + "type": "AllergyIntolerance" + }, + { + "filename": "CodeSystem-us-core-provenance-participant-type.json", + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-patient-name.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "ValueSet-us-core-sexual-orientation.json", + "resourceType": "ValueSet", + "id": "us-core-sexual-orientation", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-sexual-orientation", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-careteam-role.json", + "resourceType": "SearchParameter", + "id": "us-core-careteam-role", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-role", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-careteam-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-careteam-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-location-address-city.json", + "resourceType": "SearchParameter", + "id": "us-core-location-address-city", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-observation-date.json", + "resourceType": "SearchParameter", + "id": "us-core-observation-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-documentreference-status.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-status", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-servicerequest-authored.json", + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-authored", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-authored", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "ValueSet-us-core-usps-state.json", + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "version": "5.0.0" + }, + { + "filename": "ValueSet-us-core-provenance-participant-type.json", + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-condition-onset-date.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-onset-date", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-authoredon.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-authoredon", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "version": "5.0.0", + "type": "date" + }, + { + "filename": "ValueSet-omb-ethnicity-category.json", + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "5.0.0" + }, + { + "filename": "ValueSet-us-core-goal-description.json", + "resourceType": "ValueSet", + "id": "us-core-goal-description", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-goal-description", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-condition-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-condition-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "SearchParameter-us-core-documentreference-id.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-practitioner.json", + "resourceType": "StructureDefinition", + "id": "us-core-practitioner", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "version": "5.0.0", + "kind": "resource", + "type": "Practitioner" + }, + { + "filename": "ValueSet-us-core-condition-code.json", + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "5.0.0" + }, + { + "filename": "ValueSet-us-core-problem-or-health-concern.json", + "resourceType": "ValueSet", + "id": "us-core-problem-or-health-concern", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-problem-or-health-concern", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-organization-name.json", + "resourceType": "SearchParameter", + "id": "us-core-organization-name", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "SearchParameter-us-core-organization-address.json", + "resourceType": "SearchParameter", + "id": "us-core-organization-address", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "version": "5.0.0", + "type": "string" + }, + { + "filename": "StructureDefinition-us-core-encounter.json", + "resourceType": "StructureDefinition", + "id": "us-core-encounter", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter", + "version": "5.0.0", + "kind": "resource", + "type": "Encounter" + }, + { + "filename": "ValueSet-omb-race-category.json", + "resourceType": "ValueSet", + "id": "omb-race-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "version": "5.0.0" + }, + { + "filename": "ValueSet-us-core-narrative-status.json", + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-category.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-category", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-documentreference.json", + "resourceType": "StructureDefinition", + "id": "us-core-documentreference", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "version": "5.0.0", + "kind": "resource", + "type": "DocumentReference" + }, + { + "filename": "ig-r4.json", + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-head-circumference.json", + "resourceType": "StructureDefinition", + "id": "us-core-head-circumference", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "CodeSystem-us-core-tags.json", + "resourceType": "CodeSystem", + "id": "us-core-tags", + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-patient-id.json", + "resourceType": "SearchParameter", + "id": "us-core-patient-id", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-birthsex.json", + "resourceType": "StructureDefinition", + "id": "us-core-birthsex", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "version": "5.0.0", + "kind": "complex-type", + "type": "Extension" + }, + { + "filename": "OperationDefinition-docref.json", + "resourceType": "OperationDefinition", + "id": "docref", + "url": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "version": "5.0.0", + "kind": "operation", + "type": "true" + }, + { + "filename": "SearchParameter-us-core-servicerequest-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "ValueSet-us-core-tags.json", + "resourceType": "ValueSet", + "id": "us-core-tags", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-tags", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-observation-lab.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-lab", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-observation-imaging.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-imaging", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "CodeSystem-careplan-category.json", + "resourceType": "CodeSystem", + "id": "careplan-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "5.0.0" + }, + { + "filename": "ValueSet-birthsex.json", + "resourceType": "ValueSet", + "id": "birthsex", + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-pulse-oximetry.json", + "resourceType": "StructureDefinition", + "id": "us-core-pulse-oximetry", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-implantable-device.json", + "resourceType": "StructureDefinition", + "id": "us-core-implantable-device", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", + "version": "5.0.0", + "kind": "resource", + "type": "Device" + }, + { + "filename": "SearchParameter-us-core-diagnosticreport-code.json", + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-code", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "ValueSet-detailed-ethnicity.json", + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-observation-sdoh-assessment.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-sdoh-assessment", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "ValueSet-us-core-common-sdoh-assessments.json", + "resourceType": "ValueSet", + "id": "us-core-common-sdoh-assessments", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-common-sdoh-assessments", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-documentreference-type.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-type", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "SearchParameter-us-core-encounter-discharge-disposition.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-discharge-disposition", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-discharge-disposition", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "CodeSystem-us-core-documentreference-category.json", + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "5.0.0" + }, + { + "filename": "SearchParameter-us-core-encounter-class.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-class", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "StructureDefinition-us-core-servicerequest.json", + "resourceType": "StructureDefinition", + "id": "us-core-servicerequest", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest", + "version": "5.0.0", + "kind": "resource", + "type": "ServiceRequest" + }, + { + "filename": "SearchParameter-us-core-documentreference-patient.json", + "resourceType": "SearchParameter", + "id": "us-core-documentreference-patient", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "StructureDefinition-us-core-careplan.json", + "resourceType": "StructureDefinition", + "id": "us-core-careplan", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", + "version": "5.0.0", + "kind": "resource", + "type": "CarePlan" + }, + { + "filename": "SearchParameter-us-core-medicationrequest-encounter.json", + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-encounter", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "version": "5.0.0", + "type": "reference" + }, + { + "filename": "ValueSet-us-core-procedure-code.json", + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-smokingstatus.json", + "resourceType": "StructureDefinition", + "id": "us-core-smokingstatus", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "StructureDefinition-us-core-body-weight.json", + "resourceType": "StructureDefinition", + "id": "us-core-body-weight", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + }, + { + "filename": "SearchParameter-us-core-encounter-identifier.json", + "resourceType": "SearchParameter", + "id": "us-core-encounter-identifier", + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "version": "5.0.0", + "type": "token" + }, + { + "filename": "ValueSet-detailed-race.json", + "resourceType": "ValueSet", + "id": "detailed-race", + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-organization.json", + "resourceType": "StructureDefinition", + "id": "us-core-organization", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "version": "5.0.0", + "kind": "resource", + "type": "Organization" + }, + { + "filename": "ValueSet-us-core-servicerequest-category.json", + "resourceType": "ValueSet", + "id": "us-core-servicerequest-category", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-servicerequest-category", + "version": "5.0.0" + }, + { + "filename": "CodeSystem-us-core-observation-category.json", + "resourceType": "CodeSystem", + "id": "us-core-observation-category", + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category", + "version": "5.0.0" + }, + { + "filename": "StructureDefinition-us-core-observation-survey.json", + "resourceType": "StructureDefinition", + "id": "us-core-observation-survey", + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "version": "5.0.0", + "kind": "resource", + "type": "Observation" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CapabilityStatement-us-core-client.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CapabilityStatement-us-core-client.json new file mode 100644 index 00000000000..1dd9a2bfba0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CapabilityStatement-us-core-client.json @@ -0,0 +1,5493 @@ +{ + "resourceType": "CapabilityStatement", + "id": "us-core-client", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client", + "version": "5.0.0", + "name": "UsCoreClientCapabilityStatement", + "title": "US Core Client CapabilityStatement", + "status": "active", + "experimental": false, + "date": "2022-05-04T20:36:17.985710-08:00", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "kind": "requirements", + "instantiates": [ + "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-client" + ], + "_instantiates": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "fhirVersion": "4.0.1", + "format": [ + "json", + "xml" + ], + "_format": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "patchFormat": [ + "application/json-patch+json" + ], + "_patchFormat": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "implementationGuide": [ + "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch", + "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata" + ], + "_implementationGuide": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "rest": [ + { + "mode": "client", + "documentation": "The US Core Client **SHALL**:\n\n1. Support fetching and querying of one or more US Core profile(s), using the supported RESTful interactions and search parameters declared in the US Core Server CapabilityStatement.\n1. Follow the requirements documented in the [General Requirements](general-requirements.html) and [Must Support](must-support.html) pages", + "security": { + "description": "1. See the [General Security Considerations](security.html) section for requirements and recommendations." + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "AllergyIntolerance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CarePlan", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Additional considerations for systems aligning with [HL7 Consolidated (C-CDA)](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=492) Care Plan requirements:\n - US Core Goal **SHOULD** be present in CarePlan.goal\n - US Core Condition **SHOULD** be present in CarePlan.addresses\n - Assement and Plan **MAY** be included as narrative text", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "role" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CareTeam", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "In order to access care team member's names, identifiers, locations, and contact information, the CareTeam profile supports several types of care team participants. They are represented as references to other profiles and include the following four profiles which are marked as must support:\n 1. US Core Practitioner Profile\n 1. US Core PractitionerRole Profile\n 1. US Core Patient Profile\n 1. US Core RelatedPerson Profile\n\n * Although *both* US Core Practitioner Profile and US Core PractitionerRole are must support, the server system is not required to support both types of references (and `_include` search parameters), but **SHALL** support *at least* one of them.\n * The client application **SHALL** support all four profile references.\n * Bacause the *US Core PractitionerRole Profile* supplies the provider's location and contact information and a reference to the Practitioner, server systems **SHOULD** reference it instead of the *US Core Practitioner Profile*.\n * Servers that supports only *US Core Practitioner Profile* **SHALL** provide implementation specific guidance how to access a provider's location and contact information using only the Practitioner resource.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "CareTeam:participant:PractitionerRole", + "CareTeam:participant:Practitioner", + "CareTeam:participant:Patient", + "CareTeam:participant:RelatedPerson" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "role", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-role", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "abatement-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "asserted-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "encounter" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "recorded-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "onset-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Condition", + "supportedProfile": [ + "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis", + "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* For Encounter Diagnosis use the *US Core Condition Encounter Diagnosis Profile*.\n * When `Condition.category` is \"encounter-diagnosis\" the encounter, **SHOULD** be referenced in `Condition.encounter`.\n* For Problems and Health Concerns use the *US Core Condition Problems and Health Concerns Profile*.\n * When `Condition.category` is a \"problems-list-item\", the `Condition.clinicalStatus **SHOULD NOT** be unknown.\n* There is no single element in Condition that represents the date of diagnosis. It may be the assertedDate Extension, `Condition.onsetDate`, or `Condition.recordedDate`.\n * Although all three are marked as must support, the server is not required to support all.\n\t* A server **SHALL** support `Condition.recordedDate`.\n * A server **SHALL** support at least one of [assertedDate Extension] and `Condition.onsetDate`. A server may support both, which means they support all 3 locations.\n * The client application **SHALL** support all three elements.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "onset-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "asserted-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-asserted-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "recorded-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-recorded-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "abatement-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-abatement-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "encounter", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-encounter", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Device", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Implantable medical devices that have UDI information **SHALL** represent the UDI code in `Device.udiCarrier.carrierHRF`.\n - All of the five UDI-PI elements that are present in the UDI code **SHALL** be represented in the corresponding US Core Implantable Device Profile element.\n \n UDI may not be present in all scenarios such as historical implantable devices, patient reported implant information, payer reported devices, or improperly documented implants. If UDI is not present and the manufacturer and/or model number information is available, they **SHOULD** be included to support historical reports of implantable medical devices as follows:\n\n manufacturer -> `Device.manufacturer` \n model -> `Device.model` \n\n* Servers **SHOULD** support query by Device.type to allow clients to request the patient's devices by a specific type. Note: The Device.type is too granular to differentiate implantable vs. non-implantable devices.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DiagnosticReport", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create", + "documentation": "This conformance expectation applies **only** to the *US Core DiagnosticReport Profile for Report and Note exchange* profile. The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is **MAY**." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + }, + { + "url": "required", + "valueString": "period" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DocumentReference", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The `DocumentReference.type` binding **SHALL** support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set\n* The DocumentReference resources can represent the referenced content using either an address where the document can be retrieved using `DocumentReference.attachment.url` or the content as inline base64 encoded data using `DocumentReference.attachment.data`.\n * Although both are marked as must support, the server system is not required to support both an address and inline base64 encoded data, but **SHALL** support at least one of these elements.\n * The client application **SHALL** support both elements.\n * The `content.url` may refer to a FHIR Binary Resource (i.e. [base]/Binary/[id]), FHIR Document Bundle (i.e [base]/Bundle/[id] or other endpoint.\n * If the endpoint is outside of the FHIR base URL, it **SHOULD NOT** require additional authorization to access.\n* The organization responsible for the DocumentReference **SHALL** be present either in `DocumentReference.custodian` or accessible in the Provenance resource targeting the DocumentReference using `Provenance.agent.who` or `Provenance.agent.onBehalfOf`.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "period", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ], + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "docref", + "definition": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "documentation": "A client **SHOULD** be capable of transacting a $docref operation and capable of receiving at least a reference to a generated CCD document, and **MAY** be able to receive other document types, if available. **SHOULD** be capable of receiving documents as included resources in response to the operation.\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "discharge-disposition" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "class" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "location" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "date" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Encounter", + "documentation": "* The Encounter resource can represent a reason using either a code with `Encounter.reasonCode`, or a reference with `Encounter.reasonReference` to Condition or other resource.\n * Although both are marked as must support, the server systems are not required to support both a code and a reference, but they **SHALL** support *at least one* of these elements.\n * The client application **SHALL** support both elements.\n * if `Encounter.reasonReference` references an Observation, it **SHOULD** conform to a US Core Observation if applicable. (for example, a laboratory result should conform to the US Core Laboratory Result Observation Profile)\n\n* The location address can be represented by either by the Location referenced by `Encounter.location.location` or indirectly through the Organization referenced by `Encounter.serviceProvider`.\n * Although both are marked as must support, the server systems are not required to support both `Encounter.location.location` and `Encounter.serviceProvider`, but they **SHALL** support *at least one* of these elements.\n * The client application **SHALL** support both elements.\n * if using `Encounter.location.location` it **SHOULD** conform to US Core Location.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "class", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "location", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-location", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "discharge-disposition", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-discharge-disposition", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "target-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "lifecycle-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "description" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Goal", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "lifecycle-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "target-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *day*.\n\nA server **SHALL** support a value a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "description", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-description", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Immunization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Based upon the ONC U.S. Core Data for Interoperability (USCDI) requirements, CVX vaccine codes are required and the NDC vaccine codes **SHOULD** be supported as translations to them.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Location", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-city", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-state", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-postalcode", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Medication", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationRequest, then the READ **SHALL** be supported.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "authoredon" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "encounter" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "MedicationRequest", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`\n\n* The MedicationRequest resource can represent that information is from a secondary source using either a boolean flag or reference in `MedicationRequest.reportedBoolean`, or a reference using `MedicationRequest.reportedReference` to Practitioner or other resource.\n * Although both are marked as must support, the server systems are not required to support both a boolean and a reference, but **SHALL** choose to support at least one of these elements.\n * The client application **SHALL** support both elements.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "MedicationRequest:medication" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "intent", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "encounter", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "authoredon", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Observation", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Systems **SHOULD** support `Observation.effectivePeriod` to accurately represent tests that are collected over a period of time (for example, a 24-Hour Urine Collection test).\n* An Observation without a value, **SHALL** include a reason why the data is absent unless there are component observations, or references to other Observations that are grouped within it\n * Systems that never provide an observation without a value are not required to support `Observation.dataAbsentReason`\n* An `Observation.component` without a value, **SHALL** include a reason why the data is absent.\n * Systems that never provide an component observation without a component value are not required to support `Observation.component.dataAbsentReason`.\n* Systems **SHOULD** support `Observation.effectivePeriod` to accurately represent procedure tests that are collected over a period of time.\n\n", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Organization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Systems **SHALL** support National Provider Identifier (NPI) for organizations and **SHOULD** support Clinical Laboratory Improvement Amendments (CLIA) identifiers for `Organization.Identifier`.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "family" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "family" + }, + { + "url": "required", + "valueString": "gender" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "gender" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Patient", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* For ONC's USCDI requirements, each Patient must support the following additional elements. These elements are included in the formal definition of the profile. The patient examples include all of these elements.\n\n 1. contact detail (e.g. a telephone number or an email address)\n 1. a communication language\n 1. a race\n 1. an ethnicity\n 1. a birth sex*\n 1. previous name\n - Previous name is represented by providing an end date in the `Patient.name.period` element for a previous name.\n 1. suffix\n - Suffix is represented using the `Patient.name.suffix` element.\n* The Patient's Social Security Numbers **SHOULD NOT** be used as a patient identifier in `Patient.identifier.value`.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "birthdate", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *day*.\n\nA server **SHALL** support a value a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "family", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "type": "string", + "documentation": "A server **SHALL** support a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "gender", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "given", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Practitioner", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "PractitionerRole", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "PractitionerRole:endpoint", + "PractitionerRole:practitioner" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "specialty", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "practitioner", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Procedure", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Procedure codes can be taken from SNOMED-CT, CPT, HCPCS II, ICD-10-PCS, CDT. LOINC.\n * Only LOINC concepts that reflect actual procedures **SHOULD** be used\n* A procedure including an implantable device **SHOULD** use `Procedure.focalDevice` with a reference to the *US Core Implantable Device Profile*.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "Provenance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Provenance resource **SHALL** be supported for these US Core\nresources:\n\n * US Core CarePlan Profile\n * US Core DiagnosticReport Profile for Laboratory Results Reporting\n * US Core Encounter Profile\n * US Core Observation Sexual Orientation Profile\n * US Core Head Circumference Profile\n * US Core ServiceRequest Profile\n * US Core Vital Signs Profile\n * US Core DiagnosticReport Profile for Report and Note Exchange\n * US Core Implantable Device Profile\n * US Core Observation Imaging Result Profile\n * US Core CareTeam Profile\n * US Core Pulse Oximetry Profile\n * US Core BMI Profile\n * US Core Blood Pressure Profile\n * US Core Body Weight Profile\n * US Core RelatedPerson Profile\n * US Core Pediatric BMI for Age Observation Profile\n * US Core MedicationRequest Profile\n * US Core Condition Encounter Diagnosis Profile\n * US Core Pediatric Head Occipital-frontal Circumference Percentile Profile\n * US Core Procedure Profile\n * US Core Laboratory Result Observation Profile\n * US Core Body Height Profile\n * US Core Observation SDOH Assessment Profile\n * US Core Observation Survey Profile\n * US Core Body Temperature Profile\n * US Core Condition Problems and Health Concerns Profile\n * US Core Pediatric Weight for Height Observation Profile\n * US Core Goal Profile\n * US Core AllergyIntolerance Profile\n * US Core Immunization Profile\n * US Core Observation Social History Profile\n * US Core Heart Rate Profile\n * US Core Smoking Status Observation Profile\n * US Core Patient Profile\n * US Core QuestionnaireResponse Profile\n * US Core Respiratory Rate Profile\n * US Core Observation Clinical Test Result Profile\n * US Core DocumentReference Profile\n\n* If a system receives a provider in `Provenance.agent.who` as free text they must capture who sent them the information as the organization. On request they **SHALL** provide this organization as the source and **MAY** include the free text provider.\n* Systems that need to know the activity has occurred **SHOULD** populate the activity.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "authored" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_tag" + }, + { + "url": "required", + "valueString": "authored" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_tag" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "questionnaire" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "QuestionnaireResponse", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "US Core provides two ways to represent SDOH assessment screening results using: \n \n1. Observation: [US Core Observation SDOH Assessment Profile] \n1. QuestionnaireResponse: [US Core QuestionnaireResponse Profile]\n\nUS Core Servers **SHALL** support [US Core Observation SDOH Assessment Profile] for SDOH Assessments and **MAY** support the [US Core QuestionnaireResponse Profile] for SDOH Assessments.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "_tag", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-tag", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "authored", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-authored", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "questionnaire", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-questionnaire", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "RelatedPerson", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "authored" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "authored" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "ServiceRequest", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "authored", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-authored", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-id", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "ValueSet", + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "expand", + "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand", + "documentation": "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "transaction" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "batch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-system" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-system" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CapabilityStatement-us-core-server.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CapabilityStatement-us-core-server.json new file mode 100644 index 00000000000..c368eeadf21 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CapabilityStatement-us-core-server.json @@ -0,0 +1,5493 @@ +{ + "resourceType": "CapabilityStatement", + "id": "us-core-server", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server", + "version": "5.0.0", + "name": "UsCoreServerCapabilityStatement", + "title": "US Core Server CapabilityStatement", + "status": "active", + "experimental": false, + "date": "2022-05-04T20:31:04.082176-08:00", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and the ONC [U.S. Core Data for Interoperability (USCDI) Version 2 July 2021](https://www.healthit.gov/isa/sites/isa/files/2021-07/USCDI-Version-2-July-2021-Final.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "kind": "requirements", + "instantiates": [ + "http://hl7.org/fhir/us/core/CapabilityStatement/us-core-server" + ], + "_instantiates": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "fhirVersion": "4.0.1", + "format": [ + "json", + "xml" + ], + "_format": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "patchFormat": [ + "application/json-patch+json" + ], + "_patchFormat": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "implementationGuide": [ + "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch", + "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata" + ], + "_implementationGuide": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "rest": [ + { + "mode": "server", + "documentation": "The US Core Server **SHALL**:\n\n1. Support the US Core Patient resource profile.\n1. Support at least one additional resource profile from the list of US Core Profiles.\n1. Implement the RESTful behavior according to the FHIR specification.\n1. Follow the requirements documented in the [General Requirements](general-requirements.html) and [Must Support](must-support.html) pages\n1. Return the following response classes:\n - (Status 400): invalid parameter\n - (Status 401/4xx): unauthorized request\n - (Status 403): insufficient scopes\n - (Status 404): unknown resource\n1. Support JSON source formats for all US Core interactions.\n\nThe US Core Server **SHOULD**:\n\n1. Follow the guidance documented in the [General Guidance](general-guidance.html) page\n1. Support XML source formats for all US Core interactions.\n1. Identify the US Core profiles supported as part of the FHIR `meta.profile` attribute for each instance.\n", + "security": { + "description": "1. See the [General Security Considerations](security.html) section for requirements and recommendations.\n1. A server **SHALL** reject any unauthorized requests by returning an `HTTP 401` \"Unauthorized\", `HTTP 403` \"Forbidden\", or `HTTP 404` \"Not Found\"" + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "AllergyIntolerance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CarePlan", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Additional considerations for systems aligning with [HL7 Consolidated (C-CDA)](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=492) Care Plan requirements:\n - US Core Goal **SHOULD** be present in CarePlan.goal\n - US Core Condition **SHOULD** be present in CarePlan.addresses\n - Assement and Plan **MAY** be included as narrative text", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "role" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "CareTeam", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "In order to access care team member's names, identifiers, locations, and contact information, the CareTeam profile supports several types of care team participants. They are represented as references to other profiles and include the following four profiles which are marked as must support:\n 1. US Core Practitioner Profile\n 1. US Core PractitionerRole Profile\n 1. US Core Patient Profile\n 1. US Core RelatedPerson Profile\n\n * Although *both* US Core Practitioner Profile and US Core PractitionerRole are must support, the server system is not required to support both types of references (and `_include` search parameters), but **SHALL** support *at least* one of them.\n * The client application **SHALL** support all four profile references.\n * Bacause the *US Core PractitionerRole Profile* supplies the provider's location and contact information and a reference to the Practitioner, server systems **SHOULD** reference it instead of the *US Core Practitioner Profile*.\n * Servers that supports only *US Core Practitioner Profile* **SHALL** provide implementation specific guidance how to access a provider's location and contact information using only the Practitioner resource.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "CareTeam:participant:PractitionerRole", + "CareTeam:participant:Practitioner", + "CareTeam:participant:Patient", + "CareTeam:participant:RelatedPerson" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "role", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-role", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "abatement-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "asserted-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "encounter" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "recorded-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "onset-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "clinical-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Condition", + "supportedProfile": [ + "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis", + "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* For Encounter Diagnosis use the *US Core Condition Encounter Diagnosis Profile*.\n * When `Condition.category` is \"encounter-diagnosis\" the encounter, **SHOULD** be referenced in `Condition.encounter`.\n* For Problems and Health Concerns use the *US Core Condition Problems and Health Concerns Profile*.\n * When `Condition.category` is a \"problems-list-item\", the `Condition.clinicalStatus **SHOULD NOT** be unknown.\n* There is no single element in Condition that represents the date of diagnosis. It may be the assertedDate Extension, `Condition.onsetDate`, or `Condition.recordedDate`.\n * Although all three are marked as must support, the server is not required to support all.\n\t* A server **SHALL** support `Condition.recordedDate`.\n * A server **SHALL** support at least one of [assertedDate Extension] and `Condition.onsetDate`. A server may support both, which means they support all 3 locations.\n * The client application **SHALL** support all three elements.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "clinical-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "onset-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "asserted-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-asserted-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "recorded-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-recorded-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "abatement-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-abatement-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "encounter", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-encounter", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Device", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Implantable medical devices that have UDI information **SHALL** represent the UDI code in `Device.udiCarrier.carrierHRF`.\n - All of the five UDI-PI elements that are present in the UDI code **SHALL** be represented in the corresponding US Core Implantable Device Profile element.\n \n UDI may not be present in all scenarios such as historical implantable devices, patient reported implant information, payer reported devices, or improperly documented implants. If UDI is not present and the manufacturer and/or model number information is available, they **SHOULD** be included to support historical reports of implantable medical devices as follows:\n\n manufacturer -> `Device.manufacturer` \n model -> `Device.model` \n\n* Servers **SHOULD** support query by Device.type to allow clients to request the patient's devices by a specific type. Note: The Device.type is too granular to differentiate implantable vs. non-implantable devices.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DiagnosticReport", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create", + "documentation": "This conformance expectation applies **only** to the *US Core DiagnosticReport Profile for Report and Note exchange* profile. The conformance expectation for the *US Core DiagnosticReport Profile for Laboratory Results Reporting* is **MAY**." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + }, + { + "url": "required", + "valueString": "period" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "DocumentReference", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The `DocumentReference.type` binding **SHALL** support at a minimum the [5 Common Clinical Notes](ValueSet-us-core-clinical-note-type.html) and may extend to the full US Core DocumentReference Type Value Set\n* The DocumentReference resources can represent the referenced content using either an address where the document can be retrieved using `DocumentReference.attachment.url` or the content as inline base64 encoded data using `DocumentReference.attachment.data`.\n * Although both are marked as must support, the server system is not required to support both an address and inline base64 encoded data, but **SHALL** support at least one of these elements.\n * The client application **SHALL** support both elements.\n * The `content.url` may refer to a FHIR Binary Resource (i.e. [base]/Binary/[id]), FHIR Document Bundle (i.e [base]/Bundle/[id] or other endpoint.\n * If the endpoint is outside of the FHIR base URL, it **SHOULD NOT** require additional authorization to access.\n* The organization responsible for the DocumentReference **SHALL** be present either in `DocumentReference.custodian` or accessible in the Provenance resource targeting the DocumentReference using `Provenance.agent.who` or `Provenance.agent.onBehalfOf`.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "period", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ], + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "docref", + "definition": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "documentation": "A server **SHALL** be capable of responding to a $docref operation and capable of returning at least a reference to a generated CCD document, if available. **MAY** provide references to other 'on-demand' and 'stable' documents (or 'delayed/deferred assembly') that meet the query parameters as well. If a context date range is supplied the server ** SHOULD** provide references to any document that falls within the date range. If no date range is supplied, then the server **SHALL** provide references to last or current document(s). **SHOULD** document what resources, if any, are returned as included resources\n\n`GET [base]/DocumentReference/$docref?patient=[id]`" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "discharge-disposition" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "class" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "location" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "date" + }, + { + "url": "required", + "valueString": "patient" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "type" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Encounter", + "documentation": "* The Encounter resource can represent a reason using either a code with `Encounter.reasonCode`, or a reference with `Encounter.reasonReference` to Condition or other resource.\n * Although both are marked as must support, the server systems are not required to support both a code and a reference, but they **SHALL** support *at least one* of these elements.\n * The client application **SHALL** support both elements.\n * if `Encounter.reasonReference` references an Observation, it **SHOULD** conform to a US Core Observation if applicable. (for example, a laboratory result should conform to the US Core Laboratory Result Observation Profile)\n\n* The location address can be represented by either by the Location referenced by `Encounter.location.location` or indirectly through the Organization referenced by `Encounter.serviceProvider`.\n * Although both are marked as must support, the server systems are not required to support both `Encounter.location.location` and `Encounter.serviceProvider`, but they **SHALL** support *at least one* of these elements.\n * The client application **SHALL** support both elements.\n * if using `Encounter.location.location` it **SHOULD** conform to US Core Location.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "class", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "location", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-location", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "type", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "discharge-disposition", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-discharge-disposition", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "target-date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "lifecycle-status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "description" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Goal", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "lifecycle-status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "target-date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *day*.\n\nA server **SHALL** support a value a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "description", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-description", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Immunization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Based upon the ONC U.S. Core Data for Interoperability (USCDI) requirements, CVX vaccine codes are required and the NDC vaccine codes **SHOULD** be supported as translations to them.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Location", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-city", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-state", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "address-postalcode", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Medication", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The MedicationRequest resource can represent a medication, using an external reference to a Medication resource. If an external Medication Resource is used in a MedicationRequest, then the READ **SHALL** be supported.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "authoredon" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + }, + { + "url": "required", + "valueString": "encounter" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "intent" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "MedicationRequest", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The MedicationRequest resources can represent a medication using either a code or refer to the Medication resource. When referencing Medication, the resource may be [contained](http://hl7.org/fhir/R4/references.html#contained) or an external resource. The server application **MAY** choose any one way or more than one method, but if an external reference to Medication is used, the server **SHALL** support the _include` parameter for searching this element. The client application must support all methods.\n\n For example, A server **SHALL** be capable of returning all medications for a patient using one of or both:\n\n `GET /MedicationRequest?patient=[id]`\n\n `GET /MedicationRequest?patient=[id]&_include=MedicationRequest:medication`\n\n* The MedicationRequest resource can represent that information is from a secondary source using either a boolean flag or reference in `MedicationRequest.reportedBoolean`, or a reference using `MedicationRequest.reportedReference` to Practitioner or other resource.\n * Although both are marked as must support, the server systems are not required to support both a boolean and a reference, but **SHALL** choose to support at least one of these elements.\n * The client application **SHALL** support both elements.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "MedicationRequest:medication" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "intent", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "encounter", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "authoredon", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Observation", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test", + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Systems **SHOULD** support `Observation.effectivePeriod` to accurately represent tests that are collected over a period of time (for example, a 24-Hour Urine Collection test).\n* An Observation without a value, **SHALL** include a reason why the data is absent unless there are component observations, or references to other Observations that are grouped within it\n * Systems that never provide an observation without a value are not required to support `Observation.dataAbsentReason`\n* An `Observation.component` without a value, **SHALL** include a reason why the data is absent.\n * Systems that never provide an component observation without a component value are not required to support `Observation.component.dataAbsentReason`.\n* Systems **SHOULD** support `Observation.effectivePeriod` to accurately represent procedure tests that are collected over a period of time.\n\n", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Organization", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Systems **SHALL** support National Provider Identifier (NPI) for organizations and **SHOULD** support Clinical Laboratory Improvement Amendments (CLIA) identifiers for `Organization.Identifier`.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "address", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "family" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "birthdate" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "family" + }, + { + "url": "required", + "valueString": "gender" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "gender" + }, + { + "url": "required", + "valueString": "name" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Patient", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* For ONC's USCDI requirements, each Patient must support the following additional elements. These elements are included in the formal definition of the profile. The patient examples include all of these elements.\n\n 1. contact detail (e.g. a telephone number or an email address)\n 1. a communication language\n 1. a race\n 1. an ethnicity\n 1. a birth sex*\n 1. previous name\n - Previous name is represented by providing an end date in the `Patient.name.period` element for a previous name.\n 1. suffix\n - Suffix is represented using the `Patient.name.suffix` element.\n* The Patient's Social Security Numbers **SHOULD NOT** be used as a patient identifier in `Patient.identifier.value`.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "birthdate", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *day*.\n\nA server **SHALL** support a value a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "family", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "type": "string", + "documentation": "A server **SHALL** support a value precise to the *day*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "gender", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "given", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "type": "string" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Practitioner", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "PractitionerRole", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Location and PractitionerRole Profiles are not explicitly referenced in any US Core Profile. However they **SHOULD** be used as the default profile if referenced by another US Core profile.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchInclude": [ + "PractitionerRole:endpoint", + "PractitionerRole:practitioner" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "specialty", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "practitioner", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "date" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "Procedure", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* Procedure codes can be taken from SNOMED-CT, CPT, HCPCS II, ICD-10-PCS, CDT. LOINC.\n * Only LOINC concepts that reflect actual procedures **SHOULD** be used\n* A procedure including an implantable device **SHOULD** use `Procedure.focalDevice` with a reference to the *US Core Implantable Device Profile*.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "Provenance", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "* The US Core Provenance resource **SHALL** be supported for these US Core\nresources:\n\n * US Core CarePlan Profile\n * US Core DiagnosticReport Profile for Laboratory Results Reporting\n * US Core Encounter Profile\n * US Core Observation Sexual Orientation Profile\n * US Core Head Circumference Profile\n * US Core ServiceRequest Profile\n * US Core Vital Signs Profile\n * US Core DiagnosticReport Profile for Report and Note Exchange\n * US Core Implantable Device Profile\n * US Core Observation Imaging Result Profile\n * US Core CareTeam Profile\n * US Core Pulse Oximetry Profile\n * US Core BMI Profile\n * US Core Blood Pressure Profile\n * US Core Body Weight Profile\n * US Core RelatedPerson Profile\n * US Core Pediatric BMI for Age Observation Profile\n * US Core MedicationRequest Profile\n * US Core Condition Encounter Diagnosis Profile\n * US Core Pediatric Head Occipital-frontal Circumference Percentile Profile\n * US Core Procedure Profile\n * US Core Laboratory Result Observation Profile\n * US Core Body Height Profile\n * US Core Observation SDOH Assessment Profile\n * US Core Observation Survey Profile\n * US Core Body Temperature Profile\n * US Core Condition Problems and Health Concerns Profile\n * US Core Pediatric Weight for Height Observation Profile\n * US Core Goal Profile\n * US Core AllergyIntolerance Profile\n * US Core Immunization Profile\n * US Core Observation Social History Profile\n * US Core Heart Rate Profile\n * US Core Smoking Status Observation Profile\n * US Core Patient Profile\n * US Core QuestionnaireResponse Profile\n * US Core Respiratory Rate Profile\n * US Core Observation Clinical Test Result Profile\n * US Core DocumentReference Profile\n\n* If a system receives a provider in `Provenance.agent.who` as free text they must capture who sent them the information as the organization. On request they **SHALL** provide this organization as the source and **MAY** include the free text provider.\n* Systems that need to know the activity has occurred **SHOULD** populate the activity.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "authored" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_tag" + }, + { + "url": "required", + "valueString": "authored" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "_tag" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "questionnaire" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "QuestionnaireResponse", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "documentation": "US Core provides two ways to represent SDOH assessment screening results using: \n \n1. Observation: [US Core Observation SDOH Assessment Profile] \n1. QuestionnaireResponse: [US Core QuestionnaireResponse Profile]\n\nUS Core Servers **SHALL** support [US Core Observation SDOH Assessment Profile] for SDOH Assessments and **MAY** support the [US Core QuestionnaireResponse Profile] for SDOH Assessments.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "_tag", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-tag", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "authored", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-authored", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "questionnaire", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-questionnaire", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "type": "RelatedPerson", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-id", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + }, + { + "url": "required", + "valueString": "authored" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "status" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "code" + }, + { + "url": "required", + "valueString": "authored" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + }, + { + "url": "required", + "valueString": "patient" + }, + { + "url": "required", + "valueString": "category" + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination" + } + ], + "type": "ServiceRequest", + "supportedProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest" + ], + "_supportedProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "create" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-type" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "update" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "patch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "delete" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-type" + } + ], + "referencePolicy": [ + "resolves" + ], + "searchRevInclude": [ + "Provenance:target" + ], + "_searchRevInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-status", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-patient", + "type": "reference", + "documentation": "The client **SHALL** provide at least a id value and **MAY** provide both the Type and id values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-category", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-code", + "type": "token", + "documentation": "The client **SHALL** provide at least a code value and **MAY** provide both the system and code values.\n\nThe server **SHALL** support both." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "name": "authored", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-authored", + "type": "date", + "documentation": "A client **SHALL** provide a value precise to the *second + time offset*.\n\nA server **SHALL** support a value precise to the *second + time offset*." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "_id", + "definition": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-id", + "type": "token" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "type": "ValueSet", + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "expand", + "definition": "http://hl7.org/fhir/OperationDefinition/ValueSet-expand", + "documentation": "A client can determine the note and report types support by a server by invoking the standard FHIR Value Set Expansion ($expand) operation defined in the FHIR R4 specification. Because servers may support different read and write formats, it also is used to determine the formats (for example, text, pdf) the server supports read and write transactions." + } + ] + } + ], + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "transaction" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "batch" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "search-system" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ], + "code": "history-system" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-careplan-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-careplan-category.json new file mode 100644 index 00000000000..5ddfe85e1b7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-careplan-category.json @@ -0,0 +1,51 @@ +{ + "resourceType": "CodeSystem", + "id": "careplan-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "5.0.0", + "name": "USCoreCarePlanCategoryExtensionCodes", + "title": "US Core CarePlan Category Extension Codes", + "status": "active", + "date": "2022-05-13T19:59:55+00:00", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Set of codes that are needed for implementation of the US-Core CarePlan Profile. These codes are used as extensions to the FHIR ValueSet.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "assess-plan", + "display": "Assessment and Plan of Treatment", + "definition": "The clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-condition-category.json new file mode 100644 index 00000000000..58b1310b090 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-condition-category.json @@ -0,0 +1,80 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "5.0.0", + "name": "USCoreConditionCategoryExtensionCodes", + "title": "US Core Condition Category Extension Codes", + "status": "active", + "date": "2022-05-13T19:59:55+00:00", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Set of codes that are needed for implementation of the US-Core Condition Profile. These codes are used as extensions to the FHIR and US Core value sets.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "content": "complete", + "property": [ + { + "code": "status", + "uri": "http://hl7.org/fhir/concept-properties#status", + "description": "A property that indicates the status of the concept. One of active, experimental, deprecated, retired", + "type": "code" + } + ], + "concept": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + } + ], + "code": "problem", + "display": "Problem", + "definition": "The patients problems as identified by the provider(s). Items on the provider’s problem list", + "property": [ + { + "code": "status", + "valueCode": "deprecated" + } + ] + }, + { + "code": "health-concern", + "display": "Health Concern", + "definition": "Additional health concerns from other stakeholders which are outside the provider’s problem list." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-documentreference-category.json new file mode 100644 index 00000000000..d0ce0cdff84 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-documentreference-category.json @@ -0,0 +1,53 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "5.0.0", + "name": "USCoreDocumentReferencesCategoryCodes", + "title": "US Core DocumentReferences Category Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "content": "complete", + "count": 2, + "concept": [ + { + "code": "clinical-note", + "display": "Clinical Note", + "definition": "Part of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-observation-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-observation-category.json new file mode 100644 index 00000000000..f91ac8812d0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-observation-category.json @@ -0,0 +1,52 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-observation-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category", + "version": "5.0.0", + "name": "USCoreObservationCategoryExtensionCodes", + "title": "US Core Observation Category Extension Codes", + "status": "active", + "date": "2022-04-07", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Set of codes for implementation of the US-Core profiles. These codes are extensions to the [FHIR Observation Category Codes](http://terminology.hl7.org/CodeSystem/observation-category).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "content": "complete", + "count": 1, + "concept": [ + { + "code": "clinical-test", + "display": "Clinical Test", + "definition": "Includes non-imaging and non-laboratory tests performed on a patient that results in structured or unstructured (narrative) findings specific to the patient, such as electrocardiogram (ECG), visual acuity exam, macular exam, or graded exercise testing (GXT), to facilitate the diagnosis and management of conditions." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-provenance-participant-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-provenance-participant-type.json new file mode 100644 index 00000000000..04866da2f67 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-provenance-participant-type.json @@ -0,0 +1,51 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "5.0.0", + "name": "USCoreProvenancePaticipantTypeExtensionCodes", + "title": "US Core Provenance Participant Type Extension Codes", + "status": "active", + "date": "2022-05-13T19:59:55+00:00", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Set of codes that are needed for implementation of the US-Core Provenance Profile. These codes are used as extensions to the FHIR value sets.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "transmitter", + "display": "Transmitter", + "definition": "The entity that provided the copy to your system." + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-tags.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-tags.json new file mode 100644 index 00000000000..1a2eb4bca5b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/CodeSystem-us-core-tags.json @@ -0,0 +1,51 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-tags", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "version": "5.0.0", + "name": "USCoreTagsCodeSystem", + "title": "US Core Tags CodeSystem", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Codes used in US Core `meta.tag` and 'category' profiles. The are typically used when there is a need for categorization or workflow hints.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "sdoh", + "display": "SDOH", + "definition": "Social Determinants of Health Category" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ImplementationGuide-hl7.fhir.us.core.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ImplementationGuide-hl7.fhir.us.core.json new file mode 100644 index 00000000000..80b301aaf16 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ImplementationGuide-hl7.fhir.us.core.json @@ -0,0 +1,5593 @@ +{ + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "5.0.0", + "name": "USCore", + "title": "US Core Implementation Guide", + "status": "active", + "date": "2022-04-04", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Implementation Guide is based on FHIR Version R4 and defines the minimum conformance requirements for accessing patient data. The Argonaut pilot implementations, ONC 2015 Edition Common Clinical Data Set (CCDS), and ONC U.S. Core Data for Interoperability (USCDI) v1 provided the requirements for this guide. The prior Argonaut search and vocabulary requirements, based on FHIR DSTU2, are updated in this guide to support FHIR Version R4. This guide was used as the basis for further testing and guidance by the Argonaut Project Team to provide additional content and guidance specific to Data Query Access for purpose of ONC Certification testing. These profiles are the foundation for future US Realm FHIR implementation guides. In addition to Argonaut, they are used by DAF-Research, QI-Core, and CIMI. Under the guidance of HL7 and the HL7 US Realm Steering Committee, the content will expand in future versions to meet the needs specific to the US Realm.\nThese requirements were originally developed, balloted, and published in FHIR DSTU2 as part of the Office of the National Coordinator for Health Information Technology (ONC) sponsored Data Access Framework (DAF) project. For more information on how DAF became US Core see the US Core change notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "packageId": "hl7.fhir.us.core", + "license": "CC0-1.0", + "fhirVersion": [ + "4.0.1" + ], + "dependsOn": [ + { + "id": "hl7tx", + "uri": "http://terminology.hl7.org/ImplementationGuide/hl7.terminology", + "packageId": "hl7.terminology.r4", + "version": "3.1.0" + }, + { + "id": "hl7_fhir_uv_bulkdata", + "uri": "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata", + "packageId": "hl7.fhir.uv.bulkdata", + "version": "2.0.0" + }, + { + "id": "hl7_fhir_uv_smart_app_launch", + "uri": "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch", + "packageId": "hl7.fhir.uv.smart-app-launch", + "version": "2.0.0" + }, + { + "id": "vsac", + "uri": "http://fhir.org/packages/us.nlm.vsac/ImplementationGuide/us.nlm.vsac", + "packageId": "us.nlm.vsac", + "version": "0.3.0" + }, + { + "id": "hl7_fhir_uv_sdc", + "uri": "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc", + "packageId": "hl7.fhir.uv.sdc", + "version": "3.0.0" + } + ], + "definition": { + "extension": [ + { + "extension": [ + { + "url": "code", + "valueString": "copyrightyear" + }, + { + "url": "value", + "valueString": "2022+" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "releaselabel" + }, + { + "url": "value", + "valueString": "STU5 Release" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-expansion-params" + }, + { + "url": "value", + "valueString": "../../input/_resources/exp-params.json" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "active-tables" + }, + { + "url": "value", + "valueString": "false" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-contact" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-jurisdiction" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-publisher" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-version" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "show-inherited-invariants" + }, + { + "url": "value", + "valueString": "false" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "usage-stats-opt-out" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludexml" + }, + { + "url": "value", + "valueString": "false" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludejsn" + }, + { + "url": "value", + "valueString": "false" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludettl" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludemap" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludeexample" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "version-comparison" + }, + { + "url": "value", + "valueString": "4.0.0" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "version-comparison" + }, + { + "url": "value", + "valueString": "3.1.1" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-history" + }, + { + "url": "value", + "valueString": "http://hl7.org/fhir/us/core/history.html" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "autoload-resources" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-liquid" + }, + { + "url": "value", + "valueString": "template/liquid" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-liquid" + }, + { + "url": "value", + "valueString": "input/liquid" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-qa" + }, + { + "url": "value", + "valueString": "temp/qa" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-temp" + }, + { + "url": "value", + "valueString": "temp/pages" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-output" + }, + { + "url": "value", + "valueString": "output" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "path-suppressed-warnings" + }, + { + "url": "value", + "valueString": "input/ignoreWarnings.txt" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "template-html" + }, + { + "url": "value", + "valueString": "template-page.html" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "template-md" + }, + { + "url": "value", + "valueString": "template-page-md.html" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-context" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-copyright" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "apply-license" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "fmm-definition" + }, + { + "url": "value", + "valueString": "http://hl7.org/fhir/versions.html#maturity" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "propagate-status" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + }, + { + "extension": [ + { + "url": "code", + "valueString": "excludelogbinaryformat" + }, + { + "url": "value", + "valueString": "true" + } + ], + "url": "http://hl7.org/fhir/tools/StructureDefinition/ig-parameter" + } + ], + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-observation-category" + }, + "name": "US Core Observation Category Extension Codes", + "description": "Set of codes for implementation of the US-Core profiles. These codes are extensions to the [FHIR Observation Category Codes](http://terminology.hl7.org/CodeSystem/observation-category).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-tags" + }, + "name": "US Core Tags CodeSystem", + "description": "Codes used in US Core `meta.tag` and 'category' profiles. The are typically used when there is a need for categorization or workflow hints.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-allergyintolerance" + }, + "name": "US Core AllergyIntolerance Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the AllergyIntolerance resource to record, search, and fetch allergies/adverse reactions associated with a patient pm2. It identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the AllergyIntolerance resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-birthsex" + }, + "name": "US Core Birth Sex Extension", + "description": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-blood-pressure" + }, + "name": "US Core Blood Pressure Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-bmi" + }, + "name": "US Core BMI Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-height" + }, + "name": "US Core Body Height Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body height observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-temperature" + }, + "name": "US Core Body Temperature Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body temperature observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-weight" + }, + "name": "US Core Body Weight Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body weight observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careplan" + }, + "name": "US Core CarePlan Profile", + "description": "This profile sets minimum expectations for the CarePlan resource to record, search, and fetch assessment and plan of treatment data associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careteam" + }, + "name": "US Core CareTeam Profile", + "description": "This profile sets minimum expectations for the CareTeam resource for identifying the Care Team members associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-condition-encounter-diagnosis" + }, + "name": "US Core Condition Encounter Diagnosis Profile", + "description": "The US Core Condition Encounter Diagnosis Profile is based upon the core FHIR Condition Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Encounter Diagnosis’ requirements. In version 5.0.0, The US Core Condition Profile has been split into the US Core Condition Encounter Diagnosis Profile and US Core Condition Problems and Health Concerns Profile. To promote interoperability and adoption through common implementation, this profile defines constraints and extensions on the Condition resource for the minimal set of data to record, search, and fetch information about an encounter diagnosis. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-condition-problems-health-concerns" + }, + "name": "US Core Condition Problems and Health Concerns Profile", + "description": "The US Core Condition Problems and Health Concerns Profile is based upon the core FHIR Condition Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Problems' and 'Health Concerns' requirements and SDOH 'Problems/Health Concerns' requirements. In version 5.0.0, The US Core Condition Profile has been split into the US Core Condition Encounter Diagnosis Profile and US Core Condition Problems and Health Concerns Profile. To promote interoperability and adoption through common implementation, this profile defines constraints and extensions on the Condition resource for the minimal set of data to record, search, and fetch information about a condition, diagnosis, or other event, situation, issue, or clinical concept that is documented and categorized as a problem or health concern including information about a Social Determinants of Health-related condition. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-lab" + }, + "name": "US Core DiagnosticReport Profile for Laboratory Results Reporting", + "description": "Laboratory results are grouped and summarized using the DiagnosticReport resource which typically reference Observation resource(s). Each Observation resource represents an individual laboratory test and result value or component result values, or a nested panel (such as a microbial susceptibility panel) which references other observations. They can also be presented in report form or as free text. This profile sets minimum expectations for the DiagnosticReport resource to record, search, and fetch laboratory results associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-note" + }, + "name": "US Core DiagnosticReport Profile for Report and Note Exchange", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for searching and fetching Diagnostic Reports and Notes using the DiagnosticReport resource. This profile identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the DiagnosticReport when using this profile. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Clinical Notes Guidance to understand the overlap of US Core DiagnosticReport Profile for Report and Note exchange and US Core DocumentReference Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-direct" + }, + "name": "US Core Direct email Extension", + "description": "This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-documentreference" + }, + "name": "US Core DocumentReference Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for searching and fetching patient documents including Clinical Notes using the DocumentReference resource. It identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the DocumentReference resource when using this profile. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Clinical Notes Guidance to understand the overlap of US Core DocumentReference Profile and US Core DiagnosticReport Profile for Report and Note exchange.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-encounter" + }, + "name": "US Core Encounter Profile", + "description": "This profile sets minimum expectations for the Encounter resource to record, search, and fetch basic encounter information for an individual patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-ethnicity" + }, + "name": "US Core Ethnicity Extension", + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-extension-questionnaire-uri" + }, + "name": "US Core Extension Questionnaire URI", + "description": "The location where a non-FHIR questionnaire/survey form can be found. This extension is used when the survey,form, or questionnaire which is being anwered is not a FHIR [Questionnaire](https://www.hl7.org/fhir/questionnaire.html), otherwise the [canonical url](https://www.hl7.org/fhir/references.html#canonical) for the FHIR Questionnaire is used.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-genderIdentity" + }, + "name": "US Core Gender Identity Extension", + "description": "This extension provides concepts to describe the gender a person identifies as.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-goal" + }, + "name": "US Core Goal Profile", + "description": "This profile sets minimum expectations for the Goal resource to record, search, and fetch Goal information associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-head-circumference" + }, + "name": "US Core Head Circumference Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch head circumference observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-heart-rate" + }, + "name": "US Core Heart Rate Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch heart rate observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-immunization" + }, + "name": "US Core Immunization Profile", + "description": "This profile sets minimum expectations for the Immunization resource to record, search, and fetch immunization history associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-implantable-device" + }, + "name": "US Core Implantable Device Profile", + "description": "The US Core Implantable Device Profile is based upon the core FHIR Device Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Unique Device Identifier(s) for a Patient’s Implantable Device(s)’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Device resource to record, search, and fetch UDI information associated with a patient's implantable device(s). It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-location" + }, + "name": "US Core Location Profile", + "description": "This profile sets minimum expectations for the Location resource for recording, searching for and fetching a Location associated with a patient, provider or organization to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medication" + }, + "name": "US Core Medication Profile", + "description": "When referencing a medication, the MedicationRequest resource can either use a code or refer to a Medication resource. This profile sets minimum expectations for the Medication resource to record, search, and fetch medications associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medicationrequest" + }, + "name": "US Core MedicationRequest Profile", + "description": "The US Core Medication Request Profile is based upon the core FHIR MedicationRequest Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Medications' requirements. The MedicationRequest resource can be used to record a patient’s medication prescription or order. This profile sets minimum expectations for the MedicationRequest resource to record, search, and fetch a patient's medication to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-clinical-test" + }, + "name": "US Core Observation Clinical Test Result Profile", + "description": "The US Core Observation Clinical Test Result Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Report and Note exchange, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Clinical Tests’ requirements. Clinical tests includes non-imaging and non-laboratory tests performed on a patient that results in structured or unstructured (narrative) findings specific to the patient, such as electrocardiogram (ECG), visual acuity exam, macular exam, or graded exercise testing (GXT), to facilitate the diagnosis and management of conditions. The US Core Observation Clinical Test Result Profile profile sets minimum expectations for the Observation resource to record, search, and fetch clinical tests for a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-imaging" + }, + "name": "US Core Observation Imaging Result Profile", + "description": "The US Core Observation Imaging Result Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Report and Note exchange, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Diagnostic Imaging’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch retrieve structured and unstructured (narrative) components of diagnostic imaging test results for a patient. These observations include reasons, findings, and impressions. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-lab" + }, + "name": "US Core Laboratory Result Observation Profile", + "description": "The US Core Laboratory Result Observation Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Laboratory’ requirements. Laboratory results are grouped and summarized using the DiagnosticReport resource which reference Observation resources. Each Observation resource represents an individual laboratory test and result value, a “nested” panel (such as a microbial susceptibility panel) which references other observations, or rarely a laboratory test with component result values. The US Core Laboratory Result Observation Profile sets minimum expectations for the Observation resource resource to record, search, and fetch laboratory test results associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-sdoh-assessment" + }, + "name": "US Core Observation SDOH Assessment Profile", + "description": "The US Core Observation SDOH Assessment Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'SDOH Assessments' requirements. This profile is based on the US Core Observation Survey Profile and sets minimum expectations for representing responses to assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*. It can be used to represent individual responses, panels of multi-question surveys, and multi-select responses to “check all that apply” questions. It identifies the *additional* core elements, extensions, vocabularies and value sets which SHALL be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-sexual-orientation" + }, + "name": "US Core Observation Sexual Orientation Profile", + "description": "The US Core Observation Sexual Orientation Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'Sexual Orientation' requirements. this profile sets minimum expectations for the Observation resource to record, search, and fetch sexual orientation observations associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-social-history" + }, + "name": "US Core Observation Social History Profile", + "description": "The US Core Observation Social History Profile meets the U.S. Core Data for Interoperability (USCDI) v2 ‘SDOH Assessments’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch retrieve observations that represent simple observations made by an individual about a patient's social history status such as education, food insecurity, etc. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-survey" + }, + "name": "US Core Observation Survey Profile", + "description": "To promote interoperability and adoption through common implementation, the US Core Observation Survey Profile sets minimum expectations for the Observation Resource to record, search, and fetch retrieve observations that represent the questions and responses to form/survey and assessment tools. It can be used to represent individual responses, panels of multi-question surveys, and multi-select responses to “check all that apply” questions. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-organization" + }, + "name": "US Core Organization Profile", + "description": "This profile sets minimum expectations for the Organization resource to searching for and fetching an Organization associated with a patient or provider to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-bmi-for-age" + }, + "name": "US Core Pediatric BMI for Age Observation Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric body mass index (BMI) percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-weight-for-height" + }, + "name": "US Core Pediatric Weight for Height Observation Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitioner" + }, + "name": "US Core Practitioner Profile", + "description": "This profile sets minimum expectations for the Practitioner resource to record, search, and fetch basic demographics and other administrative information about an individual practitioner to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitionerrole" + }, + "name": "US Core PractitionerRole Profile", + "description": "This profile sets minimum expectations for the PractitionerRole Resource to record, search, and fetch the practitioner role for a practitioner to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases. The requirements for the US Core Practitioner were drawn from the [Argonaut Provider Directory](http://www.fhir.org/guides/argonaut/pd//release1/index.html), [IHE Healthcare Provider Directory](http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_HPD.pdf) and the [ONC Provider Directory Workshop](https://confluence.oncprojectracking.org/display/PDW/Workshop+Documents).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-procedure" + }, + "name": "US Core Procedure Profile", + "description": "The US Core Procedure Profile is based upon the core FHIR Procedure Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' requirements. This profile sets minimum expectations for the Procedure resource to record, search, and fetch procedures associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-provenance" + }, + "name": "US Core Provenance Profile", + "description": "This profile sets minimum expectations for the Provenance resource to record, search, and fetch Provenance information associated with a record to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. This FHIR Provenance profile here covers the minimal (basic) information to support lineage of information. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Basic Provenance guidance page which documents several key use cases, specifically, what organization was responsible for the most recent action on the resource.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-pulse-oximetry" + }, + "name": "US Core Pulse Oximetry Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pulse oximetry and inspired oxygen observations with a standard LOINC codes and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-questionnaireresponse" + }, + "name": "US Core QuestionnaireResponse Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the QuestionnaireResponse resource to record, search, and fetch retrieve captures the responses to form/survey and assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*. This profile is based on the [Structured Data Capture (SDC) Questionnaire Response Profile](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html) and identifies the *additional* core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-race" + }, + "name": "US Core Race Extension", + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-relatedperson" + }, + "name": "US Core RelatedPerson Profile", + "description": "This profile sets minimum expectations for the RelatedPerson resource to record, search, and fetch related persons associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-respiratory-rate" + }, + "name": "US Core Respiratory Rate Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch respiratory rate observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-smokingstatus" + }, + "name": "US Core Smoking Status Observation Profile", + "description": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and implementers the U.S. Core Data for Interoperability (USCDI) v2 Smoking status' requirements. This profile sets minimum expectations for the Observation resource to record, search, and fetch smoking status data associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-vital-signs" + }, + "name": "US Core Vital Signs Profile", + "description": "To promote interoperability and adoption through common implementation, this profile is based on the base [FHIR Vital Signs Profile](http://hl7.org/fhir/R4/observation-vitalsigns.html) and defines *additional* constraints on the Observation resource to represent vital signs observations. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases. This US Core profiles that are derived from this profile are listed below.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-survey-codes" + }, + "name": "US Core Survey Codes", + "description": "This value set includes all LOINC values whose CLASSTYPE is SURVEY in the LOINC database (Refer to [Appendix A](https://loinc.org/kb/users-guide/loinc-database-structure/) of LOINC Users' Guide)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-tags" + }, + "name": "US Core Tags ValueSet", + "description": "Used to tag patient submitted resources for writing and searching from EHRs", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-client" + }, + "name": "US Core Client CapabilityStatement", + "description": "This Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-server" + }, + "name": "US Core Server CapabilityStatement", + "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and the ONC [U.S. Core Data for Interoperability (USCDI) Version 2 July 2021](https://www.healthit.gov/isa/sites/isa/files/2021-07/USCDI-Version-2-July-2021-Final.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/careplan-category" + }, + "name": "US Core CarePlan Category Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core CarePlan Profile. These codes are used as extensions to the FHIR ValueSet.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/condition-category" + }, + "name": "US Core Condition Category Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core Condition Profile. These codes are used as extensions to the FHIR and US Core value sets.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-documentreference-category" + }, + "name": "US Core DocumentReferences Category Codes", + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-provenance-participant-type" + }, + "name": "US Core Provenance Participant Type Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core Provenance Profile. These codes are used as extensions to the FHIR value sets.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "OperationDefinition" + } + ], + "reference": { + "reference": "OperationDefinition/docref" + }, + "name": "US Core Fetch DocumentReference", + "description": "This operation is used to return all the references to documents related to a patient. \n\n The operation requires a patient id and takes the optional input parameters: \n - start date\n - end date\n - document type \n\n and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [DocumentReference](http://hl7.org/fhir/documentreference.html) resources for the patient. The DocumentReference resources **SHOULD** conform to the [US Core DocumentReference\n Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference). If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference resources needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. \n\n This operation is *different* from a search by patient and type and date range because: \n\n 1. It is used to request a server *generate* a document based on the specified parameters. \n\n 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD \n\n 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. \n\n This operation is the *same* as a FHIR RESTful search by patient,type and date range because: \n\n 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-clinical-status" + }, + "name": "USCoreAllergyintoleranceClinicalStatus", + "description": "**active | inactive | resolved** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-patient" + }, + "name": "USCoreAllergyintolerancePatient", + "description": "**Who the sensitivity is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-category" + }, + "name": "USCoreCareplanCategory", + "description": "**Type of plan** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-date" + }, + "name": "USCoreCareplanDate", + "description": "**Time period plan covers** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-patient" + }, + "name": "USCoreCareplanPatient", + "description": "**Who the care plan is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-status" + }, + "name": "USCoreCareplanStatus", + "description": "**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-patient" + }, + "name": "USCoreCareteamPatient", + "description": "**Who care team is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-role" + }, + "name": "USCoreCareTeamRole", + "description": "Returns CareTeam resources with a participant role matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-status" + }, + "name": "USCoreCareteamStatus", + "description": "**proposed | active | suspended | inactive | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-abatement-date" + }, + "name": "USCoreConditionAbatementDate", + "description": "**Date-related abatements (dateTime and period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-asserted-date" + }, + "name": "USCoreConditionAssertedDate", + "description": "Returns conditions with an [assertedDate extension](http://hl7.org/fhir/StructureDefinition/condition-assertedDate) matching the specified date (dateTime).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-category" + }, + "name": "USCoreConditionCategory", + "description": "**The category of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-clinical-status" + }, + "name": "USCoreConditionClinicalStatus", + "description": "**The clinical status of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-code" + }, + "name": "USCoreConditionCode", + "description": "**Code for the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-encounter" + }, + "name": "USCoreConditionEncounter", + "description": "**Encounter created as part of** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-onset-date" + }, + "name": "USCoreConditionOnsetDate", + "description": "**Date related onsets (dateTime and Period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-patient" + }, + "name": "USCoreConditionPatient", + "description": "**Who has the condition?** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-recorded-date" + }, + "name": "USCoreConditionRecordedDate", + "description": "**Date record was first recorded** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-patient" + }, + "name": "USCoreDevicePatient", + "description": "**Patient information, if the resource is affixed to a person** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-type" + }, + "name": "USCoreDeviceType", + "description": "**The type of the device** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-category" + }, + "name": "USCoreDiagnosticreportCategory", + "description": "**Which diagnostic discipline/department created the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-code" + }, + "name": "USCoreDiagnosticreportCode", + "description": "**The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-date" + }, + "name": "USCoreDiagnosticreportDate", + "description": "**The clinically relevant time of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-patient" + }, + "name": "USCoreDiagnosticreportPatient", + "description": "**The subject of the report if a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-status" + }, + "name": "USCoreDiagnosticreportStatus", + "description": "**The status of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-category" + }, + "name": "USCoreDocumentreferenceCategory", + "description": "**Categorization of document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-date" + }, + "name": "USCoreDocumentreferenceDate", + "description": "**When this document reference was created** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-id" + }, + "name": "USCoreDocumentreferenceId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-patient" + }, + "name": "USCoreDocumentreferencePatient", + "description": "**Who/what is the subject of the document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-period" + }, + "name": "USCoreDocumentreferencePeriod", + "description": "**Time of service that is being documented** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-status" + }, + "name": "USCoreDocumentreferenceStatus", + "description": "**current | superseded | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-type" + }, + "name": "USCoreDocumentreferenceType", + "description": "**Kind of document (LOINC if possible)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-class" + }, + "name": "USCoreEncounterClass", + "description": "**Classification of patient encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-date" + }, + "name": "USCoreEncounterDate", + "description": "**A date within the period the Encounter lasted** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-discharge-disposition" + }, + "name": "USCoreEncounterDischargeDisposition", + "description": "Returns encounters with an discharge-disposition matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-id" + }, + "name": "USCoreEncounterId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-identifier" + }, + "name": "USCoreEncounterIdentifier", + "description": "**Identifier(s) by which this encounter is known** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-location" + }, + "name": "USCoreEncounterLocation", + "description": "**Location the encounter takes place** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-patient" + }, + "name": "USCoreEncounterPatient", + "description": "**The patient or group present at the encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-status" + }, + "name": "USCoreEncounterStatus", + "description": "**planned | arrived | triaged | in-progress | onleave | finished | cancelled +** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-type" + }, + "name": "USCoreEncounterType", + "description": "**Specific type of encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-ethnicity" + }, + "name": "USCoreEthnicity", + "description": "Returns patients with an ethnicity extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-description" + }, + "name": "USCoreGoalDescription", + "description": "**The code or text describing the goal**\n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-lifecycle-status" + }, + "name": "USCoreGoalLifecycleStatus", + "description": "**proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-patient" + }, + "name": "USCoreGoalPatient", + "description": "**Who this goal is intended for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-target-date" + }, + "name": "USCoreGoalTargetDate", + "description": "**Reach goal on or before** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-date" + }, + "name": "USCoreImmunizationDate", + "description": "**Vaccination (non)-Administration Date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-patient" + }, + "name": "USCoreImmunizationPatient", + "description": "**The patient for the vaccination record** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-status" + }, + "name": "USCoreImmunizationStatus", + "description": "**Immunization event status** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-city" + }, + "name": "USCoreLocationAddressCity", + "description": "**A city specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-postalcode" + }, + "name": "USCoreLocationAddressPostalcode", + "description": "**A postal code specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-state" + }, + "name": "USCoreLocationAddressState", + "description": "**A state specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address" + }, + "name": "USCoreLocationAddress", + "description": "**A (part of the) address of the location** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-name" + }, + "name": "USCoreLocationName", + "description": "**A portion of the location's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-authoredon" + }, + "name": "USCoreMedicationrequestAuthoredon", + "description": "**Return prescriptions written on this date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-encounter" + }, + "name": "USCoreMedicationrequestEncounter", + "description": "**Return prescriptions with this encounter identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-intent" + }, + "name": "USCoreMedicationrequestIntent", + "description": "**Returns prescriptions with different intents** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-patient" + }, + "name": "USCoreMedicationrequestPatient", + "description": "**Returns prescriptions for a specific patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-status" + }, + "name": "USCoreMedicationrequestStatus", + "description": "**Status of the prescription** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-category" + }, + "name": "USCoreObservationCategory", + "description": "**The classification of the type of observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-code" + }, + "name": "USCoreObservationCode", + "description": "**The code of the observation type** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-date" + }, + "name": "USCoreObservationDate", + "description": "**Obtained date/time. If the obtained element is a period, a date that falls in the period** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-patient" + }, + "name": "USCoreObservationPatient", + "description": "**The subject that the observation is about (if patient)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-status" + }, + "name": "USCoreObservationStatus", + "description": "**The status of the observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-address" + }, + "name": "USCoreOrganizationAddress", + "description": "**A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-name" + }, + "name": "USCoreOrganizationName", + "description": "**A portion of the organization's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-birthdate" + }, + "name": "USCorePatientBirthdate", + "description": "**The patient's date of birth** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-family" + }, + "name": "USCorePatientFamily", + "description": "**A portion of the family name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-gender-identity" + }, + "name": "USCorePatientGenderIdentity", + "description": "Returns patients with an gender-identity extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-gender" + }, + "name": "USCorePatientGender", + "description": "**Gender of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-given" + }, + "name": "USCorePatientGiven", + "description": "**A portion of the given name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-id" + }, + "name": "USCorePatientId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-identifier" + }, + "name": "USCorePatientIdentifier", + "description": "**A patient identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-name" + }, + "name": "USCorePatientName", + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-id" + }, + "name": "USCorePractitionerId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-identifier" + }, + "name": "USCorePractitionerIdentifier", + "description": "**A practitioner's Identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-name" + }, + "name": "USCorePractitionerName", + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-practitioner" + }, + "name": "USCorePractitionerrolePractitioner", + "description": "**Practitioner that is able to provide the defined services for the organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-specialty" + }, + "name": "USCorePractitionerroleSpecialty", + "description": "**The practitioner has this specialty at an organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-code" + }, + "name": "USCoreProcedureCode", + "description": "**A code to identify a procedure** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-date" + }, + "name": "USCoreProcedureDate", + "description": "**When the procedure was performed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-patient" + }, + "name": "USCoreProcedurePatient", + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-status" + }, + "name": "USCoreProcedureStatus", + "description": "**preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-authored" + }, + "name": "USCoreQuestionnaireresponseAuthored", + "description": "**When the questionnaire response was last changed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-id" + }, + "name": "USCoreQuestionnaireresponseId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-patient" + }, + "name": "USCoreQuestionnaireresponsePatient", + "description": "**The patient that is the subject of the questionnaire response** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-questionnaire" + }, + "name": "USCoreQuestionnaireresponseQuestionnaire", + "description": "**The questionnaire the answers are provided for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-status" + }, + "name": "USCoreQuestionnaireresponseStatus", + "description": "**The status of the questionnaire response** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-tag" + }, + "name": "USCoreQuestionnaireresponseTag", + "description": "**Tags applied to this resource** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-race" + }, + "name": "USCoreRace", + "description": "Returns patients with a race extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-relatedperson-id" + }, + "name": "USCoreRelatedpersonId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-relatedperson-patient" + }, + "name": "USCoreRelatedpersonPatient", + "description": "**The patient this related person is related to** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-authored" + }, + "name": "USCoreServicerequestAuthored", + "description": "**Date request signed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-category" + }, + "name": "USCoreServicerequestCategory", + "description": "**Classification of service** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-code" + }, + "name": "USCoreServicerequestCode", + "description": "**What is being requested/ordered** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-id" + }, + "name": "USCoreServicerequestId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-patient" + }, + "name": "USCoreServicerequestPatient", + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-status" + }, + "name": "USCoreServicerequestStatus", + "description": "**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + "name": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric head occipital frontal circumference (OFC) percentile observations associated with a patients from birth to 37 Months of age using a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-patient" + }, + "name": "US Core Patient Profile", + "description": "The US Core Patient Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'Patient Demographics' requirements. This profile sets minimum expectations for the Patient resource to record, search, and fetch basic demographics and other administrative information about an individual patient. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-servicerequest" + }, + "name": "US Core ServiceRequest Profile", + "description": "This profile sets minimum expectations for recording, searching, and fetching using the ServiceRequest resource to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/detailed-ethnicity" + }, + "name": "Detailed ethnicity", + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', 'other, and the 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/detailed-race" + }, + "name": "Detailed Race", + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', 'other, and the 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-discharge-disposition" + }, + "name": "US Core Discharge Disposition", + "description": "[National Uniform Billing Committee](http://www.nubc.org/), manual UB-04, UB form locator 17.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/omb-ethnicity-category" + }, + "name": "OMB Ethnicity Categories", + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', and the ethnicity categories - 'Hispanic or Latino' and 'Not Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/omb-race-category" + }, + "name": "OMB Race Categories", + "description": "The codes for the concepts 'Unknown', 'Asked but Unknown', 'Other Race'* and\nthe codes for the five race categories - 'American Indian' or 'Alaska Native',\n'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific\nIslander', and 'White' - as defined by the [OMB Standards for Maintaining,\nCollecting, and Presenting Federal Data on Race and Ethnicity, Statistical\nPolicy Directive No. 15, as revised, October 30,\n1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf)\n\n\\* The use of 'Other Race' is discouraged for statistical analysis.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/simple-language" + }, + "name": "Language codes with language and optionally a region modifier", + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/birthsex" + }, + "name": "Birth Sex", + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-clinical-note-type" + }, + "name": "US Core Clinical Note Type", + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-clinical-test-codes" + }, + "name": "US Core Clinical Test Codes", + "description": "Starter set of clinical test LOINC codes identified in Appendix B in U.S. Core Data for Interoperability (USCDI) Task Force 2021 HITAC Phase 3 Recommendations Report Letter", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-common-sdoh-assessments" + }, + "name": "US Core Common SDOH Assessments", + "description": "Common SDOH assessment concepts covering the following categories (Gravity Project SDOH Domains):\n - Food (Food Insecurity)\n - Housing (Housing Instability)\n - Health (Social Connection, Stress)\n - Employment (Employment Status)\n - Care (SDOH Category Unspecified)\n - Transit (Transportation Insecurity)\n - Money (Financial Insecurity)\n - Goods (Material Hardship)\n - Education (SDOH Category Unspecified)\n - Legal (SDOH Category Unspecified)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-code" + }, + "name": "US Core Condition Codes", + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-category" + }, + "name": "US Core Diagnostic Report Category Codes", + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-lab-codes" + }, + "name": "US Core Diagnostic Report Laboratory Codes", + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "name": "US Core Non Laboratory Codes", + "description": "Non laboratory LOINC concepts such as codes for observations like vital signs, hemodynamics, intake/output, EKG, obstetric ultrasound, cardiac echo and other clinical observations. The codes selected should represent discrete and narrative diagnostic observations and reports", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-category" + }, + "name": "US Core DocumentReference Category", + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-type" + }, + "name": "US Core DocumentReference Type", + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-encounter-type" + }, + "name": "US Core Encounter Type", + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and codes from the Current Procedure and Terminology (CPT) found in the following CPT sections:\n- 99201-99499 E/M - 99500-99600 home health (mainly nonphysician, such as newborn care in home) - 99605-99607 medication management - 98966-98968 non physician telephone services\n(subscription to AMA Required)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-goal-description" + }, + "name": "US Core Goal Codes", + "description": "Concepts from CPT and LOINC code systems that can be used to indicate the goal.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-narrative-status" + }, + "name": "US Core Narrative Status", + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-category" + }, + "name": "US Core Observation Category", + "description": "HL7 FHIR concepts to classify an observation", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smokingstatus-max" + }, + "name": "US Core Smoking Status Max-Binding", + "description": "Representing a patient’s smoking behavior using concepts from SNOMED CT.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smoking-status-status" + }, + "name": "US Core Status for Smoking Status Observation", + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-value-codes" + }, + "name": "US Core Observation Value Codes (SNOMED-CT)", + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-problem-or-health-concern" + }, + "name": "US Core Problem or Health Concern", + "description": "Code set for category codes for *US Core Condition Problems and Health Concerns Profile* consisting of the concepts \"problem\" and \"health-concern\".", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-procedure-code" + }, + "name": "US Core Procedure Codes", + "description": "Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS,CDT and LOINC code systems that can be used to indicate the type of procedure performed.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-provenance-participant-type" + }, + "name": "US Core Provenance Participant Type Codes", + "description": "The type of participation a provenance agent played for a given target.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-provider-role" + }, + "name": "US Core Provider Role (NUCC)", + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-servicerequest-category" + }, + "name": "US Core ServiceRequest Category Codes", + "description": "A set of SNOMED CT and LOINC concepts to classify a requested service", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-sexual-orientation" + }, + "name": "US Core Sexual Orientation", + "description": "The US Core Sexual Orientation Value Set includes concepts to describe a person’s sexual orientation (who they are attracted to).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-smoking-status-observation-codes" + }, + "name": "US Core Smoking Status Observation Codes", + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-usps-state" + }, + "name": "USPS Two Letter Alphabetic Codes", + "description": "This value set defines two letter USPS alphabetic codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-vital-signs" + }, + "name": "US Core Vital Signs ValueSet", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-2" + }, + "name": "Device Defib Example", + "description": "This is a Device defib example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-3" + }, + "name": "Device Knee Example", + "description": "This is a Device knee example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/bone-density-report" + }, + "name": "DXA Bone density quantitative measurement panel Example", + "description": "This is a DXA Bone density quantitative measurement panel report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/cardiology-report" + }, + "name": "DiagnosticReport Cardiology Report Example", + "description": "This is a DiagnosticReport cardiology report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/chest-xray-report" + }, + "name": "DiagnosticReport Chest Xray Report Example", + "description": "This is a DiagnosticReport chest xray report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-color" + }, + "name": "10 minute Apgar Color Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-heart-rate" + }, + "name": "10 minute Apgar Heart Rate Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-muscle-tone" + }, + "name": "10 minute Apgar Muscle Tone Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-reflex-irritability" + }, + "name": "10 minute Apgar Reflex Irritability Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse..", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-respiratory-effort" + }, + "name": "10 minute Apgar Respiratory effort Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-score-panel" + }, + "name": "10 Minute Apgar Score Panel Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture surveys assessments as a panel of observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-score" + }, + "name": "10 Minute Apgar Score Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-44250-9" + }, + "name": "Ahc-Hrsn Item Example 44250-9", + "description": "This is a Ahc-Hrsn Item Example 44250-9 (Little interest or pleasure in doing things?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-44255-8" + }, + "name": "Ahc-Hrsn Item Example 44255-8", + "description": "This is a Ahc-Hrsn Item Example 44255-8 (Feeling down, depressed, or hopeless?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-68516-4" + }, + "name": "Ahc-Hrsn Item Example 68516-4", + "description": "This is a Ahc-Hrsn Item Example 68516-4 (On average, how many minutes did you usually spend exercising at this level on one of those days?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-68517-2" + }, + "name": "Ahc-Hrsn Item Example 68517-2", + "description": "This is a Ahc-Hrsn Item Example 68517-2 (How many times in the past 12 months have you had 5 or more drinks in a day (males) or 4 or more drinks in a day (females)?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-68524-8" + }, + "name": "Ahc-Hrsn Item Example 68524-8", + "description": "This is a Ahc-Hrsn Item Example 68524-8 (How many times in the past year have you used illegal drugs?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-69858-9" + }, + "name": "Ahc-Hrsn Item Example 69858-9", + "description": "This is a Ahc-Hrsn Item Example 69858-9 (Because of a physical, mental, or emotional condition, do you have serious difficulty concentrating, remembering, or making decisions?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-69861-3" + }, + "name": "Ahc-Hrsn Item Example 69861-3", + "description": "This is a Ahc-Hrsn Item Example 69861-3 (Because of a physical, mental, or emotional condition, do you have difficulty doing errands alone such as visiting a physician's office or shopping?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-76513-1" + }, + "name": "Ahc-Hrsn Item Example 76513-1", + "description": "This is a Ahc-Hrsn Item Example 76513-1 (How hard is it for you to pay for the very basics like food, housing, medical care, and heating?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-89555-7" + }, + "name": "Ahc-Hrsn Item Example 89555-7", + "description": "This is a Ahc-Hrsn Item Example 89555-7 (In the last 30 days, other than the activities you did for work, on average, how many days per week did you engage in moderate exercise (like walking fast, running, jogging, dancing, swimming, biking, or other similar activities)?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-93038-8" + }, + "name": "Ahc-Hrsn Item Example 93038-8", + "description": "This is a Ahc-Hrsn Item Example 93038-8 (Stress means a situation in which a person feels tense, restless, nervous, or anxious, or is unable to sleep at night because his or her mind is troubled all the time. Do you feel this kind of stress these days?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-93159-2" + }, + "name": "Ahc-Hrsn Item Example 93159-2", + "description": "This is a Ahc-Hrsn Item Example 93159-2 (How often do you feel lonely or isolated from those around you?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-95530-2" + }, + "name": "Ahc-Hrsn Item Example 95530-2", + "description": "This is a Ahc-Hrsn Item Example 95530-2 (How many times in the past year have you used prescription drugs for non-medical reasons?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-96780-2" + }, + "name": "Ahc-Hrsn Item Example 96780-2", + "description": "This is a Ahc-Hrsn Item Example 96780-2 (Do you want help finding or keeping work or a job?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-96781-0" + }, + "name": "Ahc-Hrsn Item Example 96781-0", + "description": "This is a Ahc-Hrsn Item Example 96781-0 (If for any reason you need help with day-to-day activities such as bathing, preparing meals, shopping, managing finances, etc., do you get the help you need?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-96782-8" + }, + "name": "Ahc-Hrsn Item Example 96782-8", + "description": "This is a Ahc-Hrsn Item Example 96782-8 (Do you want help with school or training? For example, starting or completing job training or getting a high school diploma, GED or equivalent.) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-96842-0" + }, + "name": "Ahc-Hrsn Item Example 96842-0", + "description": "This is a Ahc-Hrsn Item Example 96842-0 (How often have you used any tobacco product in past 12 months?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-97027-7" + }, + "name": "Ahc-Hrsn Item Example 97027-7", + "description": "This is a Ahc-Hrsn Item Example 97027-7 (Do you speak a language other than English at home?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-panel-example-96777-8" + }, + "name": "Ahc-Hrsn Panel Example 96777-8", + "description": "This is a Ahc-Hrsn Panel Example 96777-8 (Accountable health communities (AHC) health-related social needs screening (HRSN) tool) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/HVS-item-example-88122-7" + }, + "name": "Hvs Item Example 88122-7", + "description": "This is a Hvs Item Example 88122-7 ((I/We) worried whether (my/our) food would run out before (I/we) got money to buy more.) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/HVS-item-example-88123-5" + }, + "name": "Hvs Item Example 88123-5", + "description": "This is a Hvs Item Example 88123-5 (The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more.) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/HVS-item-example-88124-3" + }, + "name": "Hvs Item Example 88124-3", + "description": "This is a Hvs Item Example 88124-3 (Food insecurity risk) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/HVS-panel-example-88121-9" + }, + "name": "Hvs Panel Example 88121-9", + "description": "This is a Hvs Panel Example 88121-9 (Hunger Vital Sign [HVS]) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-54899-0" + }, + "name": "Prapare Item Example 54899-0", + "description": "This is a Prapare Item Example 54899-0 (Preferred language) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-56051-6" + }, + "name": "Prapare Item Example 56051-6", + "description": "This is a Prapare Item Example 56051-6 (Do you consider yourself Hispanic/Latino?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-56799-0" + }, + "name": "Prapare Item Example 56799-0", + "description": "This is a Prapare Item Example 56799-0 (Address) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-63512-8" + }, + "name": "Prapare Item Example 63512-8", + "description": "This is a Prapare Item Example 63512-8 (How many people are living or staying at this address?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-63586-2" + }, + "name": "Prapare Item Example 63586-2", + "description": "This is a Prapare Item Example 63586-2 (What was your best estimate of the total income of all family members from all sources, before taxes, in last year?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-67875-5" + }, + "name": "Prapare Item Example 67875-5", + "description": "This is a Prapare Item Example 67875-5 (Employment status current) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-71802-3" + }, + "name": "Prapare Item Example 71802-3", + "description": "This is a Prapare Item Example 71802-3 (Housing status) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-76437-3" + }, + "name": "Prapare Item Example 76437-3", + "description": "This is a Prapare Item Example 76437-3 (Primary insurance) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-76501-6" + }, + "name": "Prapare Item Example 76501-6", + "description": "This is a Prapare Item Example 76501-6 (Within the last year, have you been afraid of your partner or ex-partner?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-82589-3" + }, + "name": "Prapare Item Example 82589-3", + "description": "This is a Prapare Item Example 82589-3 (Highest level of educ) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93026-3" + }, + "name": "Prapare Item Example 93026-3", + "description": "This is a Prapare Item Example 93026-3 (Do you feel physically and emotionally safe where you currently live?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93027-1" + }, + "name": "Prapare Item Example 93027-1", + "description": "This is a Prapare Item Example 93027-1 (Are you a refugee?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93028-9" + }, + "name": "Prapare Item Example 93028-9", + "description": "This is a Prapare Item Example 93028-9 (In the past year, have you spent more than 2 nights in a row in a jail, prison, detention center, or juvenile correctional facility?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93029-7" + }, + "name": "Prapare Item Example 93029-7", + "description": "This is a Prapare Item Example 93029-7 (How often do you see or talk to people that you care about and feel close to (For example: talking to friends on the phone, visiting friends or family, going to church or club meetings)?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93030-5" + }, + "name": "Prapare Item Example 93030-5", + "description": "This is a Prapare Item Example 93030-5 (Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93033-9" + }, + "name": "Prapare Item Example 93033-9", + "description": "This is a Prapare Item Example 93033-9 (Are you worried about losing your housing?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93034-7" + }, + "name": "Prapare Item Example 93034-7", + "description": "This is a Prapare Item Example 93034-7 (Have you been discharged from the armed forces of the United States?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93035-4" + }, + "name": "Prapare Item Example 93035-4", + "description": "This is a Prapare Item Example 93035-4 (At any point in the past 2 years, has season or migrant farm work been your or your family's main source of income?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93038-8" + }, + "name": "Prapare Item Example 93038-8", + "description": "This is a Prapare Item Example 93038-8 (Stress is when someone feels tense, nervous, anxious or can't sleep at night because their mind is troubled. How stressed are you?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-multiselect-item-example-32624-9-answer0" + }, + "name": "Prapare Multiselect-Item Example 32624-9-Answer0", + "description": "This is a Prapare Multiselect-Item Example 32624-9-Answer0 (Race) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-multiselect-item-example-32624-9-answer1" + }, + "name": "Prapare Multiselect-Item Example 32624-9-Answer1", + "description": "This is a Prapare Multiselect-Item Example 32624-9-Answer1 (Race) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-multiselect-item-example-93031-3-answer0" + }, + "name": "Prapare Multiselect-Item Example 93031-3-Answer0", + "description": "This is a Prapare Multiselect-Item Example 93031-3-Answer0 (In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-multiselect-item-example-93031-3-answer1" + }, + "name": "Prapare Multiselect-Item Example 93031-3-Answer1", + "description": "This is a Prapare Multiselect-Item Example 93031-3-Answer1 (In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93025-5" + }, + "name": "Prapare Panel Example 93025-5", + "description": "This is a Prapare Panel Example 93025-5 (Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences [PRAPARE]) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93039-6" + }, + "name": "Prapare Panel Example 93039-6", + "description": "This is a Prapare Panel Example 93039-6 (Optional additional questions) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93040-4" + }, + "name": "Prapare Panel Example 93040-4", + "description": "This is a Prapare Panel Example 93040-4 (Social and emotional health) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93041-2" + }, + "name": "Prapare Panel Example 93041-2", + "description": "This is a Prapare Panel Example 93041-2 (Money and resources) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93042-0" + }, + "name": "Prapare Panel Example 93042-0", + "description": "This is a Prapare Panel Example 93042-0 (Family and home) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93043-8" + }, + "name": "PRAPARE Panel Example 93043-8", + "description": "This is a Prapare Panel Example 93043-8 (Personal characteristics) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2" + }, + "name": "PractitionerRole_Practitioner_Endpoint_Bundle_Example Example", + "description": "This is a PractitionerRole_Practitioner_Endpoint_Bundle_Example example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + } + ], + "reference": { + "reference": "Procedure/defib-implant" + }, + "name": "Procedure R4 Defib Implant Example", + "description": "This is a Procedure R4 defib implant example for the *US Core Procedure Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "QuestionnaireResponse" + } + ], + "reference": { + "reference": "QuestionnaireResponse/AHC-HRSN-screening-example" + }, + "name": "AHC HRSN Screening Example", + "description": "'An example of an SDC QuestionnaireResponse that represents questions and selected answers from the Accountable health communities (AHC) health-related social needs screening (HRSN) tool in LOINC (code 96777-8). The example is generated using the LHC-Forms SDC Questionnaire App.'", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "QuestionnaireResponse" + } + ], + "reference": { + "reference": "QuestionnaireResponse/PRAPARE-example" + }, + "name": "PRAPARE Example", + "description": "'An example of an US Core QuestionnaireResponse that represents questions and selected answers from the PRAPARE questionnaire represented in LOINC (code 93025-5). The example is generated using the LHC-Forms SDC Questionnaire App.'", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "QuestionnaireResponse" + } + ], + "reference": { + "reference": "QuestionnaireResponse/glascow-coma-score" + }, + "name": "Glascow Coma Score Example", + "description": "'This example of a US Core QuestionnaireResponse illustrate using Questionnaire as a *stand alone* resource. It does not point to the definition of the questions in a FHIR Questionnaire, but represents the answers from a non FHIR survey instrument (in this case a pdf).'", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "QuestionnaireResponse" + } + ], + "reference": { + "reference": "QuestionnaireResponse/hunger-vital-sign-example" + }, + "name": "Hunger Vital Sign [HVS] Example", + "description": "'An example of an SDC QuestionnaireResponse that represents questions and selected answers from the Hunger Vital Sign Example questionnaire represented in LOINC (code 88122-7). The example is generated using the LHC-Forms SDC Questionnaire App.'", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/acme-lab" + }, + "name": "Acme Lab Example", + "description": "This is a acme lab example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AllergyIntolerance" + } + ], + "reference": { + "reference": "AllergyIntolerance/example" + }, + "name": "AllergyIntolerance Example", + "description": "This is a allergyintolerance example for the *US Core AllergyIntolerance Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901" + }, + "name": "AllergyIntolerance Provenance Example", + "description": "This is a allergyintolerance provenance example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/blood-pressure" + }, + "name": "Blood Pressure Example", + "description": "This is a blood pressure example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bmi" + }, + "name": "BMI Example", + "description": "This is a BMI example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bp-data-absent" + }, + "name": "BP Data Absent Example", + "description": "This is a bp data absent example for the *Vitalsigns Profile* showing how to reprsesent blood pressure with a missing diastolic measurement.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/capillary-refill-time-nail-bed" + }, + "name": "Capillary refill Time Nail Bed Example", + "description": "This is a Capillary refill Time Nail Bed Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CareTeam" + } + ], + "reference": { + "reference": "CareTeam/example" + }, + "name": "CareTeam Example", + "description": "This is a careteam example for the *US Core CareTeam Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CarePlan" + } + ], + "reference": { + "reference": "CarePlan/colonoscopy" + }, + "name": "Colonoscopy Example", + "description": "This is a colonoscopy example for the *US Core CarePlan Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/condition-SDOH-example" + }, + "name": "SDOH Problem/Health Concern Example", + "description": "This example of a US Core Condition Problems and Health Concerns Profile illustrates its use to capture information about a patient's SDOH Problem/Health Concern.", + "exampleCanonical": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/encounter-diagnosis-example1" + }, + "name": "Encounter Diagnosis Example 1", + "description": "This example of a US Core Condition Encounter Diagnosis Profile illustrates its use to capture information about a patient's encounter diagnosis.", + "exampleCanonical": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/encounter-diagnosis-example2" + }, + "name": "Encounter Diagnosis Example 2", + "description": "This example of a US Core Condition Encounter Diagnosis Profile illustrates its use to capture information about a patient's encounter diagnosis.", + "exampleCanonical": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/cbc" + }, + "name": "CBC Example", + "description": "This is a CBC example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/metabolic-panel" + }, + "name": "Metabolic Panel Example", + "description": "This is a metabolic panel example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-femur-l-armass-bmd" + }, + "name": "DXA Femur-L ArMass BMD Example", + "description": "This is a DXA Femur-L ArMass BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-femur-l-t-score-bmd" + }, + "name": "DXA Femur-L T-score BMD Example", + "description": "This is a DXA Femur-L T-score BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-femur-l-z-score-bmd" + }, + "name": "DXA Femur-L Z-score BMD Example", + "description": "This is a DXA Femur-L Z-score BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-hip-l-armass-bmd" + }, + "name": "DXA Hip-L ArMass BMD Example", + "description": "This is a DXA Hip-L ArMass BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-hip-l-t-score-bmd" + }, + "name": "DXA Hip-L T-score BMD Example", + "description": "This is a DXA Hip-L T-score BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-hip-l-z-score-bmd" + }, + "name": "DXA Hip-L Z-score BMD Example", + "description": "This is a DXA Hip-L Z-score BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/ekg-impression" + }, + "name": "EKG impression Example", + "description": "This is a EKG impression Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/ekg-lead" + }, + "name": "EKG lead Example", + "description": "This is a EKG lead Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/1036" + }, + "name": "Encounter 1036 Example", + "description": "This is a encounter 1036 example for the *Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/delivery" + }, + "name": "Encounter Delivery Example", + "description": "This is a patient delivery encounter example for the *Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/example-1" + }, + "name": "Encounter 1 Example", + "description": "This is a encounter 1 example for the *US Core Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DocumentReference" + } + ], + "reference": { + "reference": "DocumentReference/episode-summary" + }, + "name": "Episode Summary Example", + "description": "This is a episode summary example for the *US Core DocumentReference Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/example-organization-2" + }, + "name": "Organization 2 Example", + "description": "This is a organization 2 example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ServiceRequest" + } + ], + "reference": { + "reference": "ServiceRequest/foodpantry-referral" + }, + "name": "ServiceRequest Example", + "description": "This is a service request example for the *US Core ServiceRequest Profile Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + } + ], + "reference": { + "reference": "Goal/goal-1" + }, + "name": "Goal 1 Example", + "description": "This is a goal 1 example for the *US Core Goal Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + } + ], + "reference": { + "reference": "Goal/goal-sdoh-2" + }, + "name": "Goal 2 Example", + "description": "This is a goal 2 example for the *US Core Goal Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/head-circumference" + }, + "name": "Head Circumference Example", + "description": "This is a head circumference example for the *US Core Head Circumference Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/health-concern-example" + }, + "name": "Health Concern Example", + "description": "This example of a US Core Condition Problems and Health Concerns Profile illustrates its use to capture information about a patient's health concern.", + "exampleCanonical": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/heart-rate-rhythm" + }, + "name": "Heart rate rhythm Example", + "description": "This is a Heart rate rhythm Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/heart-rate" + }, + "name": "Heart Rate Example", + "description": "This is a heart rate example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/height" + }, + "name": "Height Example", + "description": "This is a height example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + } + ], + "reference": { + "reference": "Location/hl7east" + }, + "name": "HL7East Example", + "description": "This is a HL7East example for the *US Core Location Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Immunization" + } + ], + "reference": { + "reference": "Immunization/imm-1" + }, + "name": "Imm 1 Example", + "description": "This is a imm 1 example for the *US Core Immunization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/jugular-vein-distension" + }, + "name": "Jugular vein distension Example", + "description": "This is a Jugular vein distension Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/length" + }, + "name": "Length Example", + "description": "This is a length example for the *Vitalsigns Profile* which shows how body length (typically used for infants) is represented using 8306-3 -*Body height - lying* as an additional observation code.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + } + ], + "reference": { + "reference": "Location/hospital" + }, + "name": "Hospital Location", + "description": "This is an example hospital location for the *US Core Location Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Media" + } + ], + "reference": { + "reference": "Media/chest-xray" + }, + "name": "Chest Xray Example", + "description": "This is an example Media xray image that is reference by the *US Core DiagnosticReport Note Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Media" + } + ], + "reference": { + "reference": "Media/ekg-strip" + }, + "name": "EKG Strip Image", + "description": "This is an example Media image that is reference by the *US Core DiagnosticReport Note Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/blood-glucose" + }, + "name": "Blood Glucose Example", + "description": "This is a blood glucose example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bun" + }, + "name": "BUN Example", + "description": "This is a BUN example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/erythrocytes" + }, + "name": "Erythrocytes Example", + "description": "This is a erythrocytes example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/hemoglobin" + }, + "name": "Hemoglobin Example", + "description": "This is a hemoglobin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/mchc" + }, + "name": "MCHC Example", + "description": "This is a MCHC example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/neutrophils" + }, + "name": "Neutrophils Example", + "description": "This is a neutrophils example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/satO2-fiO2" + }, + "name": "Observation SatO2 FiO2 Example", + "description": "This is a observation satO2 fiO2 example for the *US Core Pulse Oximetry Profile* representing a spO2 value with a for a patient on 6 l/min of O2 suppplemental oxygen.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-calcium" + }, + "name": "Serum Calcium Example", + "description": "This is a serum calcium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-chloride" + }, + "name": "Serum Chloride Example", + "description": "This is a serum chloride example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-co2" + }, + "name": "Serum CO2 Example", + "description": "This is a serum CO2 example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-creatinine" + }, + "name": "Serum Creatinine Example", + "description": "This is a serum creatinine example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-potassium" + }, + "name": "Serum Potassium Example", + "description": "This is a serum potassium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-sodium" + }, + "name": "Serum Sodium Example", + "description": "This is a serum sodium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-total-bilirubin" + }, + "name": "Serum Total Bilirubin Example", + "description": "This is a serum total bilirubin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/xray-chest-findings" + }, + "name": "Xray Chest Findings Example", + "description": "This example of a US Core Observation Imaging Result Profile illustrates its use to capture information about a patient's radiology study findings.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/xray-chest-impression" + }, + "name": "Xray Chest Impression Example", + "description": "This example of a US Core Observation Imaging Result Profile illustrates its use to capture information about a patient's radiology study impression.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/ofc-percentile" + }, + "name": "OFC Percentile Example", + "description": "This is a OFC percentile example for the *Head Occipital Frontal Circumference Percentile Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/oxygen-saturation" + }, + "name": "Oxygen Saturation Example", + "description": "This is a typical oxygen saturation example for the *US Core Pulse Oximetry Profile* on room air where no oxygen concentration is recorded.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/p-r-interval-ekg-lead" + }, + "name": "P-R interval {EKG lead} Example", + "description": "This is a P-R interval {EKG lead} Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/child-example" + }, + "name": "Patient Child Example", + "description": "This is a patient child example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/example" + }, + "name": "Patient Example", + "description": "This is a patient example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/infant-example" + }, + "name": "Patient Infant Example", + "description": "This is a patient infant example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pediatric-bmi-example" + }, + "name": "Pediatric BMI Example", + "description": "This is a pediatric BMI example for the *Pediatric BMI For Age Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pediatric-wt-example" + }, + "name": "Pediatric Wt Example", + "description": "This is a pediatric wt example for the *Pediatric Weight For Height Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + } + ], + "reference": { + "reference": "Practitioner/practitioner-1" + }, + "name": "Practitioner 1 Example", + "description": "This is a practitioner 1 example for the *US Core Practitioner Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + } + ], + "reference": { + "reference": "Practitioner/practitioner-2" + }, + "name": "Practitioner 2 Example", + "description": "This is a practitioner 2 example for the *US Core Practitioner Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pulse-intensity-palpation" + }, + "name": "Pulse intensity Palpation Example", + "description": "This is a Pulse intensity Palpation Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/q-t-interval-ekg-lead" + }, + "name": "Q-T interval {EKG lead} Example", + "description": "This is a Q-T interval {EKG lead} Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/qrs-dur-ekg-lead" + }, + "name": "QRS dur {EKG lead} Example", + "description": "This is a QRS dur {EKG lead} Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + } + ], + "reference": { + "reference": "Procedure/rehab" + }, + "name": "Rehab Example", + "description": "This is a rehab example for the *US Core Procedure Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "RelatedPerson" + } + ], + "reference": { + "reference": "RelatedPerson/shaw-niece" + }, + "name": "Patient Niece Example", + "description": "This is a patient niece example for the *US Core RelatedPerson Profile Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/respiratory-rate" + }, + "name": "Respiratory Rate Example", + "description": "This is a respiratory rate example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/saint-luke-w-endpoint" + }, + "name": "Saint Luke W Endpoint Example", + "description": "This is a saint luke w endpoint example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/self-tylenol" + }, + "name": "Self Tylenol Example", + "description": "This is a self tylenol example for the *MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/sexual-orientation-example" + }, + "name": "Sexual Orientation Observation Example", + "description": "This is an sexual orientation example for the *US Core Observation Sexual Orientation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/socialhistory-assessment-example" + }, + "name": "Social History Assessment Example", + "description": "This is a Social History Assessment Example for the *US Core Observation Social History Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/some-day-smoker" + }, + "name": "Some Day Smoker Example", + "description": "This is a some day smoker example for the *US Core Smokingstatus Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/temperature" + }, + "name": "Temperature Example", + "description": "This is a temperature example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-1" + }, + "name": "UDI 1 Example", + "description": "This is a UDI 1 example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urobilinogen" + }, + "name": "Urobilinogen Example", + "description": "This is a urobilinogen example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + } + ], + "reference": { + "reference": "Medication/uscore-med1" + }, + "name": "Uscore Med1 Example", + "description": "This is a uscore med1 example for the *US Core Medication Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + } + ], + "reference": { + "reference": "Medication/uscore-med2" + }, + "name": "Uscore Med2 Example", + "description": "This is a uscore med2 example for the *US Core Medication Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo1" + }, + "name": "Uscore MO1 Example", + "description": "This is a uscore mo1 example for the *US Core MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo2" + }, + "name": "Uscore MO2 Example", + "description": "This is a uscore MO2 example for the *US Core MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/uscore-mo3" + }, + "name": "Uscore MO3 Example", + "description": "This is a uscore mo3 example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/weight" + }, + "name": "Weight Example", + "description": "This is a weight example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight" + } + ], + "page": { + "nameUrl": "toc.html", + "title": "Table of Contents", + "generation": "html", + "page": [ + { + "nameUrl": "index.html", + "title": "Home", + "generation": "markdown" + }, + { + "nameUrl": "conformance.html", + "title": "Conformance", + "generation": "markdown", + "page": [ + { + "nameUrl": "general-requirements.html", + "title": "General Requirements", + "generation": "markdown" + }, + { + "nameUrl": "must-support.html", + "title": "Must Support", + "generation": "markdown", + "page": [ + { + "nameUrl": "observation-summary.html", + "title": "Observation Summary Table", + "generation": "markdown" + } + ] + } + ] + }, + { + "nameUrl": "guidance.html", + "title": "Guidance", + "generation": "markdown", + "page": [ + { + "nameUrl": "uscdi.html", + "title": "USCDI", + "generation": "markdown" + }, + { + "nameUrl": "general-guidance.html", + "title": "General Guidance", + "generation": "markdown" + }, + { + "nameUrl": "clinical-notes.html", + "title": "Clinical Notes", + "generation": "markdown" + }, + { + "nameUrl": "medication-list.html", + "title": "Medication List", + "generation": "markdown" + }, + { + "nameUrl": "basic-provenance.html", + "title": "Basic Provenance", + "generation": "markdown" + }, + { + "nameUrl": "sdoh.html", + "title": "Social Determinants of Health (SDOH)", + "generation": "markdown" + }, + { + "nameUrl": "changes-between-versions.html", + "title": "Changes Between Versions", + "generation": "markdown" + }, + { + "nameUrl": "future-of-US-core.html", + "title": "Future of US Core", + "generation": "markdown" + } + ] + }, + { + "nameUrl": "profiles-and-extensions.html", + "title": "Profiles and Extensions", + "generation": "markdown" + }, + { + "nameUrl": "capability-statements.html", + "title": "Capability Statements", + "generation": "markdown" + }, + { + "nameUrl": "search-parameters-and-operations.html", + "title": "Search Parameters and Operations", + "generation": "markdown" + }, + { + "nameUrl": "terminology.html", + "title": "Terminology", + "generation": "markdown" + }, + { + "nameUrl": "security.html", + "title": "Security", + "generation": "markdown" + }, + { + "nameUrl": "examples.html", + "title": "Examples", + "generation": "markdown" + }, + { + "nameUrl": "downloads.html", + "title": "Downloads", + "generation": "markdown" + }, + { + "nameUrl": "changes.html", + "title": "Change Log", + "generation": "markdown" + } + ] + }, + "parameter": [ + { + "code": "path-resource", + "value": "input/resources" + }, + { + "code": "path-resource", + "value": "fsh-generated/resources" + }, + { + "code": "path-pages", + "value": "input/pagecontent" + }, + { + "code": "path-pages", + "value": "input/intro-notes" + }, + { + "code": "path-pages", + "value": "fsh-generated/includes" + }, + { + "code": "path-resource", + "value": "input/capabilities" + }, + { + "code": "path-resource", + "value": "input/examples" + }, + { + "code": "path-resource", + "value": "input/extensions" + }, + { + "code": "path-resource", + "value": "input/models" + }, + { + "code": "path-resource", + "value": "input/operations" + }, + { + "code": "path-resource", + "value": "input/profiles" + }, + { + "code": "path-resource", + "value": "input/vocabulary" + }, + { + "code": "path-resource", + "value": "input/testing" + }, + { + "code": "path-resource", + "value": "input/history" + }, + { + "code": "path-pages", + "value": "template/config" + }, + { + "code": "path-pages", + "value": "input/images" + }, + { + "code": "path-tx-cache", + "value": "input-cache/txcache" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/OperationDefinition-docref.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/OperationDefinition-docref.json new file mode 100644 index 00000000000..b5d3aacb821 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/OperationDefinition-docref.json @@ -0,0 +1,101 @@ +{ + "resourceType": "OperationDefinition", + "id": "docref", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/OperationDefinition/docref", + "version": "5.0.0", + "name": "USCoreFetchDocumentReference", + "title": "US Core Fetch DocumentReference", + "status": "active", + "kind": "operation", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This operation is used to return all the references to documents related to a patient. \n\n The operation requires a patient id and takes the optional input parameters: \n - start date\n - end date\n - document type \n\n and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [DocumentReference](http://hl7.org/fhir/documentreference.html) resources for the patient. The DocumentReference resources **SHOULD** conform to the [US Core DocumentReference\n Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference). If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference resources needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. \n\n This operation is *different* from a search by patient and type and date range because: \n\n 1. It is used to request a server *generate* a document based on the specified parameters. \n\n 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD \n\n 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. \n\n This operation is the *same* as a FHIR RESTful search by patient,type and date range because: \n\n 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "docref", + "comment": " - The server is responsible for determining what resources, if any, to return as [included](http://hl7.org/fhir/R4/search.html#revinclude) resources rather than the client specifying which ones. This frees the client from needing to determine what it could or should ask for. For example, the server may return the referenced document as an included FHIR Binary resource within the return bundle. The server's CapabilityStatement should document this behavior. \n\n - The document itself can be subsequently retrieved using the link provided in the `DocumentReference.content.attachment.url element`. The link could be a FHIR endpoint to a [Binary](http://hl7.org/fhir/R4/binary.html) Resource or some other document repository. \n\n - It is assumed that the server has identified and secured the context appropriately, and can either associate the authorization context with a single patient, or determine whether the context has the rights to the nominated patient, if there is one. If there is no nominated patient (e.g. the operation is invoked at the system level) and the context is not associated with a single patient record, then the server should return an error. Specifying the relationship between the context, a user and patient records is outside the scope of this specification", + "system": false, + "type": true, + "instance": false, + "parameter": [ + { + "name": "patient", + "use": "in", + "min": 1, + "max": "1", + "documentation": "The id of the patient resource located on the server on which this operation is executed. If there is no match, an empty Bundle is returned", + "type": "id" + }, + { + "name": "start", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no start date is provided, all documents prior to the end date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope. The client **SHOULD** provide values precise to the second + time offset.", + "type": "dateTime" + }, + { + "name": "end", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The date range relates to care dates, not record currency dates - e.g. all records relating to care provided in a certain date range. If no end date is provided, all documents subsequent to the start date are in scope. If neither a start date nor an end date is provided, the most recent or current document is in scope. The client **SHOULD** provide values precise to the second + time offset.", + "type": "dateTime" + }, + { + "name": "type", + "use": "in", + "min": 0, + "max": "1", + "documentation": "The type relates to document type e.g. for the LOINC code for a C-CDA Clinical Summary of Care (CCD) is 34133-9 (Summary of episode note). If no type is provided, the CCD document, if available, SHALL be in scope and all other document types MAY be in scope", + "type": "CodeableConcept", + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-doc-typecodes" + } + }, + { + "name": "on-demand", + "use": "in", + "min": 0, + "max": "1", + "documentation": "This on-demand parameter allows client to dictate whether they are requesting only ‘on-demand’ or both ‘on-demand’ and 'stable' documents (or delayed/deferred assembly) that meet the query parameters", + "type": "boolean" + }, + { + "name": "return", + "use": "out", + "min": 1, + "max": "1", + "documentation": "The bundle type is \"searchset\"containing [DocumentReference](http://hl7.org/fhir/documentreference.html) resources which **SHOULD** conform to the [US Core DocumentReference Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference)", + "type": "Bundle" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-allergyintolerance-clinical-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-allergyintolerance-clinical-status.json new file mode 100644 index 00000000000..9fc0e3b6453 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-allergyintolerance-clinical-status.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-clinical-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-clinical-status", + "version": "5.0.0", + "name": "USCoreAllergyintoleranceClinicalStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/AllergyIntolerance-clinical-status", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**active | inactive | resolved** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "clinical-status", + "base": [ + "AllergyIntolerance" + ], + "type": "token", + "expression": "AllergyIntolerance.clinicalStatus", + "xpath": "f:AllergyIntolerance/f:clinicalStatus", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-allergyintolerance-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-allergyintolerance-patient.json new file mode 100644 index 00000000000..c33f9877552 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-allergyintolerance-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-allergyintolerance-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-allergyintolerance-patient", + "version": "5.0.0", + "name": "USCoreAllergyintolerancePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Who the sensitivity is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "AllergyIntolerance" + ], + "type": "reference", + "expression": "AllergyIntolerance.patient", + "xpath": "f:AllergyIntolerance/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-category.json new file mode 100644 index 00000000000..0cd35660d0b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-category.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-category", + "version": "5.0.0", + "name": "USCoreCareplanCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/CarePlan-category", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Type of plan** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "CarePlan" + ], + "type": "token", + "expression": "CarePlan.category", + "xpath": "f:CarePlan/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-date.json new file mode 100644 index 00000000000..f596fd0a8ec --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-date", + "version": "5.0.0", + "name": "USCoreCareplanDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Time period plan covers** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "CarePlan" + ], + "type": "date", + "expression": "CarePlan.period", + "xpath": "f:CarePlan/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-patient.json new file mode 100644 index 00000000000..29f0ccde225 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careplan-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-patient", + "version": "5.0.0", + "name": "USCoreCareplanPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Who the care plan is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "CarePlan" + ], + "type": "reference", + "expression": "CarePlan.subject.where(resolve() is Patient)", + "xpath": "f:CarePlan/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-status.json new file mode 100644 index 00000000000..0f0c6ab9d1c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careplan-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-careplan-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/request-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-careplan-status","version":"5.0.0","name":"USCoreCareplanStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/CarePlan-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["CarePlan"],"type":"token","expression":"CarePlan.status","xpath":"f:CarePlan/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-patient.json new file mode 100644 index 00000000000..61b72122893 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careteam-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-patient", + "version": "5.0.0", + "name": "USCoreCareteamPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Who care team is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "CareTeam" + ], + "type": "reference", + "expression": "CareTeam.subject.where(resolve() is Patient)", + "xpath": "f:CareTeam/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-role.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-role.json new file mode 100644 index 00000000000..2265ffc7ebd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-role.json @@ -0,0 +1,66 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-careteam-role", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-role", + "version": "5.0.0", + "name": "USCoreCareTeamRole", + "status": "active", + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Returns CareTeam resources with a participant role matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "role", + "base": [ + "CareTeam" + ], + "type": "token", + "expression": "CareTeam.participant.role", + "xpath": "f:CareTeam/f:participant/f:role/@value", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-status.json new file mode 100644 index 00000000000..81bc0106f75 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-careteam-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-careteam-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/care-team-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-careteam-status","version":"5.0.0","name":"USCoreCareteamStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/CareTeam-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**proposed | active | suspended | inactive | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["CareTeam"],"type":"token","expression":"CareTeam.status","xpath":"f:CareTeam/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHOULD"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-abatement-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-abatement-date.json new file mode 100644 index 00000000000..c08f58e69d9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-abatement-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-abatement-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-abatement-date", + "version": "5.0.0", + "name": "USCoreConditionAbatementDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-abatement-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Date-related abatements (dateTime and period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "abatement-date", + "base": [ + "Condition" + ], + "type": "date", + "expression": "Condition.abatement.as(dateTime)|Condition.abatement.as(Period)", + "xpath": "f:Condition/f:abatementDateTime|f:Condition/f:abatementPeriod", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-asserted-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-asserted-date.json new file mode 100644 index 00000000000..d754a7f66ee --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-asserted-date.json @@ -0,0 +1,151 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-asserted-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-asserted-date", + "version": "5.0.0", + "name": "USCoreConditionAssertedDate", + "status": "active", + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Returns conditions with an [assertedDate extension](http://hl7.org/fhir/StructureDefinition/condition-assertedDate) matching the specified date (dateTime).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "asserted-date", + "base": [ + "Condition" + ], + "type": "date", + "expression": "Condition.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/condition-assertedDate').extension.valueDateTime", + "xpath": "f:Condition/f:extension[@url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate']/f:extension/f:valueDateTime/@value", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-category.json new file mode 100644 index 00000000000..ad4522df976 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-category.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-category", + "version": "5.0.0", + "name": "USCoreConditionCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-category", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The category of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.category", + "xpath": "f:Condition/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-clinical-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-clinical-status.json new file mode 100644 index 00000000000..ea163e09f01 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-clinical-status.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-clinical-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-clinical-status", + "version": "5.0.0", + "name": "USCoreConditionClinicalStatus", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-clinical-status", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The clinical status of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "clinical-status", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.clinicalStatus", + "xpath": "f:Condition/f:clinicalStatus", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-code.json new file mode 100644 index 00000000000..79d90ff4dec --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-code.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-code", + "version": "5.0.0", + "name": "USCoreConditionCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Code for the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "Condition" + ], + "type": "token", + "expression": "Condition.code", + "xpath": "f:Condition/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-encounter.json new file mode 100644 index 00000000000..b8d6fa0f265 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-encounter.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-encounter", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-encounter", + "version": "5.0.0", + "name": "USCoreConditionEncounter", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-encounter", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Encounter created as part of** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "encounter", + "base": [ + "Condition" + ], + "type": "reference", + "expression": "Condition.encounter", + "xpath": "f:Condition/f:encounter", + "xpathUsage": "normal", + "target": [ + "Encounter" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-onset-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-onset-date.json new file mode 100644 index 00000000000..0966ac6ce0b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-onset-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-onset-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-onset-date", + "version": "5.0.0", + "name": "USCoreConditionOnsetDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-onset-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Date related onsets (dateTime and Period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "onset-date", + "base": [ + "Condition" + ], + "type": "date", + "expression": "Condition.onset.as(dateTime)|Condition.onset.as(Period)", + "xpath": "f:Condition/f:onsetDateTime|f:Condition/f:onsetPeriod", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-patient.json new file mode 100644 index 00000000000..6b5123b271f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-patient", + "version": "5.0.0", + "name": "USCoreConditionPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Who has the condition?** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Condition" + ], + "type": "reference", + "expression": "Condition.subject.where(resolve() is Patient)", + "xpath": "f:Condition/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-recorded-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-recorded-date.json new file mode 100644 index 00000000000..3473fb41438 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-condition-recorded-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-condition-recorded-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-condition-recorded-date", + "version": "5.0.0", + "name": "USCoreConditionRecordedDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Condition-recorded-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Date record was first recorded** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "recorded-date", + "base": [ + "Condition" + ], + "type": "date", + "expression": "Condition.recordedDate", + "xpath": "f:Condition/f:recordedDate", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-device-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-device-patient.json new file mode 100644 index 00000000000..b20d3e5f386 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-device-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-device-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-patient", + "version": "5.0.0", + "name": "USCoreDevicePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Device-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Patient information, if the resource is affixed to a person** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Device" + ], + "type": "reference", + "expression": "Device.patient", + "xpath": "f:Device/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-device-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-device-type.json new file mode 100644 index 00000000000..19a47cdc42b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-device-type.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-device-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-device-type", + "version": "5.0.0", + "name": "USCoreDeviceType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Device-type", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The type of the device** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "type", + "base": [ + "Device" + ], + "type": "token", + "expression": "Device.type", + "xpath": "f:Device/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-category.json new file mode 100644 index 00000000000..600b97b7663 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-category.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-category", + "version": "5.0.0", + "name": "USCoreDiagnosticreportCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-category", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Which diagnostic discipline/department created the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "DiagnosticReport" + ], + "type": "token", + "expression": "DiagnosticReport.category", + "xpath": "f:DiagnosticReport/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-code.json new file mode 100644 index 00000000000..c493bcdff7a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-code.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-code", + "version": "5.0.0", + "name": "USCoreDiagnosticreportCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "DiagnosticReport" + ], + "type": "token", + "expression": "DiagnosticReport.code", + "xpath": "f:DiagnosticReport/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-date.json new file mode 100644 index 00000000000..2becfdf69ce --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-date", + "version": "5.0.0", + "name": "USCoreDiagnosticreportDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The clinically relevant time of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "DiagnosticReport" + ], + "type": "date", + "expression": "DiagnosticReport.effective", + "xpath": "f:DiagnosticReport/f:effectiveDateTime|f:DiagnosticReport/f:effectivePeriod", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-patient.json new file mode 100644 index 00000000000..81477850057 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-diagnosticreport-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-patient", + "version": "5.0.0", + "name": "USCoreDiagnosticreportPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The subject of the report if a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "DiagnosticReport" + ], + "type": "reference", + "expression": "DiagnosticReport.subject.where(resolve() is Patient)", + "xpath": "f:DiagnosticReport/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-status.json new file mode 100644 index 00000000000..f0052df2db4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-diagnosticreport-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-diagnosticreport-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/diagnostic-report-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-diagnosticreport-status","version":"5.0.0","name":"USCoreDiagnosticreportStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/DiagnosticReport-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**The status of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["DiagnosticReport"],"type":"token","expression":"DiagnosticReport.status","xpath":"f:DiagnosticReport/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-category.json new file mode 100644 index 00000000000..e9ef2abf4de --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-category.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-category", + "version": "5.0.0", + "name": "USCoreDocumentreferenceCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-category", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Categorization of document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.category", + "xpath": "f:DocumentReference/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-date.json new file mode 100644 index 00000000000..a7f8e44973f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-date", + "version": "5.0.0", + "name": "USCoreDocumentreferenceDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**When this document reference was created** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "DocumentReference" + ], + "type": "date", + "expression": "DocumentReference.date", + "xpath": "f:DocumentReference/f:date", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-id.json new file mode 100644 index 00000000000..460134d8247 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-id.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-id", + "version": "5.0.0", + "name": "USCoreDocumentreferenceId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.id", + "xpath": "f:DocumentReference/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-patient.json new file mode 100644 index 00000000000..b43d5604af6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-patient", + "version": "5.0.0", + "name": "USCoreDocumentreferencePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Who/what is the subject of the document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "DocumentReference" + ], + "type": "reference", + "expression": "DocumentReference.subject.where(resolve() is Patient)", + "xpath": "f:DocumentReference/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-period.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-period.json new file mode 100644 index 00000000000..1ebd2eb45f8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-period.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-period", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-period", + "version": "5.0.0", + "name": "USCoreDocumentreferencePeriod", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/DocumentReference-period", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Time of service that is being documented** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "period", + "base": [ + "DocumentReference" + ], + "type": "date", + "expression": "DocumentReference.context.period", + "xpath": "f:DocumentReference/f:context/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-status.json new file mode 100644 index 00000000000..b77a1d67ae3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-documentreference-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/document-reference-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-status","version":"5.0.0","name":"USCoreDocumentreferenceStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/DocumentReference-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**current | superseded | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["DocumentReference"],"type":"token","expression":"DocumentReference.status","xpath":"f:DocumentReference/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-type.json new file mode 100644 index 00000000000..0fa551dc669 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-documentreference-type.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-documentreference-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-documentreference-type", + "version": "5.0.0", + "name": "USCoreDocumentreferenceType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-type", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Kind of document (LOINC if possible)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "type", + "base": [ + "DocumentReference" + ], + "type": "token", + "expression": "DocumentReference.type", + "xpath": "f:DocumentReference/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-class.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-class.json new file mode 100644 index 00000000000..8a27e4c5eec --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-class.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-class", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-class", + "version": "5.0.0", + "name": "USCoreEncounterClass", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Encounter-class", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Classification of patient encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "class", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.class", + "xpath": "f:Encounter/f:class", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-date.json new file mode 100644 index 00000000000..32c83be5f34 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-date", + "version": "5.0.0", + "name": "USCoreEncounterDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A date within the period the Encounter lasted** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "Encounter" + ], + "type": "date", + "expression": "Encounter.period", + "xpath": "f:Encounter/f:period", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-discharge-disposition.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-discharge-disposition.json new file mode 100644 index 00000000000..ee14301ed72 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-discharge-disposition.json @@ -0,0 +1,66 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-discharge-disposition", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-discharge-disposition", + "version": "5.0.0", + "name": "USCoreEncounterDischargeDisposition", + "status": "active", + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Returns encounters with an discharge-disposition matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "discharge-disposition", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.hospitalization.dischargeDisposition", + "xpath": "f:Encounter/f:hospitalization/f:dischargeDisposition/@value", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-id.json new file mode 100644 index 00000000000..2633020de83 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-id.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-id", + "version": "5.0.0", + "name": "USCoreEncounterId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.id", + "xpath": "f:Encounter/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-identifier.json new file mode 100644 index 00000000000..ee74593f593 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-identifier.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-identifier", + "version": "5.0.0", + "name": "USCoreEncounterIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-identifier", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Identifier(s) by which this encounter is known** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "identifier", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.identifier", + "xpath": "f:Encounter/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-location.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-location.json new file mode 100644 index 00000000000..973643aaba0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-location.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-location", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-location", + "version": "5.0.0", + "name": "USCoreEncounterLocation", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Encounter-location", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Location the encounter takes place** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "location", + "base": [ + "Encounter" + ], + "type": "reference", + "expression": "Encounter.location.location", + "xpath": "f:Encounter/f:location/f:location", + "xpathUsage": "normal", + "target": [ + "Location" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-patient.json new file mode 100644 index 00000000000..b0dd39b3d51 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-patient", + "version": "5.0.0", + "name": "USCoreEncounterPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The patient or group present at the encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Encounter" + ], + "type": "reference", + "expression": "Encounter.subject.where(resolve() is Patient)", + "xpath": "f:Encounter/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-status.json new file mode 100644 index 00000000000..15e4a7b66f0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-encounter-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/encounter-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-status","version":"5.0.0","name":"USCoreEncounterStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Encounter-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**planned | arrived | triaged | in-progress | onleave | finished | cancelled +** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["Encounter"],"type":"token","expression":"Encounter.status","xpath":"f:Encounter/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-type.json new file mode 100644 index 00000000000..a07365a30d1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-encounter-type.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-encounter-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-encounter-type", + "version": "5.0.0", + "name": "USCoreEncounterType", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-type", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Specific type of encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "type", + "base": [ + "Encounter" + ], + "type": "token", + "expression": "Encounter.type", + "xpath": "f:Encounter/f:type", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-ethnicity.json new file mode 100644 index 00000000000..75679aab8eb --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-ethnicity.json @@ -0,0 +1,66 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity", + "version": "5.0.0", + "name": "USCoreEthnicity", + "status": "active", + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Returns patients with an ethnicity extension matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "ethnicity", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity').extension.value.code", + "xpath": "f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity']/f:extension/f:valueCoding/f:code/@value", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-description.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-description.json new file mode 100644 index 00000000000..aaa4fd83cfd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-description.json @@ -0,0 +1,67 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-description", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-description", + "version": "5.0.0", + "name": "USCoreGoalDescription", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The code or text describing the goal**\n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "description", + "base": [ + "Goal" + ], + "type": "token", + "expression": "Goal.description", + "xpath": "f:Goal/f:description", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-lifecycle-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-lifecycle-status.json new file mode 100644 index 00000000000..6c22dcc30c8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-lifecycle-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-goal-lifecycle-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/goal-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-lifecycle-status","version":"5.0.0","name":"USCoreGoalLifecycleStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Goal-lifecycle-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"lifecycle-status","base":["Goal"],"type":"token","expression":"Goal.lifecycleStatus","xpath":"f:Goal/f:lifecycleStatus","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-patient.json new file mode 100644 index 00000000000..62267f1a6b9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-patient", + "version": "5.0.0", + "name": "USCoreGoalPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Who this goal is intended for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Goal" + ], + "type": "reference", + "expression": "Goal.subject.where(resolve() is Patient)", + "xpath": "f:Goal/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-target-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-target-date.json new file mode 100644 index 00000000000..13419a19141 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-goal-target-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-goal-target-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-goal-target-date", + "version": "5.0.0", + "name": "USCoreGoalTargetDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Goal-target-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Reach goal on or before** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "target-date", + "base": [ + "Goal" + ], + "type": "date", + "expression": "(Goal.target.due as date)", + "xpath": "f:Goal/f:target/f:dueDate", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-date.json new file mode 100644 index 00000000000..deb02c7cef7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-immunization-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-date", + "version": "5.0.0", + "name": "USCoreImmunizationDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Vaccination (non)-Administration Date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "Immunization" + ], + "type": "date", + "expression": "Immunization.occurrence", + "xpath": "f:Immunization/f:occurrenceDateTime|f:Immunization/f:occurrenceString", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-patient.json new file mode 100644 index 00000000000..42625db1a68 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-immunization-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-patient", + "version": "5.0.0", + "name": "USCoreImmunizationPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The patient for the vaccination record** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Immunization" + ], + "type": "reference", + "expression": "Immunization.patient", + "xpath": "f:Immunization/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-status.json new file mode 100644 index 00000000000..725e2fe0c7b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-immunization-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-immunization-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/event-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-immunization-status","version":"5.0.0","name":"USCoreImmunizationStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Immunization-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**Immunization event status** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["Immunization"],"type":"token","expression":"Immunization.status","xpath":"f:Immunization/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-city.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-city.json new file mode 100644 index 00000000000..1bdaf3611bf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-city.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-city", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-city", + "version": "5.0.0", + "name": "USCoreLocationAddressCity", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-city", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A city specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address-city", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.city", + "xpath": "f:Location/f:address/f:city", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-postalcode.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-postalcode.json new file mode 100644 index 00000000000..659c67a1e46 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-postalcode.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-postalcode", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-postalcode", + "version": "5.0.0", + "name": "USCoreLocationAddressPostalcode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-postalcode", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A postal code specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address-postalcode", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.postalCode", + "xpath": "f:Location/f:address/f:postalCode", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-state.json new file mode 100644 index 00000000000..7212fadabdd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address-state.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address-state", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address-state", + "version": "5.0.0", + "name": "USCoreLocationAddressState", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address-state", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A state specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address-state", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address.state", + "xpath": "f:Location/f:address/f:state", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address.json new file mode 100644 index 00000000000..3fedf9b4508 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-address.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-address", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address", + "version": "5.0.0", + "name": "USCoreLocationAddress", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-address", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A (part of the) address of the location** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.address", + "xpath": "f:Location/f:address", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-name.json new file mode 100644 index 00000000000..348df73c4a3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-location-name.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-location-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-location-name", + "version": "5.0.0", + "name": "USCoreLocationName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Location-name", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A portion of the location's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "name", + "base": [ + "Location" + ], + "type": "string", + "expression": "Location.name|Location.alias", + "xpath": "f:Location/f:name|f:Location/f:alias", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-authoredon.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-authoredon.json new file mode 100644 index 00000000000..d28f258985c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-authoredon.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-authoredon", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-authoredon", + "version": "5.0.0", + "name": "USCoreMedicationrequestAuthoredon", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/MedicationRequest-authoredon", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Return prescriptions written on this date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "authoredon", + "base": [ + "MedicationRequest" + ], + "type": "date", + "expression": "MedicationRequest.authoredOn", + "xpath": "f:MedicationRequest/f:authoredOn", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-encounter.json new file mode 100644 index 00000000000..a81ae85d2fd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-encounter.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-encounter", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-encounter", + "version": "5.0.0", + "name": "USCoreMedicationrequestEncounter", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/medications-encounter", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Return prescriptions with this encounter identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "encounter", + "base": [ + "MedicationRequest" + ], + "type": "reference", + "expression": "MedicationRequest.encounter", + "xpath": "f:MedicationRequest/f:encounter", + "xpathUsage": "normal", + "target": [ + "Encounter" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-intent.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-intent.json new file mode 100644 index 00000000000..d91c2649313 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-intent.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-medicationrequest-intent","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/CodeSystem/medicationrequest-intent"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-intent","version":"5.0.0","name":"USCoreMedicationrequestIntent","derivedFrom":"http://hl7.org/fhir/SearchParameter/MedicationRequest-intent","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**Returns prescriptions with different intents** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"intent","base":["MedicationRequest"],"type":"token","expression":"MedicationRequest.intent","xpath":"f:MedicationRequest/f:intent","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-patient.json new file mode 100644 index 00000000000..91243457178 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-medicationrequest-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-patient", + "version": "5.0.0", + "name": "USCoreMedicationrequestPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Returns prescriptions for a specific patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "MedicationRequest" + ], + "type": "reference", + "expression": "MedicationRequest.subject.where(resolve() is Patient)", + "xpath": "f:MedicationRequest/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-status.json new file mode 100644 index 00000000000..16650bd6bf4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-medicationrequest-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-medicationrequest-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/CodeSystem/medicationrequest-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-medicationrequest-status","version":"5.0.0","name":"USCoreMedicationrequestStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/medications-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**Status of the prescription** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["MedicationRequest"],"type":"token","expression":"MedicationRequest.status","xpath":"f:MedicationRequest/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-category.json new file mode 100644 index 00000000000..cdcc7e90047 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-category.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-category", + "version": "5.0.0", + "name": "USCoreObservationCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Observation-category", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The classification of the type of observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "Observation" + ], + "type": "token", + "expression": "Observation.category", + "xpath": "f:Observation/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-code.json new file mode 100644 index 00000000000..11c32ce8b73 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-code.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-code", + "version": "5.0.0", + "name": "USCoreObservationCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The code of the observation type** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "Observation" + ], + "type": "token", + "expression": "Observation.code", + "xpath": "f:Observation/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-date.json new file mode 100644 index 00000000000..8f3a7ab7e78 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date", + "version": "5.0.0", + "name": "USCoreObservationDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Obtained date/time. If the obtained element is a period, a date that falls in the period** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "Observation" + ], + "type": "date", + "expression": "Observation.effective", + "xpath": "f:Observation/f:effectiveDateTime|f:Observation/f:effectivePeriod|f:Observation/f:effectiveTiming|f:Observation/f:effectiveInstant", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-patient.json new file mode 100644 index 00000000000..92d136e2af3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-observation-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-patient", + "version": "5.0.0", + "name": "USCoreObservationPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The subject that the observation is about (if patient)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Observation" + ], + "type": "reference", + "expression": "Observation.subject.where(resolve() is Patient)", + "xpath": "f:Observation/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-status.json new file mode 100644 index 00000000000..a79b1252864 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-observation-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-observation-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/observation-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-status","version":"5.0.0","name":"USCoreObservationStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Observation-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**The status of the observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["Observation"],"type":"token","expression":"Observation.status","xpath":"f:Observation/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-organization-address.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-organization-address.json new file mode 100644 index 00000000000..a6c37349393 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-organization-address.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-organization-address", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-address", + "version": "5.0.0", + "name": "USCoreOrganizationAddress", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Organization-address", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "address", + "base": [ + "Organization" + ], + "type": "string", + "expression": "Organization.address", + "xpath": "f:Organization/f:address", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-organization-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-organization-name.json new file mode 100644 index 00000000000..f9ffeebde4c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-organization-name.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-organization-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-organization-name", + "version": "5.0.0", + "name": "USCoreOrganizationName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Organization-name", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A portion of the organization's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "name", + "base": [ + "Organization" + ], + "type": "string", + "expression": "Organization.name|Organization.alias", + "xpath": "f:Organization/f:name|f:Organization/f:alias", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-birthdate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-birthdate.json new file mode 100644 index 00000000000..e52ddf4a3b2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-birthdate.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-birthdate", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate", + "version": "5.0.0", + "name": "USCorePatientBirthdate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-birthdate", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The patient's date of birth** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "birthdate", + "base": [ + "Patient" + ], + "type": "date", + "expression": "Patient.birthDate", + "xpath": "f:Patient/f:birthDate", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-family.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-family.json new file mode 100644 index 00000000000..cb7d2f6172c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-family.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-family", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family", + "version": "5.0.0", + "name": "USCorePatientFamily", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-family", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A portion of the family name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "family", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name.family", + "xpath": "f:Patient/f:name/f:family", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-gender-identity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-gender-identity.json new file mode 100644 index 00000000000..feb0d7d4520 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-gender-identity.json @@ -0,0 +1,66 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-gender-identity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender-identity", + "version": "5.0.0", + "name": "USCorePatientGenderIdentity", + "status": "active", + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Returns patients with an gender-identity extension matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "gender-identity", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/patient-genderIdentity').extension.value.code", + "xpath": "f:Patient/f:extension[@url='http://hl7.org/fhir/StructureDefinition/patient-genderIdentity']/f:extension/f:valueCoding/f:code/@value xpathUsage: normal", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-gender.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-gender.json new file mode 100644 index 00000000000..57e4d296536 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-gender.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-patient-gender","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/administrative-gender"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender","version":"5.0.0","name":"USCorePatientGender","derivedFrom":"http://hl7.org/fhir/SearchParameter/individual-gender","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**Gender of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"gender","base":["Patient"],"type":"token","expression":"Patient.gender","xpath":"f:Patient/f:gender","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-given.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-given.json new file mode 100644 index 00000000000..5972a6f3334 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-given.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-given", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given", + "version": "5.0.0", + "name": "USCorePatientGiven", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/individual-given", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A portion of the given name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "given", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name.given", + "xpath": "f:Patient/f:name/f:given", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-id.json new file mode 100644 index 00000000000..61f95da9598 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-id.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-id", + "version": "5.0.0", + "name": "USCorePatientId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.id", + "xpath": "f:Patient/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-identifier.json new file mode 100644 index 00000000000..2e5f88d3f62 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-identifier.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier", + "version": "5.0.0", + "name": "USCorePatientIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A patient identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "identifier", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.identifier", + "xpath": "f:Patient/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-name.json new file mode 100644 index 00000000000..fc86d63b8be --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-patient-name.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-patient-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name", + "version": "5.0.0", + "name": "USCorePatientName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Patient-name", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "name", + "base": [ + "Patient" + ], + "type": "string", + "expression": "Patient.name", + "xpath": "f:Patient/f:name", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-id.json new file mode 100644 index 00000000000..2e4bc392d90 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-id.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitioner-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-id", + "version": "5.0.0", + "name": "USCorePractitionerId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "Practitioner" + ], + "type": "token", + "expression": "Practitioner.id", + "xpath": "f:Practitioner/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-identifier.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-identifier.json new file mode 100644 index 00000000000..e15c0225bac --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-identifier.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitioner-identifier", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-identifier", + "version": "5.0.0", + "name": "USCorePractitionerIdentifier", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Practitioner-identifier", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A practitioner's Identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "identifier", + "base": [ + "Practitioner" + ], + "type": "token", + "expression": "Practitioner.identifier", + "xpath": "f:Practitioner/f:identifier", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-name.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-name.json new file mode 100644 index 00000000000..7e81c491661 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitioner-name.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitioner-name", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitioner-name", + "version": "5.0.0", + "name": "USCorePractitionerName", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Practitioner-name", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "name", + "base": [ + "Practitioner" + ], + "type": "string", + "expression": "Practitioner.name", + "xpath": "f:Practitioner/f:name", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitionerrole-practitioner.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitionerrole-practitioner.json new file mode 100644 index 00000000000..0450a760ae1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitionerrole-practitioner.json @@ -0,0 +1,93 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-practitioner", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-practitioner", + "version": "5.0.0", + "name": "USCorePractitionerrolePractitioner", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/PractitionerRole-practitioner", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Practitioner that is able to provide the defined services for the organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "practitioner", + "base": [ + "PractitionerRole" + ], + "type": "reference", + "expression": "PractitionerRole.practitioner", + "xpath": "f:PractitionerRole/f:practitioner", + "xpathUsage": "normal", + "target": [ + "Practitioner" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "chain": [ + "identifier", + "name" + ], + "_chain": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitionerrole-specialty.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitionerrole-specialty.json new file mode 100644 index 00000000000..a88ee1e24dd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-practitionerrole-specialty.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-practitionerrole-specialty", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-practitionerrole-specialty", + "version": "5.0.0", + "name": "USCorePractitionerroleSpecialty", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/PractitionerRole-specialty", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The practitioner has this specialty at an organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "specialty", + "base": [ + "PractitionerRole" + ], + "type": "token", + "expression": "PractitionerRole.specialty", + "xpath": "f:PractitionerRole/f:specialty", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-code.json new file mode 100644 index 00000000000..129f86da20b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-code.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-code", + "version": "5.0.0", + "name": "USCoreProcedureCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**A code to identify a procedure** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "Procedure" + ], + "type": "token", + "expression": "Procedure.code", + "xpath": "f:Procedure/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-date.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-date.json new file mode 100644 index 00000000000..2ae8c090a0f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-date.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-date", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-date", + "version": "5.0.0", + "name": "USCoreProcedureDate", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-date", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**When the procedure was performed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "date", + "base": [ + "Procedure" + ], + "type": "date", + "expression": "Procedure.performed", + "xpath": "f:Procedure/f:performedDateTime|f:Procedure/f:performedPeriod|f:Procedure/f:performedString|f:Procedure/f:performedAge|f:Procedure/f:performedRange", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-patient.json new file mode 100644 index 00000000000..55928afaec8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-procedure-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-patient", + "version": "5.0.0", + "name": "USCoreProcedurePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "Procedure" + ], + "type": "reference", + "expression": "Procedure.subject.where(resolve() is Patient)", + "xpath": "f:Procedure/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-status.json new file mode 100644 index 00000000000..fc2efcc99d4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-procedure-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-procedure-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/event-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-procedure-status","version":"5.0.0","name":"USCoreProcedureStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/Procedure-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["Procedure"],"type":"token","expression":"Procedure.status","xpath":"f:Procedure/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-authored.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-authored.json new file mode 100644 index 00000000000..2f1c927953e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-authored.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-authored", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-authored", + "version": "5.0.0", + "name": "USCoreQuestionnaireresponseAuthored", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-authored", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**When the questionnaire response was last changed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "authored", + "base": [ + "QuestionnaireResponse" + ], + "type": "date", + "expression": "QuestionnaireResponse.authored", + "xpath": "f:QuestionnaireResponse/f:authored", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-id.json new file mode 100644 index 00000000000..ba2e7014b88 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-id.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-id", + "version": "5.0.0", + "name": "USCoreQuestionnaireresponseId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "QuestionnaireResponse" + ], + "type": "token", + "expression": "QuestionnaireResponse.id", + "xpath": "f:QuestionnaireResponse/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-patient.json new file mode 100644 index 00000000000..50808b2cdb8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-patient", + "version": "5.0.0", + "name": "USCoreQuestionnaireresponsePatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The patient that is the subject of the questionnaire response** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "QuestionnaireResponse" + ], + "type": "reference", + "expression": "QuestionnaireResponse.subject.where(resolve() is Patient)", + "xpath": "f:QuestionnaireResponse/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-questionnaire.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-questionnaire.json new file mode 100644 index 00000000000..5a30f9ee85c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-questionnaire.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-questionnaire", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-questionnaire", + "version": "5.0.0", + "name": "USCoreQuestionnaireresponseQuestionnaire", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-questionnaire", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The questionnaire the answers are provided for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "questionnaire", + "base": [ + "QuestionnaireResponse" + ], + "type": "reference", + "expression": "QuestionnaireResponse.questionnaire", + "xpath": "f:QuestionnaireResponse/f:questionnaire", + "xpathUsage": "normal", + "target": [ + "Questionnaire" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-status.json new file mode 100644 index 00000000000..f2fb84eec7e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-questionnaireresponse-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/questionnaire-answers-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-status","version":"5.0.0","name":"USCoreQuestionnaireresponseStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/QuestionnaireResponse-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**The status of the questionnaire response** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["QuestionnaireResponse"],"type":"token","expression":"QuestionnaireResponse.status","xpath":"f:QuestionnaireResponse/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-tag.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-tag.json new file mode 100644 index 00000000000..3c2341b3f09 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-questionnaireresponse-tag.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-questionnaireresponse-tag", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-questionnaireresponse-tag", + "version": "5.0.0", + "name": "USCoreQuestionnaireresponseTag", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-tag", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Tags applied to this resource** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_tag", + "base": [ + "QuestionnaireResponse" + ], + "type": "token", + "expression": "QuestionnaireResponse.meta.tag", + "xpath": "f:QuestionnaireResponse/f:meta/f:tag", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-race.json new file mode 100644 index 00000000000..bc57d3d583f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-race.json @@ -0,0 +1,66 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-race", + "version": "5.0.0", + "name": "USCoreRace", + "status": "active", + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Returns patients with a race extension matching the specified code.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "race", + "base": [ + "Patient" + ], + "type": "token", + "expression": "Patient.extension.where(url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race').extension.value.code", + "xpath": "f:Patient/f:extension[@url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-race']/f:extension/f:valueCoding/f:code/@value", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-relatedperson-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-relatedperson-id.json new file mode 100644 index 00000000000..c7cfa44edc9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-relatedperson-id.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-relatedperson-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-id", + "version": "5.0.0", + "name": "USCoreRelatedpersonId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "RelatedPerson" + ], + "type": "token", + "expression": "RelatedPerson.id", + "xpath": "f:RelatedPerson/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-relatedperson-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-relatedperson-patient.json new file mode 100644 index 00000000000..1e98dafee24 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-relatedperson-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-relatedperson-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-relatedperson-patient", + "version": "5.0.0", + "name": "USCoreRelatedpersonPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/RelatedPerson-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**The patient this related person is related to** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "RelatedPerson" + ], + "type": "reference", + "expression": "RelatedPerson.patient", + "xpath": "f:RelatedPerson/f:patient", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-authored.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-authored.json new file mode 100644 index 00000000000..378f5b137e7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-authored.json @@ -0,0 +1,153 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-authored", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-authored", + "version": "5.0.0", + "name": "USCoreServicerequestAuthored", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/ServiceRequest-authored", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Date request signed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "authored", + "base": [ + "ServiceRequest" + ], + "type": "date", + "expression": "ServiceRequest.authoredOn", + "xpath": "f:ServiceRequest/f:authoredOn", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "comparator": [ + "eq", + "ne", + "gt", + "ge", + "lt", + "le", + "sa", + "eb", + "ap" + ], + "_comparator": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-category.json new file mode 100644 index 00000000000..8fde67d9dd6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-category.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-category", + "version": "5.0.0", + "name": "USCoreServicerequestCategory", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/ServiceRequest-category", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Classification of service** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "category", + "base": [ + "ServiceRequest" + ], + "type": "token", + "expression": "ServiceRequest.category", + "xpath": "f:ServiceRequest/f:category", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-code.json new file mode 100644 index 00000000000..e6267edd17d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-code.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-code", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-code", + "version": "5.0.0", + "name": "USCoreServicerequestCode", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-code", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**What is being requested/ordered** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "code", + "base": [ + "ServiceRequest" + ], + "type": "token", + "expression": "ServiceRequest.code", + "xpath": "f:ServiceRequest/f:code", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-id.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-id.json new file mode 100644 index 00000000000..646cb6b306e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-id.json @@ -0,0 +1,68 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-id", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-id", + "version": "5.0.0", + "name": "USCoreServicerequestId", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/Resource-id", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "_id", + "base": [ + "ServiceRequest" + ], + "type": "token", + "expression": "ServiceRequest.id", + "xpath": "f:ServiceRequest/f:id", + "xpathUsage": "normal", + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-patient.json new file mode 100644 index 00000000000..2162ab7e340 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-patient.json @@ -0,0 +1,71 @@ +{ + "resourceType": "SearchParameter", + "id": "us-core-servicerequest-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-patient", + "version": "5.0.0", + "name": "USCoreServicerequestPatient", + "derivedFrom": "http://hl7.org/fhir/SearchParameter/clinical-patient", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "code": "patient", + "base": [ + "ServiceRequest" + ], + "type": "reference", + "expression": "ServiceRequest.subject.where(resolve() is Patient)", + "xpath": "f:ServiceRequest/f:subject", + "xpathUsage": "normal", + "target": [ + "Patient" + ], + "multipleOr": true, + "_multipleOr": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + }, + "multipleAnd": true, + "_multipleAnd": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-status.json new file mode 100644 index 00000000000..255c0f4b29c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/SearchParameter-us-core-servicerequest-status.json @@ -0,0 +1 @@ +{"resourceType":"SearchParameter","id":"us-core-servicerequest-status","text":{"status":"empty","div":"
Redacted for size
"},"extension":[{"url":"http://ibm.com/fhir/extension/implicit-system","valueUri":"http://hl7.org/fhir/request-status"}],"url":"http://hl7.org/fhir/us/core/SearchParameter/us-core-servicerequest-status","version":"5.0.0","name":"USCoreServicerequestStatus","derivedFrom":"http://hl7.org/fhir/SearchParameter/ServiceRequest-status","status":"active","experimental":false,"date":"2022-04-14","publisher":"HL7 International - Cross-Group Projects","contact":[{"name":"HL7 International - Cross-Group Projects","telecom":[{"system":"url","value":"http://www.hl7.org/Special/committees/cgp"},{"system":"email","value":"cgp@lists.HL7.org"}]}],"description":"**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain","jurisdiction":[{"coding":[{"system":"urn:iso:std:iso:3166","code":"US"}]}],"code":"status","base":["ServiceRequest"],"type":"token","expression":"ServiceRequest.status","xpath":"f:ServiceRequest/f:status","xpathUsage":"normal","multipleOr":true,"_multipleOr":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"SHALL"}]},"multipleAnd":true,"_multipleAnd":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","valueCode":"MAY"}]}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json new file mode 100644 index 00000000000..3846904895e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-head-occipital-frontal-circumference-percentile.json @@ -0,0 +1,3816 @@ +{ + "resourceType": "StructureDefinition", + "id": "head-occipital-frontal-circumference-percentile", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile", + "version": "5.0.0", + "name": "USCorePediatricHeadOccipitalFrontalCircumferencePercentileProfile", + "title": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "status": "active", + "experimental": false, + "date": "2020-11-18", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric head occipital frontal circumference (OFC) percentile observations associated with a patients from birth to 37 Months of age using a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Head Occipital-frontal circumference Percentile", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8289-1" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Head Occipital-frontal circumference Percentile", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8289-1" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-pediatric-bmi-for-age.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-pediatric-bmi-for-age.json new file mode 100644 index 00000000000..e24f81fef0c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-pediatric-bmi-for-age.json @@ -0,0 +1,3816 @@ +{ + "resourceType": "StructureDefinition", + "id": "pediatric-bmi-for-age", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", + "version": "5.0.0", + "name": "USCorePediatricBMIforAgeObservationProfile", + "title": "US Core Pediatric BMI for Age Observation Profile", + "status": "active", + "experimental": false, + "date": "2020-11-18", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric body mass index (BMI) percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric BMI for Age Observation Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "BMI percentile per age and sex for youth 2-20", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric BMI for Age Observation Profile", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "BMI percentile per age and sex for youth 2-20", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-pediatric-weight-for-height.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-pediatric-weight-for-height.json new file mode 100644 index 00000000000..9d8c39139c9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-pediatric-weight-for-height.json @@ -0,0 +1,3818 @@ +{ + "resourceType": "StructureDefinition", + "id": "pediatric-weight-for-height", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height", + "version": "5.0.0", + "name": "USCorePediatricWeightForHeightObservationProfile", + "title": "US Core Pediatric Weight for Height Observation Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric Weight for Height Observation Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Weight-for-length per age and gender", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pediatric Weight for Height Observation Profile", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Weight-for-length per age and gender", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-allergyintolerance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-allergyintolerance.json new file mode 100644 index 00000000000..58dc2683680 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-allergyintolerance.json @@ -0,0 +1,1842 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-allergyintolerance", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance", + "version": "5.0.0", + "name": "USCoreAllergyIntolerance", + "title": "US Core AllergyIntolerance Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the AllergyIntolerance resource to record, search, and fetch allergies/adverse reactions associated with a patient pm2. It identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the AllergyIntolerance resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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/fhir/StructureDefinition/AllergyIntolerance", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "AllergyIntolerance", + "path": "AllergyIntolerance", + "short": "Allergy or Intolerance (generally: Risk of adverse reaction to a substance)", + "definition": "\\-", + "comment": "\\-", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance" + } + ] + }, + { + "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": "string" + } + ], + "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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "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", + "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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.verificationStatus", + "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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "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", + "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": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.8" + }, + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.substance" + } + ] + }, + { + "id": "AllergyIntolerance.patient", + "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/fhir/us/core/StructureDefinition/us-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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.patient" + } + ] + }, + { + "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]", + "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" + }, + { + "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": "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", + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SubstanceCode" + } + ], + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSet": "http://hl7.org/fhir/ValueSet/substance-code" + }, + "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", + "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": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "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", + "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" + } + ], + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "RouteOfAdministration" + } + ], + "strength": "example", + "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", + "valueSet": "http://hl7.org/fhir/ValueSet/route-codes" + }, + "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", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance" + } + ] + }, + { + "id": "AllergyIntolerance.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.status" + } + ] + }, + { + "id": "AllergyIntolerance.code", + "path": "AllergyIntolerance.code", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1186.8" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.substance" + } + ] + }, + { + "id": "AllergyIntolerance.patient", + "path": "AllergyIntolerance.patient", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "AllergyIntolerance.patient" + } + ] + }, + { + "id": "AllergyIntolerance.reaction", + "path": "AllergyIntolerance.reaction", + "mustSupport": true + }, + { + "id": "AllergyIntolerance.reaction.manifestation", + "path": "AllergyIntolerance.reaction.manifestation", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-birthsex.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-birthsex.json new file mode 100644 index 00000000000..54d5681d21c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-birthsex.json @@ -0,0 +1,327 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-birthsex", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "version": "5.0.0", + "name": "USCoreBirthSexExtension", + "title": "US Core Birth Sex Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "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, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.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": "Extension.extension", + "path": "Extension.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": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "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": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/birthsex" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-blood-pressure.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-blood-pressure.json new file mode 100644 index 00000000000..fd34ef309a5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-blood-pressure.json @@ -0,0 +1,5189 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-blood-pressure", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", + "version": "5.0.0", + "name": "USCoreBloodPressureProfile", + "title": "US Core Blood Pressure Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Blood Pressure Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Blood Pressure", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 2, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:systolic", + "path": "Observation.component", + "sliceName": "systolic", + "short": "Systolic Blood Pressure", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:systolic.id", + "path": "Observation.component.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": "Observation.component:systolic.extension", + "path": "Observation.component.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": "Observation.component:systolic.modifierExtension", + "path": "Observation.component.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/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": "Observation.component:systolic.code", + "path": "Observation.component.code", + "short": "Systolic Blood Pressure Code", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:systolic.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:systolic.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "mm[Hg]", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:systolic.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:systolic.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:systolic.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:diastolic", + "path": "Observation.component", + "sliceName": "diastolic", + "short": "Diastolic Blood Pressure", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:diastolic.id", + "path": "Observation.component.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": "Observation.component:diastolic.extension", + "path": "Observation.component.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": "Observation.component:diastolic.modifierExtension", + "path": "Observation.component.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/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": "Observation.component:diastolic.code", + "path": "Observation.component.code", + "short": "Diastolic Blood Pressure Code", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-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": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:diastolic.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "mm[Hg]", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:diastolic.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:diastolic.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:diastolic.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Blood Pressure Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Blood Pressure", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 2, + "max": "*", + "mustSupport": true + }, + { + "id": "Observation.component:systolic", + "path": "Observation.component", + "sliceName": "systolic", + "short": "Systolic Blood Pressure", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:systolic.code", + "path": "Observation.component.code", + "short": "Systolic Blood Pressure Code", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity", + "path": "Observation.component.valueQuantity", + "type": [ + { + "code": "Quantity" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:systolic.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "mm[Hg]", + "mustSupport": true + }, + { + "id": "Observation.component:diastolic", + "path": "Observation.component", + "sliceName": "diastolic", + "short": "Diastolic Blood Pressure", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.code", + "path": "Observation.component.code", + "short": "Diastolic Blood Pressure Code", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity", + "path": "Observation.component.valueQuantity", + "type": [ + { + "code": "Quantity" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:diastolic.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "mm[Hg]", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-bmi.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-bmi.json new file mode 100644 index 00000000000..67bb1527c6a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-bmi.json @@ -0,0 +1,3813 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-bmi", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi", + "version": "5.0.0", + "name": "USCoreBMIProfile", + "title": "US Core BMI Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Mass Index (BMI) Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Coded Responses from C-CDA Vital Sign Results", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "kg/m2", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Mass Index (BMI) Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "kg/m2", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-height.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-height.json new file mode 100644 index 00000000000..56b0653f318 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-height.json @@ -0,0 +1,3820 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-body-height", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height", + "version": "5.0.0", + "name": "USCoreBodyHeightProfile", + "title": "US Core Body Height Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body height observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Height Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Body Height", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Height Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Height", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-temperature.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-temperature.json new file mode 100644 index 00000000000..e5f2087abc2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-temperature.json @@ -0,0 +1,3820 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-body-temperature", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature", + "version": "5.0.0", + "name": "USCoreBodyTemperatureProfile", + "title": "US Core Body Temperature Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body temperature observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Temperature Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Body Temperature", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodytemp|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Temperature Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Temperature", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodytemp|4.0.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-weight.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-weight.json new file mode 100644 index 00000000000..ad0ec7397a3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-body-weight.json @@ -0,0 +1,3820 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-body-weight", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight", + "version": "5.0.0", + "name": "USCoreBodyWeightProfile", + "title": "US Core Body Weight Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body weight observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Weight Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Body Weight", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodyweight|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Body Weight Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Body Weight", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodyweight|4.0.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-careplan.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-careplan.json new file mode 100644 index 00000000000..28432202500 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-careplan.json @@ -0,0 +1,3294 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-careplan", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", + "version": "5.0.0", + "name": "USCoreCarePlanProfile", + "title": "US Core CarePlan Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the CarePlan resource to record, search, and fetch assessment and plan of treatment data associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "CarePlan", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "CarePlan", + "path": "CarePlan", + "short": "Healthcare plan for patient or group", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Care Team" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Request" + }, + { + "identity": "rim", + "map": "Act[classCode=PCPR, moodCode=INT]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CarePlan.id", + "path": "CarePlan.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CarePlan.meta", + "path": "CarePlan.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": "CarePlan.implicitRules", + "path": "CarePlan.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": "CarePlan.language", + "path": "CarePlan.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "CarePlan.text", + "path": "CarePlan.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": 1, + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text" + } + ] + }, + { + "id": "CarePlan.text.id", + "path": "CarePlan.text.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": "CarePlan.text.extension", + "path": "CarePlan.text.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": "CarePlan.text.status", + "path": "CarePlan.text.status", + "short": "generated | extensions | additional | empty", + "definition": "The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.", + "min": 1, + "max": "1", + "base": { + "path": "Narrative.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": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Constrained value set of narrative statuses.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text.status" + } + ] + }, + { + "id": "CarePlan.text.div", + "path": "CarePlan.text.div", + "short": "Limited xhtml content", + "definition": "The actual narrative content, a stripped down version of XHTML.", + "comment": "The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.", + "min": 1, + "max": "1", + "base": { + "path": "Narrative.div", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "xhtml" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "txt-1", + "severity": "error", + "human": "The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained style attributes", + "expression": "htmlChecks()", + "xpath": "not(descendant-or-self::*[not(local-name(.)=('a', 'abbr', 'acronym', 'b', 'big', 'blockquote', 'br', 'caption', 'cite', 'code', 'col', 'colgroup', 'dd', 'dfn', 'div', 'dl', 'dt', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 'pre', 'q', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'ul', 'var'))]) and not(descendant-or-self::*/@*[not(name(.)=('abbr', 'accesskey', 'align', 'alt', 'axis', 'bgcolor', 'border', 'cellhalign', 'cellpadding', 'cellspacing', 'cellvalign', 'char', 'charoff', 'charset', 'cite', 'class', 'colspan', 'compact', 'coords', 'dir', 'frame', 'headers', 'height', 'href', 'hreflang', 'hspace', 'id', 'lang', 'longdesc', 'name', 'nowrap', 'rel', 'rev', 'rowspan', 'rules', 'scope', 'shape', 'span', 'src', 'start', 'style', 'summary', 'tabindex', 'title', 'type', 'valign', 'value', 'vspace', 'width'))])", + "source": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "key": "txt-2", + "severity": "error", + "human": "The narrative SHALL have some non-whitespace content", + "expression": "htmlChecks()", + "xpath": "descendant::text()[normalize-space(.)!=''] or descendant::h:img[@src]", + "source": "http://hl7.org/fhir/StructureDefinition/CarePlan" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan.contained", + "path": "CarePlan.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": "CarePlan.extension", + "path": "CarePlan.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": "CarePlan.modifierExtension", + "path": "CarePlan.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": "CarePlan.identifier", + "path": "CarePlan.identifier", + "short": "External Ids for this plan", + "definition": "Business identifiers assigned to this care plan 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 care plan as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.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": "Request.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PTH-3" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "CarePlan.instantiatesCanonical", + "path": "CarePlan.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.instantiatesUri", + "path": "CarePlan.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.basedOn", + "path": "CarePlan.basedOn", + "short": "Fulfills CarePlan", + "definition": "A care plan that is fulfilled in whole or in part by this care plan.", + "requirements": "Allows tracing of the care plan and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.basedOn" + } + ] + }, + { + "id": "CarePlan.replaces", + "path": "CarePlan.replaces", + "short": "CarePlan replaced by this CarePlan", + "definition": "Completed or terminated care plan whose function is taken by this new care plan.", + "comment": "The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.", + "requirements": "Allows tracing the continuation of a therapy or administrative process instantiated through multiple care plans.", + "alias": [ + "supersedes" + ], + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.replaces", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.replaces" + } + ] + }, + { + "id": "CarePlan.partOf", + "path": "CarePlan.partOf", + "short": "Part of referenced CarePlan", + "definition": "A larger care plan of which this particular care plan is a component or step.", + "comment": "Each care plan is an independent request, such that having a care plan be part of another care plan can cause issues with cascading statuses. As such, this element is still being discussed.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "CarePlan.status", + "path": "CarePlan.status", + "short": "draft | active | on-hold | revoked | completed | entered-in-error | unknown", + "definition": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "comment": "The unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the care plan.\n\nThis element is labeled as a modifier because the status contains the code entered-in-error that marks the plan as not currently valid.", + "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.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": { + "strength": "required", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status {uses different ValueSet}" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "PTH-5" + }, + { + "identity": "rim", + "map": ".statusCode planned = new active = active completed = completed" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CarePlan.intent", + "path": "CarePlan.intent", + "short": "proposal | plan | order | option", + "definition": "Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain.", + "comment": "This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.", + "requirements": "Proposals/recommendations, plans and orders all use the same structure and can exist in the same fulfillment chain.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.intent", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request\"", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes indicating the degree of authority/intentionality associated with a care plan", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.intent" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (new element in STU3)" + } + ] + }, + { + "id": "CarePlan.category", + "path": "CarePlan.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Type of plan", + "definition": "Type of plan.", + "comment": "There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "*", + "base": { + "path": "CarePlan.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanCategory" + } + ], + "strength": "example", + "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.category:AssessPlan", + "path": "CarePlan.category", + "sliceName": "AssessPlan", + "short": "Type of plan", + "definition": "Type of plan.", + "comment": "There may be multiple axes of categorization and one plan may serve multiple purposes. In some cases, this may be redundant with references to CarePlan.concern.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "CarePlanCategory" + } + ], + "strength": "example", + "description": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.title", + "path": "CarePlan.title", + "short": "Human-friendly name for the care plan", + "definition": "Human-friendly name for the care plan.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.title", + "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 + }, + { + "id": "CarePlan.description", + "path": "CarePlan.description", + "short": "Summary of nature of plan", + "definition": "A description of the scope and nature of the plan.", + "requirements": "Provides more detail than conveyed by category.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.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": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "CarePlan.subject", + "path": "CarePlan.subject", + "short": "Who the care plan is for", + "definition": "Who care plan is for.", + "requirements": "Identifies the patient or group whose intended care is described by the plan.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PAT].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CarePlan.encounter", + "path": "CarePlan.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this CarePlan 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. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.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": "Request.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "Associated PV1" + }, + { + "identity": "rim", + "map": "." + } + ] + }, + { + "id": "CarePlan.period", + "path": "CarePlan.period", + "short": "Time period plan covers", + "definition": "Indicates when the plan did (or is intended to) come into effect and end.", + "comment": "Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition).", + "requirements": "Allows tracking what plan(s) are in effect at a particular time.", + "alias": [ + "timing" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.planned" + }, + { + "identity": "v2", + "map": "GOL-7 / GOL-8" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "CarePlan.created", + "path": "CarePlan.created", + "short": "Date record was first recorded", + "definition": "Represents when this particular CarePlan record was created in the system, which is often a system-generated date.", + "alias": [ + "authoredOn" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.created", + "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": "workflow", + "map": "Request.authoredOn" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "CarePlan.author", + "path": "CarePlan.author", + "short": "Who is the designated responsible party", + "definition": "When populated, the author is responsible for the care plan. The care plan is attributed to the author.", + "comment": "The author may also be a contributor. For example, an organization can be an author, but not listed as a contributor.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.author", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.requester" + }, + { + "identity": "w5", + "map": "FiveWs.author" + } + ] + }, + { + "id": "CarePlan.contributor", + "path": "CarePlan.contributor", + "short": "Who provided the content of the care plan", + "definition": "Identifies the individual(s) or organization who provided the contents of the care plan.", + "comment": "Collaborative care plans may have multiple contributors.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.contributor", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "CarePlan.careTeam", + "path": "CarePlan.careTeam", + "short": "Who's involved in plan?", + "definition": "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.", + "requirements": "Allows representation of care teams, helps scope care plan. In some cases may be a determiner of access permissions.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.careTeam", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer {similar but does not entail CareTeam}" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + } + ] + }, + { + "id": "CarePlan.addresses", + "path": "CarePlan.addresses", + "short": "Health issues this plan addresses", + "definition": "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.", + "comment": "When the diagnosis is related to an allergy or intolerance, the Condition and AllergyIntolerance resources can both be used. However, to be actionable for decision support, using Condition alone is not sufficient as the allergy or intolerance condition needs to be represented as an AllergyIntolerance.", + "requirements": "Links plan to the conditions it manages. The element can identify risks addressed by the plan as well as active conditions. (The Condition resource can include things like \"at risk for hypertension\" or \"fall risk\".) Also scopes plans - multiple plans may exist addressing different concerns.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.addresses", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "PRB-4" + }, + { + "identity": "rim", + "map": ".actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]" + } + ] + }, + { + "id": "CarePlan.supportingInfo", + "path": "CarePlan.supportingInfo", + "short": "Information considered as part of plan", + "definition": "Identifies portions of the patient's record that specifically influenced the formation of the plan. These might include comorbidities, recent procedures, limitations, recent assessments, etc.", + "comment": "Use \"concern\" to identify specific conditions addressed by the care plan.", + "requirements": "Identifies barriers and other considerations associated with the care plan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.supportingInfo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.supportingInfo" + } + ] + }, + { + "id": "CarePlan.goal", + "path": "CarePlan.goal", + "short": "Desired outcome of plan", + "definition": "Describes the intended objective(s) of carrying out the care plan.", + "comment": "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.", + "requirements": "Provides context for plan. Allows plan effectiveness to be evaluated by clinicians.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.goal", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Goal" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "GOL.1" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + } + ] + }, + { + "id": "CarePlan.activity", + "path": "CarePlan.activity", + "short": "Action to occur as part of plan", + "definition": "Identifies a planned action to occur as part of the plan. For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.", + "requirements": "Allows systems to prompt for performance of planned activities, and validate plans against best practice.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "cpl-3", + "severity": "error", + "human": "Provide a reference or detail, not both", + "expression": "detail.empty() or reference.empty()", + "xpath": "not(exists(f:detail)) or not(exists(f:reference))", + "source": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "{no mapping\nNOTE: This is a list of contained Request-Event tuples!}" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "CarePlan.activity.id", + "path": "CarePlan.activity.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": "CarePlan.activity.extension", + "path": "CarePlan.activity.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": "CarePlan.activity.modifierExtension", + "path": "CarePlan.activity.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": "CarePlan.activity.outcomeCodeableConcept", + "path": "CarePlan.activity.outcomeCodeableConcept", + "short": "Results of the activity", + "definition": "Identifies the outcome at the point when the status of the activity is assessed. For example, the outcome of an education activity could be patient understands (or not).", + "comment": "Note that this should not duplicate the activity status (e.g. completed or in progress).", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.outcomeCodeableConcept", + "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": "CarePlanActivityOutcome" + } + ], + "strength": "example", + "description": "Identifies the results of the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-outcome" + } + }, + { + "id": "CarePlan.activity.outcomeReference", + "path": "CarePlan.activity.outcomeReference", + "short": "Appointment, Encounter, Procedure, etc.", + "definition": "Details of the outcome or action resulting from the activity. The reference to an \"event\" resource, such as Procedure or Encounter or Observation, is the result/outcome of the activity itself. The activity can be conveyed using CarePlan.activity.detail OR using the CarePlan.activity.reference (a reference to a “request” resource).", + "comment": "The activity outcome is independent of the outcome of the related goal(s). For example, if the goal is to achieve a target body weight of 150 lbs and an activity is defined to diet, then the activity outcome could be calories consumed whereas the goal outcome is an observation for the actual body weight measured.", + "requirements": "Links plan to resulting actions.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.outcomeReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "{Event that is outcome of Request in activity.reference}" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=FLFS].source" + } + ] + }, + { + "id": "CarePlan.activity.progress", + "path": "CarePlan.activity.progress", + "short": "Comments about the activity status/progress", + "definition": "Notes about the adherence/status/progress of the activity.", + "comment": "This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.", + "requirements": "Can be used to capture information about adherence, progress, concerns, etc.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.progress", + "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": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "CarePlan.activity.reference", + "path": "CarePlan.activity.reference", + "short": "Activity details defined in specific resource", + "definition": "The details of the proposed activity represented in a specific resource.", + "comment": "Standard extension exists ([resource-pertainsToGoal](http://hl7.org/fhir/R4/extension-resource-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference. \rThe goal should be visible when the resource referenced by CarePlan.activity.reference is viewed independently from the CarePlan. Requests that are pointed to by a CarePlan using this element should *not* point to this CarePlan using the \"basedOn\" element. i.e. Requests that are part of a CarePlan are not \"based on\" the CarePlan.", + "requirements": "Details in a form consistent with other applications and contexts of use.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Appointment", + "http://hl7.org/fhir/StructureDefinition/CommunicationRequest", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/Task", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/VisionPrescription", + "http://hl7.org/fhir/StructureDefinition/RequestGroup" + ] + } + ], + "condition": [ + "cpl-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "{Request that resulted in Event in activity.actionResulting}" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "CarePlan.activity.detail", + "path": "CarePlan.activity.detail", + "short": "In-line definition of activity", + "definition": "A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.", + "requirements": "Details in a simple form for generic care plan systems.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "cpl-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.id", + "path": "CarePlan.activity.detail.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": "CarePlan.activity.detail.extension", + "path": "CarePlan.activity.detail.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": "CarePlan.activity.detail.modifierExtension", + "path": "CarePlan.activity.detail.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": "CarePlan.activity.detail.kind", + "path": "CarePlan.activity.detail.kind", + "short": "Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription", + "definition": "A description of the kind of resource the in-line definition of a care plan activity is representing. The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest.", + "requirements": "May determine what types of extensions are permitted.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.kind", + "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": "CarePlanActivityKind" + } + ], + "strength": "required", + "description": "Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=LIST].code" + } + ] + }, + { + "id": "CarePlan.activity.detail.instantiatesCanonical", + "path": "CarePlan.activity.detail.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.", + "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.instantiatesUri", + "path": "CarePlan.activity.detail.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "CarePlan.activity.detail.code", + "path": "CarePlan.activity.detail.code", + "short": "Detail type of activity", + "definition": "Detailed description of the type of planned activity; e.g. what lab test, what procedure, what kind of encounter.", + "comment": "Tends to be less relevant for activities involving particular products. Codes should not convey negation - use \"prohibited\" instead.", + "requirements": "Allows matching performed to planned as well as validation against protocols.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.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" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityType" + } + ], + "strength": "example", + "description": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.code" + }, + { + "identity": "v2", + "map": "OBR-4 / RXE-2 / RXO-1 / RXD-2" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "CarePlan.activity.detail.reasonCode", + "path": "CarePlan.activity.detail.reasonCode", + "short": "Why activity should be done or why activity was prohibited", + "definition": "Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited.", + "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonCondition instead.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityReason" + } + ], + "strength": "example", + "description": "Identifies why a care plan activity is needed. Can include any health condition codes as well as such concepts as \"general wellness\", prophylaxis, surgical preparation, etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonCode" + } + ] + }, + { + "id": "CarePlan.activity.detail.reasonReference", + "path": "CarePlan.activity.detail.reasonReference", + "short": "Why activity is needed", + "definition": "Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan.", + "comment": "Conditions can be identified at the activity level that are not identified as reasons for the overall plan.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.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", + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + } + ] + }, + { + "id": "CarePlan.activity.detail.goal", + "path": "CarePlan.activity.detail.goal", + "short": "Goals this activity relates to", + "definition": "Internal reference that identifies the goals that this activity is intended to contribute towards meeting.", + "requirements": "So that participants know the link explicitly.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.goal", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Goal" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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<=OBJ]." + } + ] + }, + { + "id": "CarePlan.activity.detail.status", + "path": "CarePlan.activity.detail.status", + "short": "not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error", + "definition": "Identifies what progress is being made for the specific activity.", + "comment": "Some aspects of status can be inferred based on the resources linked in actionTaken. Note that \"status\" is only as current as the plan was most recently updated. \nThe unknown code is not to be used to convey other statuses. The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.", + "requirements": "Indicates progress against the plan, whether the activity is still relevant for the plan.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.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": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid", + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CarePlanActivityStatus" + } + ], + "strength": "required", + "description": "Codes that reflect the current state of a care plan activity within its overall life cycle.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status" + }, + { + "identity": "v2", + "map": "ORC-5?" + }, + { + "identity": "rim", + "map": ".statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted" + } + ] + }, + { + "id": "CarePlan.activity.detail.statusReason", + "path": "CarePlan.activity.detail.statusReason", + "short": "Reason for current status", + "definition": "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.", + "comment": "Will generally not be present if status is \"complete\". Be sure to prompt to update this (or at least remove the existing value) if the status is changed.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.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, + "mapping": [ + { + "identity": "workflow", + "map": "Request.statusReason" + } + ] + }, + { + "id": "CarePlan.activity.detail.doNotPerform", + "path": "CarePlan.activity.detail.doNotPerform", + "short": "If true, activity is prohibiting action", + "definition": "If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.", + "comment": "This element is labeled as a modifier because it marks an activity as an activity that is not to be performed.", + "requirements": "Captures intention to not do something that may have been previously typical.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.doNotPerform", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "If missing indicates that the described activity is one that should be engaged in when following the plan.", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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": "If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.", + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.doNotPerform" + }, + { + "identity": "rim", + "map": "actionNegationInd" + } + ] + }, + { + "id": "CarePlan.activity.detail.scheduled[x]", + "path": "CarePlan.activity.detail.scheduled[x]", + "short": "When activity is to occur", + "definition": "The period, timing or frequency upon which the described activity is to occur.", + "requirements": "Allows prompting for activities and detection of missed planned activities.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.scheduled[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Timing" + }, + { + "code": "Period" + }, + { + "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": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "v2", + "map": "TQ1" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "CarePlan.activity.detail.location", + "path": "CarePlan.activity.detail.location", + "short": "Where it should happen", + "definition": "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.", + "comment": "May reference a specific clinical location or may identify a type of location.", + "requirements": "Helps in planning of activity.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.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": "v2", + "map": "OBR-24(???!!)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role" + } + ] + }, + { + "id": "CarePlan.activity.detail.performer", + "path": "CarePlan.activity.detail.performer", + "short": "Who will be responsible?", + "definition": "Identifies who's expected to be involved in the activity.", + "comment": "A performer MAY also be a participant in the care plan.", + "requirements": "Helps in planning of activity.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.detail.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/HealthcareService", + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer" + }, + { + "identity": "v2", + "map": "PRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CarePlan.activity.detail.product[x]", + "path": "CarePlan.activity.detail.product[x]", + "short": "What is to be administered/supplied", + "definition": "Identifies the food, drug or other product to be consumed or supplied in the activity.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.product[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Medication", + "http://hl7.org/fhir/StructureDefinition/Substance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "CarePlanProduct" + } + ], + "strength": "example", + "description": "A product supplied or administered as part of a care plan activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXE-2 / RXO-1 / RXD-2" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRD].role" + } + ] + }, + { + "id": "CarePlan.activity.detail.dailyAmount", + "path": "CarePlan.activity.detail.dailyAmount", + "short": "How to consume/day?", + "definition": "Identifies the quantity expected to be consumed in a given day.", + "requirements": "Allows rough dose checking.", + "alias": [ + "daily dose" + ], + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.dailyAmount", + "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": "RXO-23 / RXE-19 / RXD-12" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity" + } + ] + }, + { + "id": "CarePlan.activity.detail.quantity", + "path": "CarePlan.activity.detail.quantity", + "short": "How much to administer/supply/consume", + "definition": "Identifies the quantity expected to be supplied, administered or consumed by the subject.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 / TQ1-2.1 *and* RXO-12 / RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP][classCode=SPLY].quantity" + } + ] + }, + { + "id": "CarePlan.activity.detail.description", + "path": "CarePlan.activity.detail.description", + "short": "Extra info describing activity to perform", + "definition": "This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.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": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "CarePlan.note", + "path": "CarePlan.note", + "short": "Comments about the plan", + "definition": "General notes about the care plan not covered elsewhere.", + "requirements": "Used to capture information that applies to the plan as a whole that doesn't fit into discrete elements.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.note" + }, + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "CarePlan", + "path": "CarePlan", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan" + } + ] + }, + { + "id": "CarePlan.text", + "path": "CarePlan.text", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text" + } + ] + }, + { + "id": "CarePlan.text.status", + "path": "CarePlan.text.status", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Constrained value set of narrative statuses.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.text.status" + } + ] + }, + { + "id": "CarePlan.text.div", + "path": "CarePlan.text.div", + "mustSupport": true + }, + { + "id": "CarePlan.status", + "path": "CarePlan.status", + "requirements": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CarePlan.intent", + "path": "CarePlan.intent", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Codes indicating the degree of authority/intentionality associated with a care plan", + "valueSet": "http://hl7.org/fhir/ValueSet/care-plan-intent" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (new element in STU3)" + } + ] + }, + { + "id": "CarePlan.category", + "path": "CarePlan.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "definition": "Type of plan.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.category:AssessPlan", + "path": "CarePlan.category", + "sliceName": "AssessPlan", + "definition": "Type of plan.", + "requirements": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc.", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + }, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.category" + } + ] + }, + { + "id": "CarePlan.subject", + "path": "CarePlan.subject", + "definition": "Who care plan is for.", + "requirements": "Identifies the patient or group whose intended care is described by the plan.", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-careteam.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-careteam.json new file mode 100644 index 00000000000..65fa76b7712 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-careteam.json @@ -0,0 +1,1512 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-careteam", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "version": "5.0.0", + "name": "USCoreCareTeam", + "title": "US Core CareTeam Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the CareTeam resource for identifying the Care Team members associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "CareTeam", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CareTeam", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "CareTeam", + "path": "CareTeam", + "short": "Planned participants in the coordination and delivery of care for a patient or group", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CareTeam" + } + ] + }, + { + "id": "CareTeam.id", + "path": "CareTeam.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.meta", + "path": "CareTeam.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": "CareTeam.implicitRules", + "path": "CareTeam.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": "CareTeam.language", + "path": "CareTeam.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "CareTeam.text", + "path": "CareTeam.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": "CareTeam.contained", + "path": "CareTeam.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": "CareTeam.extension", + "path": "CareTeam.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": "CareTeam.modifierExtension", + "path": "CareTeam.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": "CareTeam.identifier", + "path": "CareTeam.identifier", + "short": "External Ids for this team", + "definition": "Business identifiers assigned to this care team 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 care team as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.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" + } + ] + }, + { + "id": "CareTeam.status", + "path": "CareTeam.status", + "short": "proposed | active | suspended | inactive | entered-in-error", + "definition": "Indicates the current state of the care team.", + "comment": "This element is labeled as a modifier because the status contains the code entered-in-error that marks the care team as not currently valid.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.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" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-status" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CareTeam.category", + "path": "CareTeam.category", + "short": "Type of team", + "definition": "Identifies what kind of team. This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team.", + "comment": "There may be multiple axis of categorization and one team may serve multiple purposes.", + "requirements": "Used for filtering what teams(s) are retrieved and displayed to different types of users.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CareTeamCategory" + } + ], + "strength": "example", + "description": "Indicates the type of care team.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + } + ] + }, + { + "id": "CareTeam.name", + "path": "CareTeam.name", + "short": "Name of the team, such as crisis assessment team", + "definition": "A label for human use intended to distinguish like teams. E.g. the \"red\" vs. \"green\" trauma teams.", + "comment": "The meaning/purpose of the team is conveyed in CareTeam.category. This element may also convey semantics of the team (e.g. \"Red trauma team\"), but its primary purpose is to distinguish between identical teams in a human-friendly way. (\"Team 18735\" isn't as friendly.).", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.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" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.subject", + "path": "CareTeam.subject", + "short": "Who care team is for", + "definition": "Identifies the patient or group whose intended care is handled by the team.", + "requirements": "Allows the team to care for a group (e.g. marriage) therapy. \nAllows for an organization to designate a team such as the PICC line team.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CareTeam.encounter", + "path": "CareTeam.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this CareTeam 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.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.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": "w5", + "map": "FiveWs.context" + } + ] + }, + { + "id": "CareTeam.period", + "path": "CareTeam.period", + "short": "Time period team covers", + "definition": "Indicates when the team did (or is intended to) come into effect and end.", + "requirements": "Allows tracking what team(s) are in effect at a particular time.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.init" + } + ] + }, + { + "id": "CareTeam.participant", + "path": "CareTeam.participant", + "short": "Members of the team", + "definition": "Identifies all people and organizations who are expected to be involved in the care team.", + "min": 1, + "max": "*", + "base": { + "path": "CareTeam.participant", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "ctm-1" + ], + "constraint": [ + { + "key": "ctm-1", + "severity": "error", + "human": "CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner", + "expression": "onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))", + "xpath": "starts-with(f:member/f:reference/@value, 'Practitioner/') or contains(f:member/f:reference/@value, '/Practitioner/') or exists(ancestor::*/f:contains/f:Practitioner/f:id[@value=substring-after(current()/f:member/f:reference/@value, '#')]) or not(exists(f:onBehalfOf))", + "source": "http://hl7.org/fhir/StructureDefinition/CareTeam" + }, + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "REL (REL.4 is always the Patient) ( or PRT?)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant" + } + ] + }, + { + "id": "CareTeam.participant.id", + "path": "CareTeam.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": "CareTeam.participant.extension", + "path": "CareTeam.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": "CareTeam.participant.modifierExtension", + "path": "CareTeam.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": "CareTeam.participant.role", + "path": "CareTeam.participant.role", + "short": "Type of involvement", + "definition": "Indicates specific responsibility of an individual within the care team, such as \"Primary care physician\", \"Trained social worker counselor\", \"Caregiver\", etc.", + "comment": "Roles may sometimes be inferred by type of Practitioner. These are relationships that hold only within the context of the care team. General relationships should be handled as properties of the Patient resource directly.", + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.participant.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30" + }, + "mapping": [ + { + "identity": "v2", + "map": "REL.2 (or PRT-4?)" + }, + { + "identity": "rim", + "map": ".functionCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.role" + } + ] + }, + { + "id": "CareTeam.participant.member", + "path": "CareTeam.participant.member", + "short": "Who is involved", + "definition": "The specific person or organization who is participating/expected to participate in the care team.", + "comment": "Patient only needs to be listed if they have a role other than \"subject of care\".\n\nMember is optional because some participants may be known only by their role, particularly in draft plans.", + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.participant.member", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.actor" + }, + { + "identity": "v2", + "map": "REL.5 (or PRT-5 : ( PRV-4 {provider participations} ) / PRT-5 : ( PRV-4 {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8?)" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.member" + } + ] + }, + { + "id": "CareTeam.participant.onBehalfOf", + "path": "CareTeam.participant.onBehalfOf", + "short": "Organization of the practitioner", + "definition": "The organization of the practitioner.", + "requirements": "Practitioners can be associated with multiple organizations. This element indicates which organization they were acting on behalf of.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.participant.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.participant.period", + "path": "CareTeam.participant.period", + "short": "Time period of participant", + "definition": "Indicates when the specific member or organization did (or is intended to) come into effect and end.", + "min": 0, + "max": "1", + "base": { + "path": "CareTeam.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 + }, + { + "id": "CareTeam.reasonCode", + "path": "CareTeam.reasonCode", + "short": "Why the care team exists", + "definition": "Describes why the care team exists.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "CareTeamReason" + } + ], + "strength": "example", + "description": "Indicates the reason for the care team.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.why[x]" + } + ] + }, + { + "id": "CareTeam.reasonReference", + "path": "CareTeam.reasonReference", + "short": "Why the care team exists", + "definition": "Condition(s) that this care team addresses.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.why[x]" + } + ] + }, + { + "id": "CareTeam.managingOrganization", + "path": "CareTeam.managingOrganization", + "short": "Organization responsible for the care team", + "definition": "The organization responsible for the care team.", + "requirements": "Allows for multiple organizations to collaboratively manage cross-organizational, longitudinal care plan.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.managingOrganization", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "CareTeam.telecom", + "path": "CareTeam.telecom", + "short": "A contact detail for the care team (that applies to all members)", + "definition": "A central contact detail for the care team (that applies to all members).", + "comment": "The ContactPoint.use code of home is not appropriate to use. These contacts are not the contact details of individual care team members.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.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 + }, + { + "id": "CareTeam.note", + "path": "CareTeam.note", + "short": "Comments made about the CareTeam", + "definition": "Comments made about the CareTeam.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.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 + } + ] + }, + "differential": { + "element": [ + { + "id": "CareTeam", + "path": "CareTeam", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CareTeam" + } + ] + }, + { + "id": "CareTeam.status", + "path": "CareTeam.status", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "valueSet": "http://hl7.org/fhir/ValueSet/care-team-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.status" + } + ] + }, + { + "id": "CareTeam.subject", + "path": "CareTeam.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.subject" + } + ] + }, + { + "id": "CareTeam.participant", + "path": "CareTeam.participant", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant" + } + ] + }, + { + "id": "CareTeam.participant.role", + "path": "CareTeam.participant.role", + "min": 1, + "max": "1", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.role" + } + ] + }, + { + "id": "CareTeam.participant.member", + "path": "CareTeam.participant.member", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + } + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "CarePlan.participant.member" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-condition-encounter-diagnosis.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-condition-encounter-diagnosis.json new file mode 100644 index 00000000000..a2b2ef83a06 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-condition-encounter-diagnosis.json @@ -0,0 +1,2354 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-condition-encounter-diagnosis", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis", + "version": "5.0.0", + "name": "USCoreConditionEncounterDiagnosisProfile", + "title": "US Core Condition Encounter Diagnosis Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Condition Encounter Diagnosis Profile is based upon the core FHIR Condition Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Encounter Diagnosis’ requirements. In version 5.0.0, The US Core Condition Profile has been split into the US Core Condition Encounter Diagnosis Profile and US Core Condition Problems and Health Concerns Profile. To promote interoperability and adoption through common implementation, this profile defines constraints and extensions on the Condition resource for the minimal set of data to record, search, and fetch information about an encounter diagnosis. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition", + "path": "Condition", + "short": "Detailed information about conditions, problems or diagnoses", + "definition": "\\-", + "comment": "\\-", + "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" + } + ], + "mustSupport": false, + "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 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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "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", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "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": "Condition.extension:assertedDate", + "path": "Condition.extension", + "sliceName": "assertedDate", + "short": "Date the condition was first asserted", + "definition": "The date on which the existence of the Condition was first asserted or acknowledged.", + "comment": "The assertedDate is in the context of the recording practitioner and might not be the same as the recordedDate.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "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", + "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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + }, + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.clinicalStatus" + } + ] + }, + { + "id": "Condition.verificationStatus", + "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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status" + }, + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.verificationStatus" + } + ] + }, + { + "id": "Condition.category", + "path": "Condition.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "category codes", + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.category" + } + ] + }, + { + "id": "Condition.category:us-core", + "path": "Condition.category", + "sliceName": "us-core", + "short": "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": "1", + "base": { + "path": "Condition.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "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" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ConditionSeverity" + } + ], + "strength": "preferred", + "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.", + "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", + "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", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" + }, + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.code" + } + ] + }, + { + "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" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 442083009 |Anatomical or acquired body structure|" + }, + { + "identity": "rim", + "map": ".targetBodySiteCode" + }, + { + "identity": "sct-attr", + "map": "363698007" + } + ] + }, + { + "id": "Condition.subject", + "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/fhir/us/core/StructureDefinition/us-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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.patient" + } + ] + }, + { + "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/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": 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]", + "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": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "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.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]", + "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": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "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" + } + ], + "mustSupport": true, + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ManifestationOrSymptom" + } + ], + "strength": "example", + "description": "Codes that describe the manifestation or symptoms of a condition.", + "valueSet": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom" + }, + "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", + "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" + } + ], + "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", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition" + } + ] + }, + { + "id": "Condition.extension:assertedDate", + "path": "Condition.extension", + "sliceName": "assertedDate", + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" + ] + } + ], + "mustSupport": true + }, + { + "id": "Condition.clinicalStatus", + "path": "Condition.clinicalStatus", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.clinicalStatus" + } + ] + }, + { + "id": "Condition.verificationStatus", + "path": "Condition.verificationStatus", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.verificationStatus" + } + ] + }, + { + "id": "Condition.category", + "path": "Condition.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "category codes", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.category" + } + ] + }, + { + "id": "Condition.category:us-core", + "path": "Condition.category", + "sliceName": "us-core", + "short": "encounter-diagnosis", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis" + } + ] + }, + "mustSupport": true + }, + { + "id": "Condition.code", + "path": "Condition.code", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.code" + } + ] + }, + { + "id": "Condition.subject", + "path": "Condition.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.patient" + } + ] + }, + { + "id": "Condition.encounter", + "path": "Condition.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "mustSupport": true + }, + { + "id": "Condition.onset[x]", + "path": "Condition.onset[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Condition.abatement[x]", + "path": "Condition.abatement[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Condition.recordedDate", + "path": "Condition.recordedDate", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-condition-problems-health-concerns.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-condition-problems-health-concerns.json new file mode 100644 index 00000000000..3f711b023f6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-condition-problems-health-concerns.json @@ -0,0 +1,2406 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-condition-problems-health-concerns", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns", + "version": "5.0.0", + "name": "USCoreConditionProblemsHealthConcernsProfile", + "title": "US Core Condition Problems and Health Concerns Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Condition Problems and Health Concerns Profile is based upon the core FHIR Condition Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Problems' and 'Health Concerns' requirements and SDOH 'Problems/Health Concerns' requirements. In version 5.0.0, The US Core Condition Profile has been split into the US Core Condition Encounter Diagnosis Profile and US Core Condition Problems and Health Concerns Profile. To promote interoperability and adoption through common implementation, this profile defines constraints and extensions on the Condition resource for the minimal set of data to record, search, and fetch information about a condition, diagnosis, or other event, situation, issue, or clinical concept that is documented and categorized as a problem or health concern including information about a Social Determinants of Health-related condition. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition", + "path": "Condition", + "short": "Detailed information about conditions, problems or diagnoses", + "definition": "\\-", + "comment": "\\-", + "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" + } + ], + "mustSupport": false, + "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 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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "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", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "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": "Condition.extension:assertedDate", + "path": "Condition.extension", + "sliceName": "assertedDate", + "short": "Date the condition was first asserted", + "definition": "The date on which the existence of the Condition was first asserted or acknowledged.", + "comment": "The assertedDate is in the context of the recording practitioner and might not be the same as the recordedDate.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "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", + "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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + }, + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.clinicalStatus" + } + ] + }, + { + "id": "Condition.verificationStatus", + "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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status" + }, + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.verificationStatus" + } + ] + }, + { + "id": "Condition.category", + "path": "Condition.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "category codes", + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.category" + } + ] + }, + { + "id": "Condition.category:us-core", + "path": "Condition.category", + "sliceName": "us-core", + "short": "problem-list-item | health-concern", + "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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-problem-or-health-concern" + }, + "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.category:sdoh", + "path": "Condition.category", + "sliceName": "sdoh", + "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": 0, + "max": "1", + "base": { + "path": "Condition.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "code": "sdoh" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "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" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ConditionSeverity" + } + ], + "strength": "preferred", + "description": "A subjective assessment of the severity of the condition as evaluated by the clinician.", + "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", + "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", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" + }, + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.code" + } + ] + }, + { + "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" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 442083009 |Anatomical or acquired body structure|" + }, + { + "identity": "rim", + "map": ".targetBodySiteCode" + }, + { + "identity": "sct-attr", + "map": "363698007" + } + ] + }, + { + "id": "Condition.subject", + "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/fhir/us/core/StructureDefinition/us-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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.patient" + } + ] + }, + { + "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]", + "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": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "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.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]", + "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": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "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" + } + ], + "mustSupport": true, + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ManifestationOrSymptom" + } + ], + "strength": "example", + "description": "Codes that describe the manifestation or symptoms of a condition.", + "valueSet": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom" + }, + "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", + "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" + } + ], + "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", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition" + } + ] + }, + { + "id": "Condition.extension:assertedDate", + "path": "Condition.extension", + "sliceName": "assertedDate", + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/condition-assertedDate" + ] + } + ], + "mustSupport": true + }, + { + "id": "Condition.clinicalStatus", + "path": "Condition.clinicalStatus", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-clinical" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.clinicalStatus" + } + ] + }, + { + "id": "Condition.verificationStatus", + "path": "Condition.verificationStatus", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-ver-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.verificationStatus" + } + ] + }, + { + "id": "Condition.category", + "path": "Condition.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "category codes", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.category" + } + ] + }, + { + "id": "Condition.category:us-core", + "path": "Condition.category", + "sliceName": "us-core", + "short": "problem-list-item | health-concern", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-problem-or-health-concern" + } + }, + { + "id": "Condition.category:sdoh", + "path": "Condition.category", + "sliceName": "sdoh", + "min": 0, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "code": "sdoh" + } + ] + }, + "mustSupport": true + }, + { + "id": "Condition.code", + "path": "Condition.code", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.code" + } + ] + }, + { + "id": "Condition.subject", + "path": "Condition.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Condition.patient" + } + ] + }, + { + "id": "Condition.onset[x]", + "path": "Condition.onset[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Condition.abatement[x]", + "path": "Condition.abatement[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Condition.recordedDate", + "path": "Condition.recordedDate", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-diagnosticreport-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-diagnosticreport-lab.json new file mode 100644 index 00000000000..1fa18b5cb58 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-diagnosticreport-lab.json @@ -0,0 +1,2002 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-lab", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab", + "version": "5.0.0", + "name": "USCoreDiagnosticReportProfileLaboratoryReporting", + "title": "US Core DiagnosticReport Profile for Laboratory Results Reporting", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Laboratory results are grouped and summarized using the DiagnosticReport resource which typically reference Observation resource(s). Each Observation resource represents an individual laboratory test and result value or component result values, or a nested panel (such as a microbial susceptibility panel) which references other observations. They can also be presented in report form or as free text. This profile sets minimum expectations for the DiagnosticReport resource to record, search, and fetch laboratory results associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "short": "A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Report", + "Test", + "Result", + "Results", + "Labs", + "Laboratory", + "Lab Result", + "Lab Report" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport", + "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": "us-core-8", + "severity": "error", + "human": "effective[x] SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended'", + "expression": "(status='partial' or status='preliminary' or status='final' or status='amended' or status='corrected' or status='appended' ) implies effective.exists()" + }, + { + "key": "us-core-9", + "severity": "error", + "human": "issued SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended'", + "expression": "(status='partial' or status='preliminary' or status='final' or status='amended' or status='corrected' or status='appended' ) implies issued.exists()" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.id", + "path": "DiagnosticReport.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.meta", + "path": "DiagnosticReport.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": "DiagnosticReport.implicitRules", + "path": "DiagnosticReport.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": "DiagnosticReport.language", + "path": "DiagnosticReport.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DiagnosticReport.text", + "path": "DiagnosticReport.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": "DiagnosticReport.contained", + "path": "DiagnosticReport.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": "DiagnosticReport.extension", + "path": "DiagnosticReport.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": "DiagnosticReport.modifierExtension", + "path": "DiagnosticReport.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": "DiagnosticReport.identifier", + "path": "DiagnosticReport.identifier", + "short": "Business identifier for report", + "definition": "Identifiers assigned to this report by the performer or other systems.", + "comment": "Usually assigned by the Information System of the diagnostic service provider (filler id).", + "requirements": "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.", + "alias": [ + "ReportID", + "Filler ID", + "Placer ID" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.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": "OBR-51/ for globally unique filler ID - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4" + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport.basedOn", + "path": "DiagnosticReport.basedOn", + "short": "What was requested", + "definition": "Details concerning a service requested.", + "comment": "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.", + "requirements": "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Request" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "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": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | preliminary | final +", + "definition": "The status of the diagnostic report.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "us-core-8", + "us-core-9" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "OBR-25 (not 1:1 mapping)" + }, + { + "identity": "rim", + "map": "statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" + } + ] + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline" + ], + "min": 1, + "max": "*", + "base": { + "path": "DiagnosticReport.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DiagnosticServiceSection" + } + ], + "strength": "example", + "description": "Codes for diagnostic service sections.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.category:LaboratorySlice", + "path": "DiagnosticReport.category", + "sliceName": "LaboratorySlice", + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "DiagnosticServiceSection" + } + ], + "strength": "example", + "description": "Codes for diagnostic service sections.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Laboratory Report Order Code", + "definition": "The test, panel or battery that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "alias": [ + "Type" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.code", + "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": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "short": "The subject of the report - usually, but not always, the patient", + "definition": "The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "requirements": "SHALL know the subject context.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "Links the request to the Encounter context.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.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.encounter" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Diagnostically relevant time (typically the time of specimen collection)", + "definition": "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.", + "comment": "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.", + "requirements": "Need to know where in the patient history to file/present this report.", + "alias": [ + "Observation time", + "Effective Time", + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-8" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "short": "When the report was released", + "definition": "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.", + "comment": "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.", + "requirements": "Clinicians need to be able to check the date that the report was released.", + "alias": [ + "Date published", + "Date Issued", + "Date Verified" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "condition": [ + "us-core-9" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + } + ] + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comment": "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Laboratory", + "Service", + "Practitioner", + "Department", + "Company", + "Authorized by", + "Director" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.actor" + }, + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.resultsInterpreter", + "path": "DiagnosticReport.resultsInterpreter", + "short": "Primary result interpreter", + "definition": "The practitioner or organization that is responsible for the report's conclusions and interpretations.", + "comment": "Might not be the same entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Analyzed by", + "Reported by" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.resultsInterpreter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comment": "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.", + "requirements": "Need to be able to report information about the collected specimens on which the report is based.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.specimen", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "short": "Observations", + "definition": "[Observations](http://hl7.org/fhir/R4/observation.html) that are part of this diagnostic report.", + "comment": "Observations can contain observations.", + "requirements": "Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.result", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.imagingStudy", + "path": "DiagnosticReport.imagingStudy", + "short": "Reference to full details of imaging associated with the diagnostic report", + "definition": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", + "comment": "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.imagingStudy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.media", + "path": "DiagnosticReport.media", + "short": "Key images associated with this report", + "definition": "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", + "requirements": "Many diagnostic services include images in the report as part of their service.", + "alias": [ + "DICOM", + "Slides", + "Scans" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.media", + "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": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.media.id", + "path": "DiagnosticReport.media.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": "DiagnosticReport.media.extension", + "path": "DiagnosticReport.media.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": "DiagnosticReport.media.modifierExtension", + "path": "DiagnosticReport.media.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": "DiagnosticReport.media.comment", + "path": "DiagnosticReport.media.comment", + "short": "Comment about the image (e.g. explanation)", + "definition": "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.", + "comment": "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.", + "requirements": "The provider of the report should make a comment about each image included in the report.", + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.media.comment", + "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": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport.media.link", + "path": "DiagnosticReport.media.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.media.link", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Media" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical conclusion (interpretation) of test results", + "definition": "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.", + "requirements": "Need to be able to provide a conclusion that is not lost among the basic result data.", + "alias": [ + "Report" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.conclusion", + "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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" + } + ] + }, + { + "id": "DiagnosticReport.conclusionCode", + "path": "DiagnosticReport.conclusionCode", + "short": "Codes for the clinical conclusion of test results", + "definition": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.conclusionCode", + "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": "AdjunctDiagnosis" + } + ], + "strength": "example", + "description": "Diagnosis codes provided as adjuncts to the report.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" + } + ] + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "short": "Entire report as issued", + "definition": "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.", + "comment": "\"application/pdf\" is recommended as the most reliable and interoperable in this context.", + "requirements": "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Lab Result", + "Lab Report" + ], + "constraint": [ + { + "key": "us-core-8", + "severity": "error", + "human": "effective[x] SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended'", + "expression": "(status='partial' or status='preliminary' or status='final' or status='amended' or status='corrected' or status='appended' ) implies effective.exists()" + }, + { + "key": "us-core-9", + "severity": "error", + "human": "issued SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended'", + "expression": "(status='partial' or status='preliminary' or status='final' or status='amended' or status='corrected' or status='appended' ) implies issued.exists()" + } + ], + "mustSupport": false + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "condition": [ + "us-core-8", + "us-core-9" + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "DiagnosticReport.category:LaboratorySlice", + "path": "DiagnosticReport.category", + "sliceName": "LaboratorySlice", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB" + } + ] + }, + "mustSupport": true + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Laboratory Report Order Code", + "definition": "The test, panel or battery that was ordered.", + "comment": "UsageNote= The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes" + } + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Diagnostically relevant time (typically the time of specimen collection)", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-8" + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "short": "When the report was released", + "condition": [ + "us-core-9" + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-diagnosticreport-note.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-diagnosticreport-note.json new file mode 100644 index 00000000000..6395e2909ad --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-diagnosticreport-note.json @@ -0,0 +1,2049 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport-note", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note", + "version": "5.0.0", + "name": "USCoreDiagnosticReportProfileNoteExchange", + "title": "US Core DiagnosticReport Profile for Report and Note Exchange", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for searching and fetching Diagnostic Reports and Notes using the DiagnosticReport resource. This profile identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the DiagnosticReport when using this profile. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Clinical Notes Guidance to understand the overlap of US Core DiagnosticReport Profile for Report and Note exchange and US Core DocumentReference Profile.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "short": "A Diagnostic report - a combination of request information, atomic results, images, interpretation, as well as formatted reports", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Report", + "Test", + "Result", + "Results", + "Labs", + "Laboratory", + "Imaging Report", + "Radiology Report", + "Clinical Test Report" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport", + "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": "us-core-10", + "severity": "error", + "human": "effective[x] SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended'", + "expression": "(status='partial' or status='preliminary' or status='final' or status='amended' or status='corrected' or status='appended' ) implies effective.exists()" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.id", + "path": "DiagnosticReport.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DiagnosticReport.meta", + "path": "DiagnosticReport.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": "DiagnosticReport.implicitRules", + "path": "DiagnosticReport.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": "DiagnosticReport.language", + "path": "DiagnosticReport.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DiagnosticReport.text", + "path": "DiagnosticReport.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": "DiagnosticReport.contained", + "path": "DiagnosticReport.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": "DiagnosticReport.extension", + "path": "DiagnosticReport.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": "DiagnosticReport.modifierExtension", + "path": "DiagnosticReport.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": "DiagnosticReport.identifier", + "path": "DiagnosticReport.identifier", + "short": "Business identifier for report", + "definition": "Identifiers assigned to this report by the performer or other systems.", + "comment": "Usually assigned by the Information System of the diagnostic service provider (filler id).", + "requirements": "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context.", + "alias": [ + "ReportID", + "Filler ID", + "Placer ID" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.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": "OBR-51/ for globally unique filler ID - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id - OBR-2(if present)+OBR-3+OBR-4" + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport.basedOn", + "path": "DiagnosticReport.basedOn", + "short": "What was requested", + "definition": "Details concerning a service requested.", + "comment": "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.", + "requirements": "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Request" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "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": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | preliminary | final +", + "definition": "The status of the diagnostic report.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "us-core-10" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "OBR-25 (not 1:1 mapping)" + }, + { + "identity": "rim", + "map": "statusCode Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" + } + ] + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline" + ], + "min": 1, + "max": "*", + "base": { + "path": "DiagnosticReport.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DiagnosticServiceSection" + } + ], + "strength": "example", + "description": "Codes for diagnostic service sections.", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.category:us-core", + "path": "DiagnosticReport.category", + "sliceName": "us-core", + "short": "Service category", + "definition": "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes.", + "comment": "Multiple categories are allowed using various categorization schemes. The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.", + "alias": [ + "Department", + "Sub-department", + "Service", + "Discipline" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.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": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + } + ] + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Report Code", + "definition": "The test, panel, report, or note that was ordered.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "alias": [ + "Type" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.code", + "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": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "short": "The subject of the report - usually, but not always, the patient", + "definition": "The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources.", + "requirements": "SHALL know the subject context.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "Links the request to the Encounter context.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.encounter" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Diagnostically relevant time (typically the time of the procedure)", + "definition": "The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself.", + "comment": "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.", + "requirements": "Need to know where in the patient history to file/present this report.", + "alias": [ + "Observation time", + "Effective Time", + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-10" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was made", + "definition": "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified.", + "comment": "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report.", + "requirements": "Clinicians need to be able to check the date that the report was released.", + "alias": [ + "Date published", + "Date Issued", + "Date Verified" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + } + ] + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comment": "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Laboratory", + "Service", + "Practitioner", + "Department", + "Company", + "Authorized by", + "Director" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.actor" + }, + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.resultsInterpreter", + "path": "DiagnosticReport.resultsInterpreter", + "short": "Primary result interpreter", + "definition": "The practitioner or organization that is responsible for the report's conclusions and interpretations.", + "comment": "Might not be the same entity that takes responsibility for the clinical report.", + "requirements": "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis.", + "alias": [ + "Analyzed by", + "Reported by" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.resultsInterpreter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "DiagnosticReport.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comment": "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.", + "requirements": "Need to be able to report information about the collected specimens on which the report is based.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.specimen", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "short": "Observations", + "definition": "[Observations](http://hl7.org/fhir/R4/observation.html) that are part of this diagnostic report.", + "comment": "Observations can contain observations.", + "requirements": "Need to support individual results, or groups of results, where the result grouping is arbitrary, but meaningful.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.result", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.imagingStudy", + "path": "DiagnosticReport.imagingStudy", + "short": "Reference to full details of imaging associated with the diagnostic report", + "definition": "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images.", + "comment": "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.imagingStudy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport.media", + "path": "DiagnosticReport.media", + "short": "Key images associated with this report", + "definition": "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).", + "requirements": "Many diagnostic services include images in the report as part of their service.", + "alias": [ + "DICOM", + "Slides", + "Scans" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.media", + "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": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport.media.id", + "path": "DiagnosticReport.media.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": "DiagnosticReport.media.extension", + "path": "DiagnosticReport.media.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": "DiagnosticReport.media.modifierExtension", + "path": "DiagnosticReport.media.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": "DiagnosticReport.media.comment", + "path": "DiagnosticReport.media.comment", + "short": "Comment about the image (e.g. explanation)", + "definition": "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features.", + "comment": "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion.", + "requirements": "The provider of the report should make a comment about each image included in the report.", + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.media.comment", + "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": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport.media.link", + "path": "DiagnosticReport.media.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.media.link", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Media" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical conclusion (interpretation) of test results", + "definition": "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report.", + "requirements": "Need to be able to provide a conclusion that is not lost among the basic result data.", + "alias": [ + "Report" + ], + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.conclusion", + "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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" + } + ] + }, + { + "id": "DiagnosticReport.conclusionCode", + "path": "DiagnosticReport.conclusionCode", + "short": "Codes for the clinical conclusion of test results", + "definition": "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.conclusionCode", + "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": "AdjunctDiagnosis" + } + ], + "strength": "example", + "description": "Diagnosis codes provided as adjuncts to the report.", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" + } + ] + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "short": "Entire report as issued", + "definition": "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent.", + "comment": "\"application/pdf\" is recommended as the most reliable and interoperable in this context.", + "requirements": "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport", + "path": "DiagnosticReport", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Imaging Report", + "Radiology Report", + "Clinical Test Report" + ], + "constraint": [ + { + "key": "us-core-10", + "severity": "error", + "human": "effective[x] SHALL be present if the status is 'partial', 'preliminary', 'final', 'amended', 'corrected' or 'appended'", + "expression": "(status='partial' or status='preliminary' or status='final' or status='amended' or status='corrected' or status='appended' ) implies effective.exists()" + } + ], + "mustSupport": false + }, + { + "id": "DiagnosticReport.status", + "path": "DiagnosticReport.status", + "condition": [ + "us-core-10" + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + { + "id": "DiagnosticReport.category", + "path": "DiagnosticReport.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "DiagnosticReport.category:us-core", + "path": "DiagnosticReport.category", + "sliceName": "us-core", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category" + } + }, + { + "id": "DiagnosticReport.code", + "path": "DiagnosticReport.code", + "short": "US Core Report Code", + "definition": "The test, panel, report, or note that was ordered.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists.", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes" + } + }, + { + "id": "DiagnosticReport.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.effective[x]", + "path": "DiagnosticReport.effective[x]", + "short": "Diagnostically relevant time (typically the time of the procedure)", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-10" + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.issued", + "path": "DiagnosticReport.issued", + "mustSupport": true + }, + { + "id": "DiagnosticReport.performer", + "path": "DiagnosticReport.performer", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "DiagnosticReport.media", + "path": "DiagnosticReport.media", + "mustSupport": true + }, + { + "id": "DiagnosticReport.media.link", + "path": "DiagnosticReport.media.link", + "mustSupport": true + }, + { + "id": "DiagnosticReport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-direct.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-direct.json new file mode 100644 index 00000000000..ab3c9b16832 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-direct.json @@ -0,0 +1,318 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-direct", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "version": "5.0.0", + "name": "USCoreDirectEmailExtension", + "title": "US Core Direct email Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "ContactPoint" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Email is a \"direct\" email", + "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'", + "comment": "This extension can only be used on contact points where the system = 'email'.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "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, + "mapping": [ + { + "identity": "v2", + "map": "No v2 equivalent" + }, + { + "identity": "rim", + "map": "No RIM equivalent" + } + ] + }, + { + "id": "Extension.id", + "path": "Extension.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": "Extension.extension", + "path": "Extension.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": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Email is a \"direct\" email", + "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification. This extension can only be used on contact points where the system = 'email'", + "comment": "This extension can only be used on contact points where the system = 'email'.", + "min": 0, + "max": "1", + "isModifier": false, + "mapping": [ + { + "identity": "v2", + "map": "No v2 equivalent" + }, + { + "identity": "rim", + "map": "No RIM equivalent" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-documentreference.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-documentreference.json new file mode 100644 index 00000000000..be6a30dcb40 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-documentreference.json @@ -0,0 +1,3246 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-documentreference", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "version": "5.0.0", + "name": "USCoreDocumentReferenceProfile", + "title": "US Core DocumentReference Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for searching and fetching patient documents including Clinical Notes using the DocumentReference resource. It identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the DocumentReference resource when using this profile. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Clinical Notes Guidance to understand the overlap of US Core DocumentReference Profile and US Core DiagnosticReport Profile for Report and Note exchange.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "fhircomposition", + "uri": "http://hl7.org/fhir/composition", + "name": "FHIR Composition" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "xds", + "uri": "http://ihe.net/xds", + "name": "XDS metadata equivalent" + } + ], + "kind": "resource", + "abstract": false, + "type": "DocumentReference", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DocumentReference", + "path": "DocumentReference", + "short": "A reference to a document", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "fhircomposition", + "map": "when describing a Composition" + }, + { + "identity": "rim", + "map": "Document[classCode=\"DOC\" and moodCode=\"EVN\"]" + }, + { + "identity": "cda", + "map": "when describing a CDA" + } + ] + }, + { + "id": "DocumentReference.id", + "path": "DocumentReference.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "DocumentReference.meta", + "path": "DocumentReference.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": "DocumentReference.implicitRules", + "path": "DocumentReference.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": "DocumentReference.language", + "path": "DocumentReference.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "DocumentReference.text", + "path": "DocumentReference.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": "DocumentReference.contained", + "path": "DocumentReference.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": "DocumentReference.extension", + "path": "DocumentReference.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": "DocumentReference.modifierExtension", + "path": "DocumentReference.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": "DocumentReference.masterIdentifier", + "path": "DocumentReference.masterIdentifier", + "short": "Master Version Specific Identifier", + "definition": "Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document.", + "comment": "CDA Document Id extension and root.", + "requirements": "The structure and format of this Id shall be consistent with the specification corresponding to the formatCode attribute. (e.g. for a DICOM standard document a 64-character numeric UID, for an HL7 CDA format a serialization of the CDA Document Id extension and root in the form \"oid^extension\", where OID is a 64 digits max, and the Id is a 16 UTF-8 char max. If the OID is coded without the extension then the '^' character shall not be included.).", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.masterIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "fhircomposition", + "map": "Composition.identifier" + }, + { + "identity": "v2", + "map": "TXA-12" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "xds", + "map": "DocumentEntry.uniqueId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/id" + } + ] + }, + { + "id": "DocumentReference.identifier", + "path": "DocumentReference.identifier", + "short": "Other identifiers for the document", + "definition": "Other identifiers associated with the document, including version independent identifiers.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "TXA-16?" + }, + { + "identity": "rim", + "map": ".id / .setId" + }, + { + "identity": "xds", + "map": "DocumentEntry.entryUUID" + } + ] + }, + { + "id": "DocumentReference.status", + "path": "DocumentReference.status", + "short": "current | superseded | entered-in-error", + "definition": "The status of this document reference.", + "comment": "This is the status of the DocumentReference object, which might be independent from the docStatus element.\n\nThis element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/document-reference-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "TXA-19" + }, + { + "identity": "rim", + "map": "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\"; final: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct()]); amended: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseDocument\", code) and isNormalAct() and statusCode=\"completed\"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\"" + }, + { + "identity": "xds", + "map": "DocumentEntry.availabilityStatus" + } + ] + }, + { + "id": "DocumentReference.docStatus", + "path": "DocumentReference.docStatus", + "short": "preliminary | final | amended | entered-in-error", + "definition": "The status of the underlying document.", + "comment": "The document that is pointed to might be in various lifecycle states.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.docStatus", + "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": "ReferredDocumentStatus" + } + ], + "strength": "required", + "description": "Status of the underlying document.", + "valueSet": "http://hl7.org/fhir/ValueSet/composition-status|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "fhircomposition", + "map": "Composition.status" + }, + { + "identity": "v2", + "map": "TXA-17" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "DocumentReference.type", + "path": "DocumentReference.type", + "short": "Kind of document (LOINC if possible)", + "definition": "Specifies the particular kind of document referenced (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced.", + "comment": "Key metadata element describing the document that describes he exact type of document. Helps humans to assess whether the document is of interest when viewing a list of documents.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type" + } + ], + "strength": "required", + "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "fhircomposition", + "map": "Composition.type" + }, + { + "identity": "v2", + "map": "TXA-2" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "xds", + "map": "DocumentEntry.type" + }, + { + "identity": "cda", + "map": "ClinicalDocument/code/@code \n\nThe typeCode should be mapped from the ClinicalDocument/code element to a set of document type codes configured in the affinity domain. One suggested coding system to use for typeCode is LOINC, in which case the mapping step can be omitted." + } + ] + }, + { + "id": "DocumentReference.category", + "path": "DocumentReference.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Categorization of document", + "definition": "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.", + "comment": "Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching.", + "alias": [ + "claxs" + ], + "min": 1, + "max": "*", + "base": { + "path": "DocumentReference.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentC80Class" + } + ], + "strength": "example", + "description": "High-level kind of a clinical document at a macro level.", + "valueSet": "http://hl7.org/fhir/ValueSet/document-classcodes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "fhircomposition", + "map": "Composition.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.class" + }, + { + "identity": "cda", + "map": "Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system. Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service (see Page 53 of the LOINC User's Manual). Must be consistent with /ClinicalDocument/code/@code" + } + ] + }, + { + "id": "DocumentReference.category:us-core", + "path": "DocumentReference.category", + "sliceName": "us-core", + "short": "Categorization of document", + "definition": "A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type.", + "comment": "Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching.", + "alias": [ + "claxs" + ], + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.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": true, + "binding": { + "strength": "required", + "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "fhircomposition", + "map": "Composition.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.class" + }, + { + "identity": "cda", + "map": "Derived from a mapping of /ClinicalDocument/code/@code to an Affinity Domain specified coded value to use and coding system. Affinity Domains are encouraged to use the appropriate value for Type of Service, based on the LOINC Type of Service (see Page 53 of the LOINC User's Manual). Must be consistent with /ClinicalDocument/code/@code" + } + ] + }, + { + "id": "DocumentReference.subject", + "path": "DocumentReference.subject", + "short": "Who/what is the subject of the document", + "definition": "Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure).", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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": "fhircomposition", + "map": "Composition.subject" + }, + { + "identity": "v2", + "map": "PID-3 (No standard way to define a Practitioner or Group subject in HL7 v2 MDM message)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.patientId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/recordTarget/" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "DocumentReference.date", + "path": "DocumentReference.date", + "short": "When this document reference was created", + "definition": "When the document reference was created.", + "comment": "Referencing/indexing time is used for tracking, organizing versions and searching.", + "alias": [ + "indexed" + ], + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.date", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.recorded" + }, + { + "identity": "fhircomposition", + "map": "Composition.date" + }, + { + "identity": "rim", + "map": ".availabilityTime[type=\"TS\"]" + } + ] + }, + { + "id": "DocumentReference.author", + "path": "DocumentReference.author", + "short": "Who and/or what authored the document", + "definition": "Identifies who is responsible for adding the information to the document.", + "comment": "Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant).", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.author", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "fhircomposition", + "map": "Composition.author" + }, + { + "identity": "v2", + "map": "TXA-9 (No standard way to indicate a Device in HL7 v2 MDM message)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.author" + }, + { + "identity": "cda", + "map": "ClinicalDocument/author" + } + ] + }, + { + "id": "DocumentReference.authenticator", + "path": "DocumentReference.authenticator", + "short": "Who/what authenticated the document", + "definition": "Which person or organization authenticates that this document is valid.", + "comment": "Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.authenticator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.witness" + }, + { + "identity": "fhircomposition", + "map": "Composition.attester" + }, + { + "identity": "v2", + "map": "TXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.legalAuthenticator" + }, + { + "identity": "cda", + "map": "ClinicalDocument/legalAuthenticator" + } + ] + }, + { + "id": "DocumentReference.custodian", + "path": "DocumentReference.custodian", + "short": "Organization which maintains the document", + "definition": "Identifies the organization or group who is responsible for ongoing maintenance of and access to the document.", + "comment": "Identifies the logical organization (software system, vendor, or department) to go to find the current version, where to report issues, etc. This is different from the physical location (URL, disk drive, or server) of the document, which is the technical location of the document, which host may be delegated to the management of some other organization.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.custodian", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "fhircomposition", + "map": "Composition.custodian" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]" + } + ] + }, + { + "id": "DocumentReference.relatesTo", + "path": "DocumentReference.relatesTo", + "short": "Relationships to other documents", + "definition": "Relationships that this document has with other document references that already exist.", + "comment": "This element is labeled as a modifier because documents that append to other documents are incomplete on their own.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.relatesTo", + "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": "fhircomposition", + "map": "Composition.relatesTo" + }, + { + "identity": "rim", + "map": ".outboundRelationship" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations" + } + ] + }, + { + "id": "DocumentReference.relatesTo.id", + "path": "DocumentReference.relatesTo.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": "DocumentReference.relatesTo.extension", + "path": "DocumentReference.relatesTo.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": "DocumentReference.relatesTo.modifierExtension", + "path": "DocumentReference.relatesTo.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": "DocumentReference.relatesTo.code", + "path": "DocumentReference.relatesTo.code", + "short": "replaces | transforms | signs | appends", + "definition": "The type of relationship that this document has with anther document.", + "comment": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.relatesTo.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DocumentRelationshipType" + } + ], + "strength": "required", + "description": "The type of relationship between documents.", + "valueSet": "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.relatesTo.code" + }, + { + "identity": "rim", + "map": ".outboundRelationship.typeCode" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations type" + } + ] + }, + { + "id": "DocumentReference.relatesTo.target", + "path": "DocumentReference.relatesTo.target", + "short": "Target of the relationship", + "definition": "The target document of this relationship.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.relatesTo.target", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "fhircomposition", + "map": "Composition.relatesTo.target" + }, + { + "identity": "rim", + "map": ".target[classCode=\"DOC\", moodCode=\"EVN\"].id" + }, + { + "identity": "xds", + "map": "DocumentEntry Associations reference" + } + ] + }, + { + "id": "DocumentReference.description", + "path": "DocumentReference.description", + "short": "Human-readable description", + "definition": "Human-readable description of the source document.", + "comment": "What the document is about, a terse summary of the document.", + "requirements": "Helps humans to assess whether the document is of interest.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.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": "v2", + "map": "TXA-25" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"SUBJ\"].target.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.comments" + } + ] + }, + { + "id": "DocumentReference.securityLabel", + "path": "DocumentReference.securityLabel", + "short": "Document security-tags", + "definition": "A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the \"reference\" to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to.", + "comment": "The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce. \n\nIn the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects.", + "requirements": "Use of the Health Care Privacy/Security Classification (HCS) system of security-tag use is recommended.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.securityLabel", + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SecurityLabels" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "Security Labels from the Healthcare Privacy and Security Classification System.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-labels" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.confidentiality, Composition.meta.security" + }, + { + "identity": "v2", + "map": "TXA-18" + }, + { + "identity": "rim", + "map": ".confidentialityCode" + }, + { + "identity": "xds", + "map": "DocumentEntry.confidentialityCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/confidentialityCode/@code" + } + ] + }, + { + "id": "DocumentReference.content", + "path": "DocumentReference.content", + "short": "Document referenced", + "definition": "The document and format referenced. There may be multiple content element repetitions, each with a different format.", + "min": 1, + "max": "*", + "base": { + "path": "DocumentReference.content", + "min": 1, + "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": "fhircomposition", + "map": "Bundle(Composition+*)" + }, + { + "identity": "rim", + "map": "document.text" + } + ] + }, + { + "id": "DocumentReference.content.id", + "path": "DocumentReference.content.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": "DocumentReference.content.extension", + "path": "DocumentReference.content.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": "DocumentReference.content.modifierExtension", + "path": "DocumentReference.content.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": "DocumentReference.content.attachment", + "path": "DocumentReference.content.attachment", + "short": "Where to access the document", + "definition": "The document or URL of the document along with critical metadata to prove content has integrity.", + "min": 1, + "max": "1", + "base": { + "path": "DocumentReference.content.attachment", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-6", + "severity": "error", + "human": "DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.", + "expression": "url.exists() or data.exists()", + "xpath": "f:url or f:content" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.language, \nComposition.title, \nComposition.date" + }, + { + "identity": "v2", + "map": "TXA-3 for mime type" + }, + { + "identity": "rim", + "map": "document.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.mimeType, DocumentEntry.languageCode, DocumentEntry.URI, DocumentEntry.size, DocumentEntry.hash, DocumentEntry.title, DocumentEntry.creationTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/languageCode, ClinicalDocument/title, ClinicalDocument/date" + } + ] + }, + { + "id": "DocumentReference.content.attachment.id", + "path": "DocumentReference.content.attachment.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": "DocumentReference.content.attachment.extension", + "path": "DocumentReference.content.attachment.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": "DocumentReference.content.attachment.contentType", + "path": "DocumentReference.content.attachment.contentType", + "short": "Mime type of the content, with charset etc.", + "definition": "Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.", + "requirements": "Processors of the data need to be able to know how to interpret the data.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.contentType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "text/plain; charset=UTF-8, image/png" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "MimeType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The mime type of an attachment. Any valid mime type is allowed.", + "valueSet": "http://hl7.org/fhir/ValueSet/mimetypes|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "ED.2+ED.3/RP.2+RP.3. Note conversion may be needed if old style values are being used" + }, + { + "identity": "rim", + "map": "./mediaType, ./charset" + } + ] + }, + { + "id": "DocumentReference.content.attachment.language", + "path": "DocumentReference.content.attachment.language", + "short": "Human language of the content (BCP-47)", + "definition": "The human language of the content. The value can be any valid value according to BCP 47.", + "requirements": "Users need to be able to choose between the languages in a set of attachments.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "en-AU" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + }, + "mapping": [ + { + "identity": "rim", + "map": "./language" + } + ] + }, + { + "id": "DocumentReference.content.attachment.data", + "path": "DocumentReference.content.attachment.data", + "short": "Data inline, base64ed", + "definition": "The actual data of the attachment - a sequence of bytes, base64 encoded.", + "comment": "The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON.", + "requirements": "The data needs to able to be transmitted inline.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.data", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "condition": [ + "us-core-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ED.5" + }, + { + "identity": "rim", + "map": "./data" + } + ] + }, + { + "id": "DocumentReference.content.attachment.url", + "path": "DocumentReference.content.attachment.url", + "short": "Uri where the data can be found", + "definition": "A location where the data can be accessed.", + "comment": "If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data.", + "requirements": "The data needs to be transmitted by reference.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.url", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "url" + } + ], + "example": [ + { + "label": "General", + "valueUrl": "http://www.acme.com/logo-small.png" + } + ], + "condition": [ + "us-core-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RP.1+RP.2 - if they refer to a URL (see v2.6)" + }, + { + "identity": "rim", + "map": "./reference/literal" + } + ] + }, + { + "id": "DocumentReference.content.attachment.size", + "path": "DocumentReference.content.attachment.size", + "short": "Number of bytes of content (if url provided)", + "definition": "The number of bytes of data that make up this attachment (before base64 encoding, if that is done).", + "comment": "The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference.", + "requirements": "Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.size", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A (needs data type R3 proposal)" + } + ] + }, + { + "id": "DocumentReference.content.attachment.hash", + "path": "DocumentReference.content.attachment.hash", + "short": "Hash of the data (sha-1, base64ed)", + "definition": "The calculated hash of the data using SHA-1. Represented using base64.", + "comment": "The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](http://hl7.org/fhir/R4/provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature.", + "requirements": "Included so that applications can verify that the contents of a location have not changed due to technical failures (e.g., storage rot, transport glitch, incorrect version).", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.hash", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": ".integrityCheck[parent::ED/integrityCheckAlgorithm=\"SHA-1\"]" + } + ] + }, + { + "id": "DocumentReference.content.attachment.title", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "DocumentReference.content.attachment.title", + "short": "Label to display in place of the data", + "definition": "A label or set of text to display in place of the data.", + "requirements": "Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.title", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Official Corporate Logo" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "./title/data" + } + ] + }, + { + "id": "DocumentReference.content.attachment.creation", + "path": "DocumentReference.content.attachment.creation", + "short": "Date attachment was first created", + "definition": "The date that the attachment was first created.", + "requirements": "This is often tracked as an integrity issue for use of the attachment.", + "min": 0, + "max": "1", + "base": { + "path": "Attachment.creation", + "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": "rim", + "map": "N/A (needs data type R3 proposal)" + } + ] + }, + { + "id": "DocumentReference.content.format", + "path": "DocumentReference.content.format", + "short": "Format/content rules for the document", + "definition": "An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.", + "comment": "Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.content.format", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/formatcodes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.meta.profile" + }, + { + "identity": "rim", + "map": "document.text" + }, + { + "identity": "xds", + "map": "DocumentEntry.formatCode" + }, + { + "identity": "cda", + "map": "derived from the IHE Profile or Implementation Guide templateID" + } + ] + }, + { + "id": "DocumentReference.context", + "path": "DocumentReference.context", + "short": "Clinical context of document", + "definition": "The clinical context in which the document was prepared.", + "comment": "These values are primarily added to help with searching for interesting/relevant documents.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']" + } + ] + }, + { + "id": "DocumentReference.context.id", + "path": "DocumentReference.context.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": "DocumentReference.context.extension", + "path": "DocumentReference.context.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": "DocumentReference.context.modifierExtension", + "path": "DocumentReference.context.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": "DocumentReference.context.encounter", + "path": "DocumentReference.context.encounter", + "short": "Context of the document content", + "definition": "Describes the clinical encounter or type of care that the document content is associated with.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.encounter", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.context" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "fhircomposition", + "map": "Composition.encounter" + }, + { + "identity": "rim", + "map": "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])" + } + ] + }, + { + "id": "DocumentReference.context.event", + "path": "DocumentReference.context.event", + "short": "Main clinical acts documented", + "definition": "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the type Code, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.", + "comment": "An event can further specialize the act inherent in the type, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.context.event", + "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": "DocumentEventType" + } + ], + "strength": "example", + "description": "This list of codes represents the main clinical acts being documented.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.code" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "xds", + "map": "DocumentEntry.eventCodeList" + } + ] + }, + { + "id": "DocumentReference.context.period", + "path": "DocumentReference.context.period", + "short": "Time of service that is being documented", + "definition": "The time period over which the service that is described by the document was provided.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.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": true, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.period" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "xds", + "map": "DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/low/\n@value --> ClinicalDocument/documentationOf/\nserviceEvent/effectiveTime/high/\n@value" + } + ] + }, + { + "id": "DocumentReference.context.facilityType", + "path": "DocumentReference.context.facilityType", + "short": "Kind of facility where patient was seen", + "definition": "The kind of facility where the patient was seen.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.facilityType", + "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": "DocumentC80FacilityType" + } + ], + "strength": "example", + "description": "XDS Facility Type.", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-facilitycodes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "usually from a mapping to a local ValueSet" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.healthcareFacilityTypeCode" + }, + { + "identity": "cda", + "map": "usually a mapping to a local ValueSet. Must be consistent with /clinicalDocument/code" + } + ] + }, + { + "id": "DocumentReference.context.practiceSetting", + "path": "DocumentReference.context.practiceSetting", + "short": "Additional details about where the content was created (e.g. clinical specialty)", + "definition": "This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty.", + "comment": "This element should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC.", + "requirements": "This is an important piece of metadata that providers often rely upon to quickly sort and/or filter out to find specific content.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.practiceSetting", + "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": "DocumentC80PracticeSetting" + } + ], + "strength": "example", + "description": "Additional details about where the content was created (e.g. clinical specialty).", + "valueSet": "http://hl7.org/fhir/ValueSet/c80-practice-codes" + }, + "mapping": [ + { + "identity": "fhircomposition", + "map": "usually from a mapping to a local ValueSet" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"LOC\"].role[classCode=\"DSDLOC\"].code" + }, + { + "identity": "xds", + "map": "DocumentEntry.practiceSettingCode" + }, + { + "identity": "cda", + "map": "usually from a mapping to a local ValueSet" + } + ] + }, + { + "id": "DocumentReference.context.sourcePatientInfo", + "path": "DocumentReference.context.sourcePatientInfo", + "short": "Patient demographics from source", + "definition": "The Patient Information as known when the document was published. May be a reference to a version specific, or contained.", + "min": 0, + "max": "1", + "base": { + "path": "DocumentReference.context.sourcePatientInfo", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.subject" + }, + { + "identity": "rim", + "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]" + }, + { + "identity": "xds", + "map": "DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId" + }, + { + "identity": "cda", + "map": "ClinicalDocument/recordTarget/" + } + ] + }, + { + "id": "DocumentReference.context.related", + "path": "DocumentReference.context.related", + "short": "Related identifiers or resources", + "definition": "Related identifiers or resources associated with the DocumentReference.", + "comment": "May be identifiers or resources that caused the DocumentReference or referenced Document to be created.", + "min": 0, + "max": "*", + "base": { + "path": "DocumentReference.context.related", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "fhircomposition", + "map": "Composition.event.detail" + }, + { + "identity": "rim", + "map": "./outboundRelationship[typeCode=\"PERT\" and isNormalActRelationship()] / target[isNormalAct]" + }, + { + "identity": "xds", + "map": "DocumentEntry.referenceIdList" + }, + { + "identity": "cda", + "map": "ClinicalDocument/relatedDocument" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DocumentReference", + "path": "DocumentReference", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false + }, + { + "id": "DocumentReference.identifier", + "path": "DocumentReference.identifier", + "mustSupport": true + }, + { + "id": "DocumentReference.status", + "path": "DocumentReference.status", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/document-reference-status" + } + }, + { + "id": "DocumentReference.type", + "path": "DocumentReference.type", + "min": 1, + "mustSupport": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type" + } + ], + "strength": "required", + "description": "All LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type" + } + }, + { + "id": "DocumentReference.category", + "path": "DocumentReference.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "DocumentReference.category:us-core", + "path": "DocumentReference.category", + "sliceName": "us-core", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "The US Core DocumentReferences Type Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category" + } + }, + { + "id": "DocumentReference.subject", + "path": "DocumentReference.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.date", + "path": "DocumentReference.date", + "mustSupport": true + }, + { + "id": "DocumentReference.author", + "path": "DocumentReference.author", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content", + "path": "DocumentReference.content", + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment", + "path": "DocumentReference.content.attachment", + "constraint": [ + { + "key": "us-core-6", + "severity": "error", + "human": "DocumentReference.content.attachment.url or DocumentReference.content.attachment.data or both SHALL be present.", + "expression": "url.exists() or data.exists()", + "xpath": "f:url or f:content" + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.contentType", + "path": "DocumentReference.content.attachment.contentType", + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.data", + "path": "DocumentReference.content.attachment.data", + "min": 0, + "condition": [ + "us-core-6" + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.attachment.url", + "path": "DocumentReference.content.attachment.url", + "min": 0, + "condition": [ + "us-core-6" + ], + "mustSupport": true + }, + { + "id": "DocumentReference.content.format", + "path": "DocumentReference.content.format", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/formatcodes" + } + }, + { + "id": "DocumentReference.context", + "path": "DocumentReference.context", + "mustSupport": true + }, + { + "id": "DocumentReference.context.encounter", + "path": "DocumentReference.context.encounter", + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "mustSupport": true + }, + { + "id": "DocumentReference.context.period", + "path": "DocumentReference.context.period", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-encounter.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-encounter.json new file mode 100644 index 00000000000..d8403893681 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-encounter.json @@ -0,0 +1,4211 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-encounter", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter", + "version": "5.0.0", + "name": "USCoreEncounterProfile", + "title": "US Core Encounter Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the Encounter resource to record, search, and fetch basic encounter information for an individual patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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/fhir/StructureDefinition/Encounter", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Encounter", + "path": "Encounter", + "short": "An interaction during which services are provided to the patient", + "definition": "\\-", + "comment": "\\-", + "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" + } + ], + "mustSupport": false, + "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": "string" + } + ], + "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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "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", + "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": "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" + } + ], + "mustSupport": true, + "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.identifier.id", + "path": "Encounter.identifier.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.identifier.extension", + "path": "Encounter.identifier.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": "Encounter.identifier.use", + "path": "Encounter.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Encounter.identifier.type", + "path": "Encounter.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Encounter.identifier.system", + "path": "Encounter.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/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": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Encounter.identifier.value", + "path": "Encounter.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Encounter.identifier.period", + "path": "Encounter.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Encounter.identifier.assigner", + "path": "Encounter.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Encounter.status", + "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", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "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", + "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": { + "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": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "PV1-2" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code" + } + ] + }, + { + "id": "Encounter.classHistory", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "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": 1, + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the Encounter Type", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type" + }, + "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", + "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" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "EncounterServiceType" + } + ], + "strength": "example", + "description": "Broad categorization of the service that is to be provided.", + "valueSet": "http://hl7.org/fhir/ValueSet/service-type" + }, + "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", + "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/fhir/us/core/StructureDefinition/us-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", + "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", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ROL-5, ROL-6 (or maybe PRT-5)" + }, + { + "identity": "rim", + "map": ".time" + } + ] + }, + { + "id": "Encounter.participant.individual", + "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/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "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", + "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", + "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/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns", + "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "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 …)", + "definition": "Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …).", + "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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "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" + } + ], + "mustSupport": true, + "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": "Category or kind of location after discharge", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "preferred", + "description": "[National Uniform Billing Committee](http://www.nubc.org/), manual UB-04, UB form locator 17", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-discharge-disposition" + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-36" + }, + { + "identity": "rim", + "map": ".dischargeDispositionCode" + } + ] + }, + { + "id": "Encounter.location", + "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", + "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/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" + } + ], + "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", + "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/fhir/us/core/StructureDefinition/us-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", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false + }, + { + "id": "Encounter.identifier", + "path": "Encounter.identifier", + "mustSupport": true + }, + { + "id": "Encounter.identifier.system", + "path": "Encounter.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.identifier.value", + "path": "Encounter.identifier.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Encounter.status", + "path": "Encounter.status", + "mustSupport": true + }, + { + "id": "Encounter.class", + "path": "Encounter.class", + "mustSupport": true + }, + { + "id": "Encounter.type", + "path": "Encounter.type", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the Encounter Type", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type" + } + }, + { + "id": "Encounter.subject", + "path": "Encounter.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.participant", + "path": "Encounter.participant", + "mustSupport": true + }, + { + "id": "Encounter.participant.type", + "path": "Encounter.participant.type", + "mustSupport": true + }, + { + "id": "Encounter.participant.period", + "path": "Encounter.participant.period", + "mustSupport": true + }, + { + "id": "Encounter.participant.individual", + "path": "Encounter.participant.individual", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.period", + "path": "Encounter.period", + "mustSupport": true + }, + { + "id": "Encounter.reasonCode", + "path": "Encounter.reasonCode", + "mustSupport": true + }, + { + "id": "Encounter.reasonReference", + "path": "Encounter.reasonReference", + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns", + "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "Encounter.hospitalization", + "path": "Encounter.hospitalization", + "mustSupport": true + }, + { + "id": "Encounter.hospitalization.dischargeDisposition", + "path": "Encounter.hospitalization.dischargeDisposition", + "mustSupport": true, + "binding": { + "strength": "preferred", + "description": "[National Uniform Billing Committee](http://www.nubc.org/), manual UB-04, UB form locator 17", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-discharge-disposition" + } + }, + { + "id": "Encounter.location", + "path": "Encounter.location", + "mustSupport": true + }, + { + "id": "Encounter.location.location", + "path": "Encounter.location.location", + "mustSupport": true + }, + { + "id": "Encounter.serviceProvider", + "path": "Encounter.serviceProvider", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-ethnicity.json new file mode 100644 index 00000000000..a1f119b5024 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-ethnicity.json @@ -0,0 +1,1211 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "version": "5.0.0", + "name": "USCoreEthnicityExtension", + "title": "US Core Ethnicity Extension", + "status": "active", + "date": "2019-05-21T00:00:00-04:00", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.", + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + }, + { + "type": "element", + "expression": "RelatedPerson" + }, + { + "type": "element", + "expression": "Person" + }, + { + "type": "element", + "expression": "Practitioner" + }, + { + "type": "element", + "expression": "FamilyMemberHistory" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "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": "Extension.id", + "path": "Extension.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": "Extension.extension", + "path": "Extension.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": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "Hispanic or Latino|Not Hispanic or Latino", + "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "1", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.id", + "path": "Extension.extension.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": "Extension.extension:ombCategory.extension", + "path": "Extension.extension.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": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "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": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended ethnicity codes", + "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.", + "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": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:detailed.id", + "path": "Extension.extension.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": "Extension.extension:detailed.extension", + "path": "Extension.extension.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": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "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": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "ethnicity Text", + "definition": "Plain text representation of the ethnicity concept(s).", + "min": 1, + "max": "1", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Extension.extension:text.id", + "path": "Extension.extension.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": "Extension.extension:text.extension", + "path": "Extension.extension.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": "Extension.extension:text.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "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": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "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": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1" + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "Hispanic or Latino|Not Hispanic or Latino", + "definition": "The 2 ethnicity category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory" + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category" + } + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended ethnicity codes", + "definition": "The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed" + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity" + } + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "ethnicity Text", + "definition": "Plain text representation of the ethnicity concept(s).", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text" + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "min": 1, + "max": "1", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-extension-questionnaire-uri.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-extension-questionnaire-uri.json new file mode 100644 index 00000000000..78dbbaf9026 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-extension-questionnaire-uri.json @@ -0,0 +1,293 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-extension-questionnaire-uri", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri", + "version": "5.0.0", + "name": "USCoreExtensionQuestionnaireUri", + "title": "US Core Extension Questionnaire URI", + "status": "active", + "experimental": false, + "date": "2022-03-28", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The location where a non-FHIR questionnaire/survey form can be found. This extension is used when the survey,form, or questionnaire which is being anwered is not a FHIR [Questionnaire](https://www.hl7.org/fhir/questionnaire.html), otherwise the [canonical url](https://www.hl7.org/fhir/references.html#canonical) for the FHIR Questionnaire is used.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "QuestionnaireResponse.questionnaire" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "The location where a non-FHIR questionnaire/survey form can be found.", + "definition": "This extension is used when the survey,form, or questionnaire which is being anwered is not a FHIR [Questionnaire](https://www.hl7.org/fhir/questionnaire.html), otherwise the [canonical url](https://www.hl7.org/fhir/questionnaire.html#canonical) for the FHIR Questionnaire is used.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "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": "Extension.id", + "path": "Extension.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": "Extension.extension", + "path": "Extension.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": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "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" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "The location where a non-FHIR questionnaire/survey form can be found.", + "definition": "This extension is used when the survey,form, or questionnaire which is being anwered is not a FHIR [Questionnaire](https://www.hl7.org/fhir/questionnaire.html), otherwise the [canonical url](https://www.hl7.org/fhir/questionnaire.html#canonical) for the FHIR Questionnaire is used.", + "min": 0, + "max": "1" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "type": [ + { + "code": "uri" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-genderIdentity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-genderIdentity.json new file mode 100644 index 00000000000..a82a15515bd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-genderIdentity.json @@ -0,0 +1,294 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-genderIdentity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity", + "version": "5.0.0", + "name": "USCoreGenderIdentityExtension", + "title": "US Core Gender Identity Extension", + "status": "active", + "date": "2022-01-22", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This extension provides concepts to describe the gender a person identifies as.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "purpose": "Complies with USCDI v2", + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + }, + { + "type": "element", + "expression": "RelatedPerson" + }, + { + "type": "element", + "expression": "Person" + }, + { + "type": "element", + "expression": "Practitioner" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/patient-genderIdentity", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "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": "Extension.id", + "path": "Extension.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": "Extension.extension", + "path": "Extension.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension" + }, + { + "id": "Extension.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.32" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-goal.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-goal.json new file mode 100644 index 00000000000..6b7756b3d59 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-goal.json @@ -0,0 +1,1585 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-goal", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal", + "version": "5.0.0", + "name": "USCoreGoalProfile", + "title": "US Core Goal Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the Goal resource to record, search, and fetch Goal information associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Goal", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Goal", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Goal", + "path": "Goal", + "short": "Describes the intended objective(s) for a patient, group or organization", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "Goal", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "GOL.1" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal" + } + ] + }, + { + "id": "Goal.id", + "path": "Goal.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Goal.meta", + "path": "Goal.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": "Goal.implicitRules", + "path": "Goal.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": "Goal.language", + "path": "Goal.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Goal.text", + "path": "Goal.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": "Goal.contained", + "path": "Goal.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": "Goal.extension", + "path": "Goal.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": "Goal.modifierExtension", + "path": "Goal.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": "Goal.identifier", + "path": "Goal.identifier", + "short": "External Ids for this goal", + "definition": "Business identifiers assigned to this goal 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 goal as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.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": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Goal.lifecycleStatus", + "path": "Goal.lifecycleStatus", + "short": "proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected", + "definition": "The state of the goal throughout its lifecycle.", + "comment": "This element is labeled as a modifier because the lifecycleStatus contains codes that mark the resource as not currently valid.", + "requirements": "Allows knowing whether goal needs to be further tracked.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.lifecycleStatus", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-status" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "GOL-18-goal life cycle status" + }, + { + "identity": "rim", + "map": ".statusCode in-progress = active (classCode = OBJ) cancelled = aborted" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.status" + } + ] + }, + { + "id": "Goal.achievementStatus", + "path": "Goal.achievementStatus", + "short": "in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable", + "definition": "Describes the progression, or lack thereof, towards the goal against the target.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.achievementStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalAchievementStatus" + } + ], + "strength": "preferred", + "description": "Indicates the progression, or lack thereof, towards the goal against the target.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-achievement" + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode achieved = complete sustaining = active" + } + ] + }, + { + "id": "Goal.category", + "path": "Goal.category", + "short": "E.g. Treatment, dietary, behavioral, etc.", + "definition": "Indicates a category the goal falls within.", + "requirements": "Allows goals to be filtered and sorted.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalCategory" + } + ], + "strength": "example", + "description": "Codes for grouping and sorting goals.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + } + ] + }, + { + "id": "Goal.priority", + "path": "Goal.priority", + "short": "high-priority | medium-priority | low-priority", + "definition": "Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.", + "comment": "Extensions are available to track priorities as established by each participant (i.e. Priority from the patient's perspective, different practitioners' perspectives, family member's perspectives)\r\rThe ordinal extension on Coding can be used to convey a numerically comparable ranking to priority. (Keep in mind that different coding systems may use a \"low value=important\".", + "requirements": "Used for sorting and presenting goals.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalPriority" + } + ], + "strength": "preferred", + "description": "The level of importance associated with a goal.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-priority" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "Goal.description", + "path": "Goal.description", + "short": "Code or text describing goal", + "definition": "Human-readable and/or coded description of a specific desired objective of care, such as \"control blood pressure\" or \"negotiate an obstacle course\" or \"dance with child at wedding\".", + "comment": "If no code is available, use CodeableConcept.text.", + "requirements": "Without a description of what's trying to be achieved, element has no purpose.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.description", + "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": { + "strength": "extensible", + "description": "Value set to describe the Goal", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-goal-description" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "GOL-3.2-goal ID.text" + }, + { + "identity": "rim", + "map": ".text" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.description" + } + ] + }, + { + "id": "Goal.subject", + "path": "Goal.subject", + "short": "Who this goal is intended for", + "definition": "Identifies the patient, group or organization for whom the goal is being established.", + "requirements": "Subject is optional to support annonymized reporting.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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-patient ID list" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PAT].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.subject" + } + ] + }, + { + "id": "Goal.start[x]", + "path": "Goal.start[x]", + "short": "When goal pursuit begins", + "definition": "The date or event after which the goal should begin being pursued.", + "requirements": "Goals can be established prior to there being an intention to start pursuing them; e.g. Goals for post-surgical recovery established prior to surgery.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.start[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalStartEvent" + } + ], + "strength": "example", + "description": "Codes describing events that can trigger the initiation of a goal.", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-start-event" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.planned" + } + ] + }, + { + "id": "Goal.target", + "path": "Goal.target", + "short": "Target outcome for the goal", + "definition": "Indicates what should be done by when.", + "comment": "When multiple targets are present for a single goal instance, all targets must be met for the overall goal to be met.", + "requirements": "Allows the progress of the goal to be monitored against an observation or due date. Target is 0..* to support Observations with multiple components, such as blood pressure goals with both a systolic and diastolic target.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.target", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "condition": [ + "gol-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": "gol-1", + "severity": "error", + "human": "Goal.target.measure is required if Goal.target.detail is populated", + "expression": "(detail.exists() and measure.exists()) or detail.exists().not()", + "xpath": "(exists(f:*[starts-with(local-name(.), 'detail')]) and exists(f:measure)) or not(exists(f:*[starts-with(local-name(.), 'detail')]))", + "source": "http://hl7.org/fhir/StructureDefinition/Goal" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Goal.target.id", + "path": "Goal.target.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": "Goal.target.extension", + "path": "Goal.target.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": "Goal.target.modifierExtension", + "path": "Goal.target.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": "Goal.target.measure", + "path": "Goal.target.measure", + "short": "The parameter whose value is being tracked", + "definition": "The parameter whose value is being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.measure", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "gol-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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalTargetMeasure" + } + ], + "strength": "example", + "description": "Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + { + "id": "Goal.target.detail[x]", + "path": "Goal.target.detail[x]", + "short": "The target value to be achieved", + "definition": "The target value of the focus to be achieved to signify the fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any focus value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any focus value at or above the low value.", + "comment": "A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Goal.target.measure defines a coded value.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.detail[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Ratio" + } + ], + "condition": [ + "gol-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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "GoalTargetDetail" + } + ], + "strength": "example", + "description": "Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal." + } + }, + { + "id": "Goal.target.due[x]", + "path": "Goal.target.due[x]", + "short": "Reach goal on or before", + "definition": "Indicates either the date or the duration after start by which the goal should be met.", + "requirements": "Identifies when the goal should be evaluated.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.target.due[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "date" + }, + { + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + } + ] + }, + { + "id": "Goal.statusDate", + "path": "Goal.statusDate", + "short": "When goal status took effect", + "definition": "Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc.", + "comment": "To see the date for past statuses, query history.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.statusDate", + "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": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + } + ] + }, + { + "id": "Goal.statusReason", + "path": "Goal.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current status.", + "comment": "This will typically be captured for statuses such as rejected, on-hold or cancelled, but could be present for others.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.statusReason", + "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 + }, + { + "id": "Goal.expressedBy", + "path": "Goal.expressedBy", + "short": "Who's responsible for creating Goal?", + "definition": "Indicates whose goal this is - patient goal, practitioner goal, etc.", + "comment": "This is the individual responsible for establishing the goal, not necessarily who recorded it. (For that, use the Provenance resource.).", + "min": 0, + "max": "1", + "base": { + "path": "Goal.expressedBy", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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" + } + ] + }, + { + "id": "Goal.addresses", + "path": "Goal.addresses", + "short": "Issues addressed by this goal", + "definition": "The identified conditions and other health record elements that are intended to be addressed by the goal.", + "requirements": "Allows specific goals to explicitly linked to the concerns they're dealing with - makes the goal more understandable.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.addresses", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/RiskAssessment" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.why[x]" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SUBJ].target[classCode=CONC]" + } + ] + }, + { + "id": "Goal.note", + "path": "Goal.note", + "short": "Comments about the goal", + "definition": "Any comments related to the goal.", + "comment": "May be used for progress notes, concerns or other related information that doesn't actually describe the goal itself.", + "requirements": "There's a need to capture information about the goal that doesn't actually describe the goal.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.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": "v2", + "map": "GOL-16-goal evaluation + NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Goal.outcomeCode", + "path": "Goal.outcomeCode", + "short": "What result was achieved regarding the goal?", + "definition": "Identifies the change (or lack of change) at the point when the status of the goal is assessed.", + "comment": "Note that this should not duplicate the goal status.", + "requirements": "Outcome tracking is a key aspect of care planning.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.outcomeCode", + "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": "GoalOutcome" + } + ], + "strength": "example", + "description": "The result of the goal; e.g. \"25% increase in shoulder mobility\", \"Anxiety reduced to moderate levels\". \"15 kg weight loss sustained over 6 months\".", + "valueSet": "http://hl7.org/fhir/ValueSet/clinical-findings" + } + }, + { + "id": "Goal.outcomeReference", + "path": "Goal.outcomeReference", + "short": "Observation that resulted from goal", + "definition": "Details of what's changed (or not changed).", + "comment": "The goal outcome is independent of the outcome of the related activities. For example, if the Goal is to achieve a target body weight of 150 lb and a care plan activity is defined to diet, then the care plan’s activity outcome could be calories consumed whereas goal outcome is an observation for the actual body weight measured.", + "requirements": "Outcome tracking is a key aspect of care planning.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.outcomeReference", + "min": 0, + "max": "*" + }, + "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 + } + ] + }, + "differential": { + "element": [ + { + "id": "Goal", + "path": "Goal", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal" + } + ] + }, + { + "id": "Goal.lifecycleStatus", + "path": "Goal.lifecycleStatus", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/goal-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.status" + } + ] + }, + { + "id": "Goal.description", + "path": "Goal.description", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Value set to describe the Goal", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-goal-description" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.description" + } + ] + }, + { + "id": "Goal.subject", + "path": "Goal.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Goal.subject" + } + ] + }, + { + "id": "Goal.target", + "path": "Goal.target", + "mustSupport": true + }, + { + "id": "Goal.target.due[x]", + "path": "Goal.target.due[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "date" + }, + { + "code": "Duration" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-head-circumference.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-head-circumference.json new file mode 100644 index 00000000000..cbc83d406dc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-head-circumference.json @@ -0,0 +1,3820 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-head-circumference", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference", + "version": "5.0.0", + "name": "USCoreHeadCircumferenceProfile", + "title": "US Core Head Circumference Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch head circumference observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Head Circumference Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Head Circumference", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9843-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": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Head Circumference Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Head Circumference", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9843-4" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-heart-rate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-heart-rate.json new file mode 100644 index 00000000000..6e5d6f714f5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-heart-rate.json @@ -0,0 +1,3814 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-heart-rate", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate", + "version": "5.0.0", + "name": "USCoreHeartRateProfile", + "title": "US Core Heart Rate Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch heart rate observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Heart Rate Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Heart Rate", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-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": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "/min", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Heart Rate Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Heart Rate", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "/min", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-immunization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-immunization.json new file mode 100644 index 00000000000..5ef972db6f2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-immunization.json @@ -0,0 +1,3184 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-immunization", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization", + "version": "5.0.0", + "name": "USCoreImmunizationProfile", + "title": "US Core Immunization Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the Immunization resource to record, search, and fetch immunization history associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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/fhir/StructureDefinition/Immunization", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Immunization", + "path": "Immunization", + "short": "Immunization event information", + "definition": "\\-", + "comment": "\\-", + "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" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-5", + "severity": "warning", + "human": "SHOULD have a translation to the NDC value set", + "expression": "vaccineCode.coding.where(system='http://hl7.org/fhir/sid/ndc').empty()", + "xpath": "not(exists(f:vaccineCode/f:coding/f:system[@value='http://hl7.org/fhir/sid/ndc']))" + } + ], + "mustSupport": false, + "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" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization" + } + ] + }, + { + "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": "string" + } + ], + "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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "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", + "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": "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", + "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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.status" + } + ] + }, + { + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "example", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.statusReason" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.wasNotGiven" + } + ] + }, + { + "id": "Immunization.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine Product Type (bind to CVX)", + "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" + } + ], + "condition": [ + "us-core-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.6" + }, + "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" + }, + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.vaccineCode" + } + ] + }, + { + "id": "Immunization.patient", + "path": "Immunization.patient", + "short": "Who was immunized", + "definition": "The patient who either received or did not receive the immunization.", + "alias": [ + "Patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Immunization.patient", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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" + }, + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.patient" + } + ] + }, + { + "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]", + "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": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "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" + }, + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.date" + } + ] + }, + { + "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", + "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 “reliability” of the content.", + "min": 1, + "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)" + }, + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.reported" + } + ] + }, + { + "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": "Name of vaccine 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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationSite" + } + ], + "strength": "example", + "description": "The site at which the vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-site" + }, + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationRoute" + } + ], + "strength": "example", + "description": "The route by which the vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-route" + }, + "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", + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationFunction" + } + ], + "strength": "extensible", + "description": "The role a practitioner or organization plays in the immunization event.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-function" + }, + "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.note", + "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" + } + ], + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ImmunizationReason" + } + ], + "strength": "example", + "description": "The reason why a vaccine was administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-reason" + }, + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "TargetDisease" + } + ], + "strength": "example", + "description": "The vaccine preventable disease the dose is being administered for.", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-target-disease" + }, + "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", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-5", + "severity": "warning", + "human": "SHOULD have a translation to the NDC value set", + "expression": "vaccineCode.coding.where(system='http://hl7.org/fhir/sid/ndc').empty()", + "xpath": "not(exists(f:vaccineCode/f:coding/f:system[@value='http://hl7.org/fhir/sid/ndc']))" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization" + } + ] + }, + { + "id": "Immunization.status", + "path": "Immunization.status", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.status" + } + ] + }, + { + "id": "Immunization.statusReason", + "path": "Immunization.statusReason", + "mustSupport": true, + "binding": { + "strength": "example", + "valueSet": "http://hl7.org/fhir/ValueSet/immunization-status-reason" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.wasNotGiven" + } + ] + }, + { + "id": "Immunization.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine Product Type (bind to CVX)", + "condition": [ + "us-core-5" + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.6" + }, + "mapping": [ + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "quick", + "map": "vaccine" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.vaccineCode" + } + ] + }, + { + "id": "Immunization.patient", + "path": "Immunization.patient", + "alias": [ + "Patient" + ], + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "quick", + "map": "subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.patient" + } + ] + }, + { + "id": "Immunization.occurrence[x]", + "path": "Immunization.occurrence[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "string" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "quick", + "map": "performanceTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.date" + } + ] + }, + { + "id": "Immunization.primarySource", + "path": "Immunization.primarySource", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "quick", + "map": "reported" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Immunization.reported" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-implantable-device.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-implantable-device.json new file mode 100644 index 00000000000..2e641e902a1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-implantable-device.json @@ -0,0 +1,2997 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-implantable-device", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device", + "version": "5.0.0", + "name": "USCoreImplantableDeviceProfile", + "title": "US Core Implantable Device Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Implantable Device Profile is based upon the core FHIR Device Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Unique Device Identifier(s) for a Patient’s Implantable Device(s)’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Device resource to record, search, and fetch UDI information associated with a patient's implantable device(s). It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "udi", + "uri": "http://fda.gov/UDI", + "name": "UDI Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Device", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Device", + "path": "Device", + "short": "Item used in healthcare", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "Device", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Device" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device" + } + ] + }, + { + "id": "Device.id", + "path": "Device.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Device.meta", + "path": "Device.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": "Device.implicitRules", + "path": "Device.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": "Device.language", + "path": "Device.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Device.text", + "path": "Device.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": "Device.contained", + "path": "Device.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": "Device.extension", + "path": "Device.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": "Device.modifierExtension", + "path": "Device.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": "Device.identifier", + "path": "Device.identifier", + "short": "Instance identifier", + "definition": "Unique instance identifiers assigned to a device by manufacturers other organizations or owners.", + "comment": "The barcode string from a barcode present on a device label or package may identify the instance, include names given to the device in local usage, or may identify the type of device. If the identifier identifies the type of device, Device.type element should be used.", + "min": 0, + "max": "*", + "base": { + "path": "Device.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": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "udi", + "map": "The serial number which is a component of the production identifier (PI), a conditional, variable portion of a UDI. The identifier.type code should be set to “SNO”(Serial Number) and the system left empty." + } + ] + }, + { + "id": "Device.definition", + "path": "Device.definition", + "short": "The reference to the definition for the device", + "definition": "The reference to the definition for the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.definition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DeviceDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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 + }, + { + "id": "Device.udiCarrier", + "path": "Device.udiCarrier", + "short": "Unique Device Identifier (UDI) Barcode string", + "definition": "Unique device identifier (UDI) assigned to device label or package. Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.", + "comment": "Some devices may not have UDI information (for example. historical data or patient reported data).", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier", + "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": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id and .code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.id", + "path": "Device.udiCarrier.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": "Device.udiCarrier.extension", + "path": "Device.udiCarrier.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": "Device.udiCarrier.modifierExtension", + "path": "Device.udiCarrier.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": "Device.udiCarrier.deviceIdentifier", + "path": "Device.udiCarrier.deviceIdentifier", + "short": "Mandatory fixed portion of UDI", + "definition": "The device identifier (DI) is a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device.", + "alias": [ + "DI" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.udiCarrier.deviceIdentifier", + "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": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": "Role.id.extension" + }, + { + "identity": "udi", + "map": "The device identifier (DI), a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.udiCarrier.issuer", + "path": "Device.udiCarrier.issuer", + "short": "UDI Issuing Organization", + "definition": "Organization that is charged with issuing UDIs for devices. For example, the US FDA issuers include :\n1) GS1: \nhttp://hl7.org/fhir/NamingSystem/gs1-di, \n2) HIBCC:\nhttp://hl7.org/fhir/NamingSystem/hibcc-dI, \n3) ICCBBA for blood containers:\nhttp://hl7.org/fhir/NamingSystem/iccbba-blood-di, \n4) ICCBA for other devices:\nhttp://hl7.org/fhir/NamingSystem/iccbba-other-di.", + "alias": [ + "Barcode System" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.issuer", + "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": "Role.id.root" + }, + { + "identity": "udi", + "map": "All UDIs are to be issued under a system operated by an Jurisdiction-accredited issuing agency.\nGS1 DIs: \n http://hl7.org/fhir/NamingSystem/gs1\nHIBCC DIs:\n http://hl7.org/fhir/NamingSystem/hibcc\nICCBBA DIs for blood containers:\n http://hl7.org/fhir/NamingSystem/iccbba-blood\nICCBA DIs for other devices:\n http://hl7.org/fhir/NamingSystem/iccbba-other" + } + ] + }, + { + "id": "Device.udiCarrier.jurisdiction", + "path": "Device.udiCarrier.jurisdiction", + "short": "Regional UDI authority", + "definition": "The identity of the authoritative source for UDI generation within a jurisdiction. All UDIs are globally unique within a single namespace with the appropriate repository uri as the system. For example, UDIs of devices managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/fda-udi.", + "requirements": "Allows a recipient of a UDI to know which database will contain the UDI-associated metadata.", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.jurisdiction", + "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": "Role.scoper" + } + ] + }, + { + "id": "Device.udiCarrier.carrierAIDC", + "path": "Device.udiCarrier.carrierAIDC", + "short": "UDI Machine Readable Barcode String", + "definition": "The full UDI carrier of the Automatic Identification and Data Capture (AIDC) technology representation of the barcode string as printed on the packaging of the device - e.g., a barcode or RFID. Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC Formats *SHALL* be base64 encoded.", + "comment": "The AIDC form of UDIs should be scanned or otherwise used for the identification of the device whenever possible to minimize errors in records resulting from manual transcriptions. If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label.", + "alias": [ + "Automatic Identification and Data Capture" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.carrierAIDC", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Role.id.extension" + }, + { + "identity": "udi", + "map": "A unique device identifier (UDI) on a device label a form that uses automatic identification and data capture (AIDC) technology." + } + ] + }, + { + "id": "Device.udiCarrier.carrierHRF", + "path": "Device.udiCarrier.carrierHRF", + "short": "UDI Human Readable Barcode String", + "definition": "The full UDI carrier as the human readable form (HRF) representation of the barcode string as printed on the packaging of the device.", + "comment": "If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label.", + "alias": [ + "Human Readable Form", + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.carrierHRF", + "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": "Role.id.extension" + }, + { + "identity": "udi", + "map": "A unique device identifier (UDI) on a device label in plain text" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.entryType", + "path": "Device.udiCarrier.entryType", + "short": "barcode | rfid | manual +", + "definition": "A coded entry to indicate how the data was entered.", + "requirements": "Supports a way to distinguish hand entered from machine read data.", + "min": 0, + "max": "1", + "base": { + "path": "Device.udiCarrier.entryType", + "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": "UDIEntryType" + } + ], + "strength": "required", + "description": "Codes to identify how UDI data was entered.", + "valueSet": "http://hl7.org/fhir/ValueSet/udi-entry-type|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Device.status", + "path": "Device.status", + "short": "active | inactive | entered-in-error | unknown", + "definition": "Status of the Device availability.", + "comment": "This element is labeled as a modifier because the status contains the codes inactive and entered-in-error that mark the device (record)as not currently valid.", + "min": 0, + "max": "1", + "base": { + "path": "Device.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 labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRDeviceStatus" + } + ], + "strength": "required", + "description": "The availability status of the device.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-status|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Device.statusReason", + "path": "Device.statusReason", + "short": "online | paused | standby | offline | not-ready | transduc-discon | hw-discon | off", + "definition": "Reason for the dtatus of the Device availability.", + "min": 0, + "max": "*", + "base": { + "path": "Device.statusReason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRDeviceStatusReason" + } + ], + "strength": "extensible", + "description": "The availability status reason of the device.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-status-reason" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + } + ] + }, + { + "id": "Device.distinctIdentifier", + "path": "Device.distinctIdentifier", + "short": "The distinct identification string", + "definition": "The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product.", + "comment": "For example, this applies to devices in the United States regulated under *Code of Federal Regulation 21CFR§1271.290(c)*.", + "alias": [ + "Distinct Identification Code (DIC)" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.distinctIdentifier", + "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": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.manufacturer", + "path": "Device.manufacturer", + "short": "Name of device manufacturer", + "definition": "A name of the manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Device.manufacturer", + "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": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].scoper.name" + }, + { + "identity": "udi", + "map": "N/A" + } + ] + }, + { + "id": "Device.manufactureDate", + "path": "Device.manufactureDate", + "short": "Date when the device was made", + "definition": "The date and time when the device was manufactured.", + "min": 0, + "max": "1", + "base": { + "path": "Device.manufactureDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".existenceTime.low" + }, + { + "identity": "udi", + "map": "The date a specific device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.expirationDate", + "path": "Device.expirationDate", + "short": "Date and time of expiry of this device (if applicable)", + "definition": "The date and time beyond which this device is no longer valid or should not be used (if applicable).", + "min": 0, + "max": "1", + "base": { + "path": "Device.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".expirationTime" + }, + { + "identity": "udi", + "map": "the expiration date of a specific device - which is a component of the production identifier (PI), a conditional, variable portion of a UDI. For FHIR, The datetime syntax must converted to YYYY-MM-DD[THH:MM:SS]. If hour is present, the minutes and seconds should both be set to “00”." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.lotNumber", + "path": "Device.lotNumber", + "short": "Lot number of manufacture", + "definition": "Lot number assigned by the manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Device.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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.serialNumber", + "path": "Device.serialNumber", + "short": "Serial number assigned by the manufacturer", + "definition": "The serial number assigned by the organization when the device was manufactured.", + "comment": "Alphanumeric Maximum 20.", + "min": 0, + "max": "1", + "base": { + "path": "Device.serialNumber", + "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": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].id" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.deviceName", + "path": "Device.deviceName", + "short": "The name of the device as given by the manufacturer", + "definition": "This represents the manufacturer's name of the device as provided by the device, from a UDI label, or by a person describing the Device. This typically would be used when a person provides the name(s) or when the device represents one of the names available from DeviceDefinition.", + "min": 0, + "max": "*", + "base": { + "path": "Device.deviceName", + "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 + }, + { + "id": "Device.deviceName.id", + "path": "Device.deviceName.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": "Device.deviceName.extension", + "path": "Device.deviceName.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": "Device.deviceName.modifierExtension", + "path": "Device.deviceName.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": "Device.deviceName.name", + "path": "Device.deviceName.name", + "short": "The name of the device", + "definition": "The name of the device.", + "alias": [ + "Σ" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.deviceName.name", + "min": 1, + "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 + }, + { + "id": "Device.deviceName.type", + "path": "Device.deviceName.type", + "short": "udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other", + "definition": "The type of deviceName.\nUDILabelName | UserFriendlyName | PatientReportedName | ManufactureDeviceName | ModelName.", + "min": 1, + "max": "1", + "base": { + "path": "Device.deviceName.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DeviceNameType" + } + ], + "strength": "required", + "description": "The type of name the device is referred by.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-nametype|4.0.1" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].code" + } + ] + }, + { + "id": "Device.modelNumber", + "path": "Device.modelNumber", + "short": "The model number for the device", + "definition": "The model number for the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.modelNumber", + "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": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".softwareName (included as part)" + } + ] + }, + { + "id": "Device.partNumber", + "path": "Device.partNumber", + "short": "The part number of the device", + "definition": "The part number of the device.", + "comment": "Alphanumeric Maximum 20.", + "min": 0, + "max": "1", + "base": { + "path": "Device.partNumber", + "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": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].id" + } + ] + }, + { + "id": "Device.type", + "path": "Device.type", + "short": "The kind or type of device", + "definition": "The kind or type of device.", + "min": 1, + "max": "1", + "base": { + "path": "Device.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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Codes to identify medical devices", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.type" + } + ] + }, + { + "id": "Device.specialization", + "path": "Device.specialization", + "short": "The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication", + "definition": "The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication.", + "min": 0, + "max": "*", + "base": { + "path": "Device.specialization", + "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 + }, + { + "id": "Device.specialization.id", + "path": "Device.specialization.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": "Device.specialization.extension", + "path": "Device.specialization.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": "Device.specialization.modifierExtension", + "path": "Device.specialization.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": "Device.specialization.systemType", + "path": "Device.specialization.systemType", + "short": "The standard that is used to operate and communicate", + "definition": "The standard that is used to operate and communicate.", + "alias": [ + "Σ" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.specialization.systemType", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.specialization.version", + "path": "Device.specialization.version", + "short": "The version of the standard that is used to operate and communicate", + "definition": "The version of the standard that is used to operate and communicate.", + "min": 0, + "max": "1", + "base": { + "path": "Device.specialization.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "Device.version", + "path": "Device.version", + "short": "The actual design of the device or software version running on the device", + "definition": "The actual design of the device or software version running on the device.", + "min": 0, + "max": "*", + "base": { + "path": "Device.version", + "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 + }, + { + "id": "Device.version.id", + "path": "Device.version.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": "Device.version.extension", + "path": "Device.version.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": "Device.version.modifierExtension", + "path": "Device.version.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": "Device.version.type", + "path": "Device.version.type", + "short": "The type of the device version", + "definition": "The type of the device version.", + "alias": [ + "Σ" + ], + "min": 0, + "max": "1", + "base": { + "path": "Device.version.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 + }, + { + "id": "Device.version.component", + "path": "Device.version.component", + "short": "A single component of the device version", + "definition": "A single component of the device version.", + "min": 0, + "max": "1", + "base": { + "path": "Device.version.component", + "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": "w5", + "map": "FiveWs.what[x]" + } + ] + }, + { + "id": "Device.version.value", + "path": "Device.version.value", + "short": "The version text", + "definition": "The version text.", + "min": 1, + "max": "1", + "base": { + "path": "Device.version.value", + "min": 1, + "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 + }, + { + "id": "Device.property", + "path": "Device.property", + "short": "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties", + "definition": "The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.", + "min": 0, + "max": "*", + "base": { + "path": "Device.property", + "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 + }, + { + "id": "Device.property.id", + "path": "Device.property.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": "Device.property.extension", + "path": "Device.property.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": "Device.property.modifierExtension", + "path": "Device.property.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": "Device.property.type", + "path": "Device.property.type", + "short": "Code that specifies the property DeviceDefinitionPropetyCode (Extensible)", + "definition": "Code that specifies the property DeviceDefinitionPropetyCode (Extensible).", + "min": 1, + "max": "1", + "base": { + "path": "Device.property.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Device.property.valueQuantity", + "path": "Device.property.valueQuantity", + "short": "Property value as a quantity", + "definition": "Property value as a quantity.", + "min": 0, + "max": "*", + "base": { + "path": "Device.property.valueQuantity", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Quantity" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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 + }, + { + "id": "Device.property.valueCode", + "path": "Device.property.valueCode", + "short": "Property value as a code, e.g., NTP4 (synced to NTP)", + "definition": "Property value as a code, e.g., NTP4 (synced to NTP).", + "min": 0, + "max": "*", + "base": { + "path": "Device.property.valueCode", + "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 + }, + { + "id": "Device.patient", + "path": "Device.patient", + "short": "Patient to whom Device is affixed", + "definition": "Patient information, If the device is affixed to a person.", + "requirements": "If the device is implanted in a patient, then need to associate the device to the patient.", + "min": 1, + "max": "1", + "base": { + "path": "Device.patient", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Device.patient" + } + ] + }, + { + "id": "Device.owner", + "path": "Device.owner", + "short": "Organization responsible for device", + "definition": "An organization that is responsible for the provision and ongoing maintenance of the device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.owner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=OWN].scoper" + } + ] + }, + { + "id": "Device.contact", + "path": "Device.contact", + "short": "Details for human/organization for support", + "definition": "Contact details for an organization or a particular human that is responsible for the device.", + "comment": "used for troubleshooting etc.", + "min": 0, + "max": "*", + "base": { + "path": "Device.contact", + "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": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".scopedRole[typeCode=CON].player" + } + ] + }, + { + "id": "Device.location", + "path": "Device.location", + "short": "Where the device is found", + "definition": "The place where the device can be found.", + "requirements": "Device.location can be used to track device location.", + "min": 0, + "max": "1", + "base": { + "path": "Device.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": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=LOCE].scoper" + } + ] + }, + { + "id": "Device.url", + "path": "Device.url", + "short": "Network address to contact device", + "definition": "A network address on which the device may be contacted directly.", + "comment": "If the device is running a FHIR server, the network address should be the Base URL from which a conformance statement may be retrieved.", + "min": 0, + "max": "1", + "base": { + "path": "Device.url", + "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": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Device.note", + "path": "Device.note", + "short": "Device notes and comments", + "definition": "Descriptive information, usage information or implantation information that is not captured in an existing element.", + "min": 0, + "max": "*", + "base": { + "path": "Device.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": ".text" + } + ] + }, + { + "id": "Device.safety", + "path": "Device.safety", + "short": "Safety Characteristics of Device", + "definition": "Provides additional safety characteristics about a medical device. For example devices containing latex.", + "min": 0, + "max": "*", + "base": { + "path": "Device.safety", + "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, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Device.parent", + "path": "Device.parent", + "short": "The parent device", + "definition": "The parent device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.parent", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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 + } + ] + }, + "differential": { + "element": [ + { + "id": "Device", + "path": "Device", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device" + } + ] + }, + { + "id": "Device.udiCarrier", + "path": "Device.udiCarrier", + "comment": "Some devices may not have UDI information (for example. historical data or patient reported data).", + "max": "1", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.udiCarrier.deviceIdentifier", + "path": "Device.udiCarrier.deviceIdentifier", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.udiCarrier.carrierHRF", + "path": "Device.udiCarrier.carrierHRF", + "alias": [ + "UDI", + "Barcode String" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.udi" + } + ] + }, + { + "id": "Device.distinctIdentifier", + "path": "Device.distinctIdentifier", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.manufactureDate", + "path": "Device.manufactureDate", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.expirationDate", + "path": "Device.expirationDate", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.lotNumber", + "path": "Device.lotNumber", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.serialNumber", + "path": "Device.serialNumber", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA (not Supported)" + } + ] + }, + { + "id": "Device.type", + "path": "Device.type", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Codes to identify medical devices", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.type" + } + ] + }, + { + "id": "Device.patient", + "path": "Device.patient", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Device.patient" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-location.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-location.json new file mode 100644 index 00000000000..75bba2fd669 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-location.json @@ -0,0 +1,2508 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-location", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", + "version": "5.0.0", + "name": "USCoreLocation", + "title": "US Core Location Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the Location resource for recording, searching for and fetching a Location associated with a patient, provider or organization to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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/fhir/StructureDefinition/Location", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Location", + "path": "Location", + "short": "Details and position information for a physical place", + "definition": "\\-", + "comment": "\\-", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": ".Role[classCode=SDLC]" + }, + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "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": "string" + } + ], + "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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "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" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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" + } + ], + "mustSupport": true, + "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", + "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": 1, + "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" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "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", + "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" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "LocationType" + } + ], + "strength": "extensible", + "description": "Indicates the type of function performed at the location.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType" + }, + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Location.address", + "path": "Location.address", + "short": "Physical location", + "definition": "Physical location.", + "comment": "Additional addresses should be recorded using another instance of the Location resource, or via the Organization.", + "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" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.id", + "path": "Location.address.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.address.extension", + "path": "Location.address.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": "Location.address.use", + "path": "Location.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Location.address.type", + "path": "Location.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Location.address.text", + "path": "Location.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Location.address.line", + "path": "Location.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "*", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + } + ] + }, + { + "id": "Location.address.city", + "path": "Location.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Location.address.district", + "path": "Location.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Location.address.state", + "path": "Location.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "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, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Location.address.postalCode", + "path": "Location.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Location.address.country", + "path": "Location.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "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": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Location.address.period", + "path": "Location.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-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": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Location.physicalType", + "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" + } + ], + "isModifier": false, + "isSummary": true, + "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" + }, + "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", + "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/fhir/us/core/StructureDefinition/us-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", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Location.status", + "path": "Location.status", + "mustSupport": true + }, + { + "id": "Location.name", + "path": "Location.name", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Location.telecom", + "path": "Location.telecom", + "mustSupport": true + }, + { + "id": "Location.address", + "path": "Location.address", + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Location.address.line", + "path": "Location.address.line", + "max": "*", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.address.city", + "path": "Location.address.city", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.address.state", + "path": "Location.address.state", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Location.address.postalCode", + "path": "Location.address.postalCode", + "short": "US Zip Codes", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Location.managingOrganization", + "path": "Location.managingOrganization", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-medication.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-medication.json new file mode 100644 index 00000000000..e437b28dc44 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-medication.json @@ -0,0 +1,1370 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medication", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication", + "version": "5.0.0", + "name": "USCoreMedicationProfile", + "title": "US Core Medication Profile", + "status": "active", + "experimental": false, + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "When referencing a medication, the MedicationRequest resource can either use a code or refer to a Medication resource. This profile sets minimum expectations for the Medication resource to record, search, and fetch medications associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "script10.6", + "uri": "http://ncpdp.org/SCRIPT10_6", + "name": "Mapping to NCPDP SCRIPT 10.6" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Medication", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Medication", + "path": "Medication", + "short": "Definition of a Medication", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "Medication", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "script10.6", + "map": "NewRx/MedicationPrescribed\r-or-\rRxFill/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationDispensed\r-or-\rRxHistoryResponse/MedicationPrescribed" + }, + { + "identity": "rim", + "map": "ManufacturedProduct[classCode=ADMM]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Medication" + } + ] + }, + { + "id": "Medication.id", + "path": "Medication.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Medication.meta", + "path": "Medication.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Medication.implicitRules", + "path": "Medication.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Medication.language", + "path": "Medication.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Medication.text", + "path": "Medication.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Medication.contained", + "path": "Medication.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.extension", + "path": "Medication.extension", + "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": "Medication.modifierExtension", + "path": "Medication.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.identifier", + "path": "Medication.identifier", + "short": "Business identifier for this medication", + "definition": "Business identifier for this medication.", + "comment": "The serial number could be included as an identifier.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Medication.code", + "path": "Medication.code", + "short": "Codes that identify this medication", + "definition": "A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.", + "comment": "Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: \"A coding may be marked as a \"userSelected\" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).", + "min": 1, + "max": "1", + "base": { + "path": "Medication.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Medication.code" + } + ] + }, + { + "id": "Medication.status", + "path": "Medication.status", + "short": "active | inactive | entered-in-error", + "definition": "A code to indicate if the medication is in active use.", + "comment": "This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product \"ABC Hospital Special Cream\" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to \"entered in error\". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationStatus" + } + ], + "strength": "required", + "description": "A coded concept defining if the medication is in active use.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-status|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "Medication.manufacturer", + "path": "Medication.manufacturer", + "short": "Manufacturer of the item", + "definition": "Describes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.manufacturer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name" + }, + { + "identity": "rim", + "map": ".player.scopingRole[typeCode=MANU].scoper" + } + ] + }, + { + "id": "Medication.form", + "path": "Medication.form", + "short": "powder | tablets | capsule +", + "definition": "Describes the form of the item. Powder; tablets; capsule.", + "comment": "When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.form", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationForm" + } + ], + "strength": "example", + "description": "A coded concept defining the form of a medication.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-form-codes" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,DrugCodedType)/FormCode\r\rcoding.system = //element(*,DrugCodedType)/FormSourceCode" + }, + { + "identity": "v2", + "map": "RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form" + }, + { + "identity": "rim", + "map": ".formCode" + } + ] + }, + { + "id": "Medication.amount", + "path": "Medication.amount", + "short": "Amount of drug in package", + "definition": "Specific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.amount", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".quantity" + } + ] + }, + { + "id": "Medication.ingredient", + "path": "Medication.ingredient", + "short": "Active or inactive ingredient", + "definition": "Identifies a particular constituent of interest in the product.", + "comment": "The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.ingredient", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".scopesRole[typeCode=INGR]" + } + ] + }, + { + "id": "Medication.ingredient.id", + "path": "Medication.ingredient.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.ingredient.extension", + "path": "Medication.ingredient.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.ingredient.modifierExtension", + "path": "Medication.ingredient.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.ingredient.item[x]", + "path": "Medication.ingredient.item[x]", + "short": "The actual ingredient or content", + "definition": "The actual ingredient - either a substance (simple ingredient) or another medication of a medication.", + "requirements": "The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base).", + "min": 1, + "max": "1", + "base": { + "path": "Medication.ingredient.item[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Substance", + "http://hl7.org/fhir/StructureDefinition/Medication" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode\r\rcoding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier\r\rcoding.display = //element(*,MedicationType)/DrugDescription" + }, + { + "identity": "v2", + "map": "RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code" + }, + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "Medication.ingredient.isActive", + "path": "Medication.ingredient.isActive", + "short": "Active ingredient indicator", + "definition": "Indication of whether this ingredient affects the therapeutic action of the drug.", + "requirements": "True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). \rFalse indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.ingredient.isActive", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "NA" + } + ] + }, + { + "id": "Medication.ingredient.strength", + "path": "Medication.ingredient.strength", + "short": "Quantity of ingredient present", + "definition": "Specifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.ingredient.strength", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "//element(*,DrugCodedType)/Strength" + }, + { + "identity": "v2", + "map": "RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units" + }, + { + "identity": "rim", + "map": ".quantity" + } + ] + }, + { + "id": "Medication.batch", + "path": "Medication.batch", + "short": "Details about packaged medications", + "definition": "Information that only applies to packages (not products).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".player[classCode=CONT]" + } + ] + }, + { + "id": "Medication.batch.id", + "path": "Medication.batch.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.batch.extension", + "path": "Medication.batch.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication.batch.modifierExtension", + "path": "Medication.batch.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication.batch.lotNumber", + "path": "Medication.batch.lotNumber", + "short": "Identifier assigned to batch", + "definition": "The assigned lot number of a batch of the specified product.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Medication.batch.expirationDate", + "path": "Medication.batch.expirationDate", + "short": "When batch will expire", + "definition": "When this specific batch of product will expire.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.batch.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date" + }, + { + "identity": "rim", + "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Medication", + "path": "Medication", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Medication" + } + ] + }, + { + "id": "Medication.code", + "path": "Medication.code", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Medication.code" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-medicationrequest.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-medicationrequest.json new file mode 100644 index 00000000000..8d71d0d6cd3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-medicationrequest.json @@ -0,0 +1,4429 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medicationrequest", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", + "version": "5.0.0", + "name": "USCoreMedicationRequestProfile", + "title": "US Core MedicationRequest Profile", + "status": "active", + "experimental": false, + "date": "2020-06-26", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Medication Request Profile is based upon the core FHIR MedicationRequest Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Medications' requirements. The MedicationRequest resource can be used to record a patient’s medication prescription or order. This profile sets minimum expectations for the MedicationRequest resource to record, search, and fetch a patient's medication to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "workflow", + "uri": "http://hl7.org/fhir/workflow", + "name": "Workflow Pattern" + }, + { + "identity": "script10.6", + "uri": "http://ncpdp.org/SCRIPT10_6", + "name": "Mapping to NCPDP SCRIPT 10.6" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "MedicationRequest", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "MedicationRequest", + "path": "MedicationRequest", + "short": "Ordering of medication for patient or group", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Prescription", + "Order" + ], + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Request" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx" + }, + { + "identity": "rim", + "map": "CombinedMedicationRequest" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder" + } + ] + }, + { + "id": "MedicationRequest.id", + "path": "MedicationRequest.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "MedicationRequest.meta", + "path": "MedicationRequest.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "MedicationRequest.implicitRules", + "path": "MedicationRequest.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "MedicationRequest.language", + "path": "MedicationRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "MedicationRequest.text", + "path": "MedicationRequest.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationRequest.contained", + "path": "MedicationRequest.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.extension", + "path": "MedicationRequest.extension", + "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": "MedicationRequest.modifierExtension", + "path": "MedicationRequest.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.identifier", + "path": "MedicationRequest.identifier", + "short": "External ids for this request", + "definition": "Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server.", + "comment": "This is a business identifier, not a resource identifier.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.identifier" + }, + { + "identity": "script10.6", + "map": "Message/Header/PrescriberOrderNumber" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "MedicationRequest.status", + "path": "MedicationRequest.status", + "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown", + "definition": "A code specifying the current state of the order. Generally, this will be active or completed state.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.statusReason", + "path": "MedicationRequest.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current state of the MedicationRequest.", + "comment": "This is generally only used for \"exception\" statuses such as \"suspended\" or \"cancelled\". The reason why the MedicationRequest was created at all is captured in reasonCode, not here.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.statusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestStatusReason" + } + ], + "strength": "example", + "description": "Identifies the reasons for a given status.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.statusReason" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde" + } + ] + }, + { + "id": "MedicationRequest.intent", + "path": "MedicationRequest.intent", + "short": "proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option", + "definition": "Whether the request is a proposal, plan, or an original order.", + "comment": "It is expected that the type of requester will be restricted for different stages of a MedicationRequest. For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device. Plans can be created by Practitioners, Patients, RelatedPersons and Devices. Original orders can be created by a Practitioner only.\r\rAn instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.\r\rThis element is labeled as a modifier because the intent alters when and how the resource is actually applicable.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.intent", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request", + "isSummary": true, + "binding": { + "strength": "required", + "description": "The kind of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.intent" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.category", + "path": "MedicationRequest.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Type of medication usage", + "definition": "Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).", + "comment": "The category can be used to include where the medication is expected to be consumed or other types of requests.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestCategory" + } + ], + "strength": "example", + "description": "A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-category" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value" + } + ] + }, + { + "id": "MedicationRequest.category:us-core", + "path": "MedicationRequest.category", + "sliceName": "us-core", + "short": "Type of medication usage", + "definition": "Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient)).", + "comment": "The category can be used to include where the medication is expected to be consumed or other types of requests.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "The type of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-category" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"type of medication usage\"].value" + } + ] + }, + { + "id": "MedicationRequest.priority", + "path": "MedicationRequest.priority", + "short": "routine | urgent | asap | stat", + "definition": "Indicates how quickly the Medication Request should be addressed with respect to other requests.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.priority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestPriority" + } + ], + "strength": "required", + "description": "Identifies the level of importance to be assigned to actioning the request.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.priority" + }, + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "MedicationRequest.doNotPerform", + "path": "MedicationRequest.doNotPerform", + "short": "True if request is prohibiting action", + "definition": "If true indicates that the provider is asking for the medication request not to occur.", + "comment": "If do not perform is not specified, the request is a positive request e.g. \"do perform\".", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.doNotPerform", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because this element negates the request to occur (ie, this is a request for the medication not to be ordered or prescribed, etc)", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.actionNegationInd" + } + ] + }, + { + "id": "MedicationRequest.reported[x]", + "path": "MedicationRequest.reported[x]", + "short": "Reported rather than primary record", + "definition": "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.reported[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "boolean" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": ".participation[typeCode=INF].role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.medication[x]", + "path": "MedicationRequest.medication[x]", + "short": "Medication to be taken", + "definition": "Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", + "comment": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended. For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.medication[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.code" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed\r\rMedication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode\r\rMedication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier\r\rMedication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code" + }, + { + "identity": "rim", + "map": "consumable.administrableMedication" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.medication[x]" + } + ] + }, + { + "id": "MedicationRequest.subject", + "path": "MedicationRequest.subject", + "short": "Who or group medication request is for", + "definition": "A link to a resource representing the person or set of individuals to whom the medication will be given.", + "comment": "The subject on a medication request is mandatory. For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.subject" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.patient" + } + ] + }, + { + "id": "MedicationRequest.encounter", + "path": "MedicationRequest.encounter", + "short": "Encounter created as part of encounter/admission/stay", + "definition": "The Encounter during which this [x] was created or to which the creation of this record is tightly associated.", + "comment": "This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.\" If there is a need to link to episodes of care they will be handled with an extension.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.context" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1-19-Visit Number" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code=\"type of encounter or episode\"]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "MedicationRequest.supportingInformation", + "path": "MedicationRequest.supportingInformation", + "short": "Information to support ordering of the medication", + "definition": "Include additional information (for example, patient height and weight) that supports the ordering of the medication.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.supportingInformation", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.supportingInfo" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=PERT].target[A_SupportingClinicalStatement CMET minimal with many different choices of classCodes(ORG, ENC, PROC, SPLY, SBADM, OBS) and each of the act class codes draws from one or more of the following moodCodes (EVN, DEF, INT PRMS, RQO, PRP, APT, ARQ, GOL)]" + } + ] + }, + { + "id": "MedicationRequest.authoredOn", + "path": "MedicationRequest.authoredOn", + "short": "When request was initially authored", + "definition": "The date (and perhaps time) when the prescription was initially written or authored on.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.authoredOn", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.authoredOn" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction" + }, + { + "identity": "rim", + "map": "author.time" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.dateWritten" + } + ] + }, + { + "id": "MedicationRequest.requester", + "path": "MedicationRequest.requester", + "short": "Who/What requested the Request", + "definition": "The individual, organization, or device that initiated the request and has responsibility for its activation.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.requester", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.requester" + }, + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.prescriber" + } + ] + }, + { + "id": "MedicationRequest.performer", + "path": "MedicationRequest.performer", + "short": "Intended performer of administration", + "definition": "The specified desired performer of the medication treatment (e.g. the performer of the medication administration).", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.performer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/CareTeam" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performer" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "MedicationRequest.performerType", + "path": "MedicationRequest.performerType", + "short": "Desired kind of performer of the medication administration", + "definition": "Indicates the type of performer of the administration of the medication.", + "comment": "If specified without indicating a performer, this indicates that the performer must be of the specified type. If specified with a performer then it indicates the requirements of the performer if the designated performer is not available.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.performerType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestPerformerType" + } + ], + "strength": "example", + "description": "Identifies the type of individual that is desired to administer the medication.", + "valueSet": "http://hl7.org/fhir/ValueSet/performer-role" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performerType" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code" + } + ] + }, + { + "id": "MedicationRequest.recorder", + "path": "MedicationRequest.recorder", + "short": "Person who entered the request", + "definition": "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.recorder", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": ".participation[typeCode=TRANS].role[classCode=ASSIGNED].code (HealthcareProviderType)" + } + ] + }, + { + "id": "MedicationRequest.reasonCode", + "path": "MedicationRequest.reasonCode", + "short": "Reason or indication for ordering or not ordering the medication", + "definition": "The reason or the indication for ordering or not ordering the medication.", + "comment": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestReason" + } + ], + "strength": "example", + "description": "A coded concept indicating why the medication was ordered.", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonCode" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "ORC-16-Order Control Code Reason /RXE-27-Give Indication/RXO-20-Indication / RXD-21-Indication / RXG-22-Indication / RXA-19-Indication" + }, + { + "identity": "rim", + "map": "reason.observation.reasonCode" + } + ] + }, + { + "id": "MedicationRequest.reasonReference", + "path": "MedicationRequest.reasonReference", + "short": "Condition or observation that supports why the prescription is being written", + "definition": "Condition or observation that supports why the medication was ordered.", + "comment": "This is a reference to a condition or observation that is the reason for the medication order. If only a code exists, use reasonCode.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition", + "http://hl7.org/fhir/StructureDefinition/Observation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + }, + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "reason.observation[code=ASSERTION].value" + } + ] + }, + { + "id": "MedicationRequest.instantiatesCanonical", + "path": "MedicationRequest.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiates" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "MedicationRequest.instantiatesUri", + "path": "MedicationRequest.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this MedicationRequest.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "MedicationRequest.basedOn", + "path": "MedicationRequest.basedOn", + "short": "What request fulfills", + "definition": "A plan or request that is fulfilled in whole or in part by this medication request.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.basedOn" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]" + } + ] + }, + { + "id": "MedicationRequest.groupIdentifier", + "path": "MedicationRequest.groupIdentifier", + "short": "Composite request this is part of", + "definition": "A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription.", + "requirements": "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.groupIdentifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.groupIdentifier" + }, + { + "identity": "rim", + "map": ".outboundRelationship(typeCode=COMP].target[classCode=SBADM, moodCode=INT].id" + } + ] + }, + { + "id": "MedicationRequest.courseOfTherapyType", + "path": "MedicationRequest.courseOfTherapyType", + "short": "Overall pattern of medication administration", + "definition": "The description of the overall patte3rn of the administration of the medication to the patient.", + "comment": "This attribute should not be confused with the protocol of the medication.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.courseOfTherapyType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestCourseOfTherapy" + } + ], + "strength": "example", + "description": "Identifies the overall pattern of medication administratio.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy" + }, + "mapping": [ + { + "identity": "rim", + "map": "Act.code where classCode = LIST and moodCode = EVN" + } + ] + }, + { + "id": "MedicationRequest.insurance", + "path": "MedicationRequest.insurance", + "short": "Associated insurance coverage", + "definition": "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.insurance", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Coverage", + "http://hl7.org/fhir/StructureDefinition/ClaimResponse" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.insurance" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COVBY].target" + } + ] + }, + { + "id": "MedicationRequest.note", + "path": "MedicationRequest.note", + "short": "Information about the prescription", + "definition": "Extra information about the prescription that could not be conveyed by the other attributes.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.note" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Note" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "short": "How the medication should be taken", + "definition": "Indicates how the medication is to be used by the patient.", + "comment": "There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose. For example, \"Ondansetron 8mg orally or IV twice a day as needed for nausea\" or \"Compazine® (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting\". In these cases, two medication requests would be created that could be grouped together. The decision on which dose and route of administration to use is based on the patient's condition at the time the dose is needed.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.dosageInstruction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Dosage" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "rim", + "map": "see dosageInstruction mapping" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.id", + "path": "MedicationRequest.dosageInstruction.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.extension", + "path": "MedicationRequest.dosageInstruction.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.modifierExtension", + "path": "MedicationRequest.dosageInstruction.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.sequence", + "path": "MedicationRequest.dosageInstruction.sequence", + "short": "The order of the dosage instructions", + "definition": "Indicates the order in which the dosage instructions should be applied or interpreted.", + "requirements": "If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.sequence", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-1" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.text", + "path": "MedicationRequest.dosageInstruction.text", + "short": "Free text dosage instructions e.g. SIG", + "definition": "Free text dosage instructions e.g. SIG.", + "requirements": "Free text dosage instructions can be used for cases where the instructions are too complex to code. The content of this attribute does not include the name or description of the medication. When coded instructions are present, the free text instructions may still be present for display to humans taking or administering the medication. It is expected that the text instructions will always be populated. If the dosage.timing attribute is also populated, then the dosage.text should reflect the same information as the timing. Additional information about administration or preparation of the medication should be included as text.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-6; RXE-21" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.additionalInstruction", + "path": "MedicationRequest.dosageInstruction.additionalInstruction", + "short": "Supplemental instruction or warnings to the patient - e.g. \"with meals\", \"may cause drowsiness\"", + "definition": "Supplemental instructions to the patient on how to take the medication (e.g. \"with meals\" or\"take half to one hour before food\") or warnings for the patient about the medication (e.g. \"may cause drowsiness\" or \"avoid exposure of skin to direct sunlight or sunlamps\").", + "comment": "Information about administration or preparation of the medication (e.g. \"infuse as rapidly as possibly via intraperitoneal port\" or \"immediately following drug x\") should be populated in dosage.text.", + "requirements": "Additional instruction is intended to be coded, but where no code exists, the element could include text. For example, \"Swallow with plenty of water\" which might or might not be coded.", + "min": 0, + "max": "*", + "base": { + "path": "Dosage.additionalInstruction", + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdditionalInstruction" + } + ], + "strength": "example", + "description": "A coded concept identifying additional instructions such as \"take with water\" or \"avoid operating heavy machinery\".", + "valueSet": "http://hl7.org/fhir/ValueSet/additional-instruction-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXO-7" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.patientInstruction", + "path": "MedicationRequest.dosageInstruction.patientInstruction", + "short": "Patient or consumer oriented instructions", + "definition": "Instructions in terms that are understood by the patient or consumer.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.patientInstruction", + "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": "RXO-7" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.timing", + "path": "MedicationRequest.dosageInstruction.timing", + "short": "When medication should be administered", + "definition": "When medication should be administered.", + "comment": "This attribute might not always be populated while the Dosage.text is expected to be populated. If both are populated, then the Dosage.text should reflect the content of the Dosage.timing.", + "requirements": "The timing schedule for giving the medication to the patient. This data type allows many different expressions. For example: \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\". Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.timing", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Timing" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": ".effectiveTime" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.asNeeded[x]", + "path": "MedicationRequest.dosageInstruction.asNeeded[x]", + "short": "Take \"as needed\" (for x)", + "definition": "Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).", + "comment": "Can express \"as needed\" without a reason by setting the Boolean = True. In this case the CodeableConcept is not populated. Or you can express \"as needed\" with a reason by including the CodeableConcept. In this case the Boolean is assumed to be True. If you set the Boolean to False, then the dose is given according to the schedule and is not \"prn\" or \"as needed\".", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.asNeeded[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAsNeededReason" + } + ], + "strength": "example", + "description": "A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example \"pain\", \"30 minutes prior to sexual intercourse\", \"on flare-up\" etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-as-needed-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-9" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=PRCN].target[classCode=OBS, moodCode=EVN, code=\"as needed\"].value=boolean or codable concept" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.site", + "path": "MedicationRequest.dosageInstruction.site", + "short": "Body site to administer to", + "definition": "Body site to administer to.", + "comment": "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.", + "requirements": "A coded specification of the anatomic site where the medication first enters the body.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAdministrationSite" + } + ], + "strength": "example", + "description": "A coded concept describing the site location the medicine enters into or onto the body.", + "valueSet": "http://hl7.org/fhir/ValueSet/approach-site-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-2" + }, + { + "identity": "rim", + "map": ".approachSiteCode" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.route", + "path": "MedicationRequest.dosageInstruction.route", + "short": "How drug should enter body", + "definition": "How drug should enter body.", + "requirements": "A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "RouteOfAdministration" + } + ], + "strength": "example", + "description": "A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.", + "valueSet": "http://hl7.org/fhir/ValueSet/route-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-1" + }, + { + "identity": "rim", + "map": ".routeCode" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.method", + "path": "MedicationRequest.dosageInstruction.method", + "short": "Technique for administering medication", + "definition": "Technique for administering medication.", + "comment": "Terminologies used often pre-coordinate this term with the route and or form of administration.", + "requirements": "A coded value indicating the method by which the medication is introduced into or onto the body. Most commonly used for injections. For examples, Slow Push; Deep IV.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.method", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationAdministrationMethod" + } + ], + "strength": "example", + "description": "A coded concept describing the technique by which the medicine is administered.", + "valueSet": "http://hl7.org/fhir/ValueSet/administration-method-codes" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-4" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate", + "path": "MedicationRequest.dosageInstruction.doseAndRate", + "short": "Amount of medication administered", + "definition": "The amount of medication administered.", + "min": 0, + "max": "*", + "base": { + "path": "Dosage.doseAndRate", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Element" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "TQ1-2" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.id", + "path": "MedicationRequest.dosageInstruction.doseAndRate.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.extension", + "path": "MedicationRequest.dosageInstruction.doseAndRate.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.type", + "path": "MedicationRequest.dosageInstruction.doseAndRate.type", + "short": "The kind of dose or rate specified", + "definition": "The kind of dose or rate specified, for example, ordered or calculated.", + "requirements": "If the type is not populated, assume to be \"ordered\".", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "DoseAndRateType" + } + ], + "strength": "example", + "description": "The kind of dose or rate specified.", + "valueSet": "http://hl7.org/fhir/ValueSet/dose-rate-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "RXO-21; RXE-23" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", + "short": "Amount of medication per dose", + "definition": "Amount of medication per dose.", + "comment": "Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.", + "requirements": "The amount of therapeutic or other substance given at one administration event.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.dose[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Range" + }, + { + "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": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-2, RXE-3" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]", + "short": "Amount of medication per unit of time", + "definition": "Amount of medication per unit of time.", + "comment": "It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.\r\rIt is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity. The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator. Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour.", + "requirements": "Identifies the speed with which the medication was or will be introduced into the patient. Typically the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr. May also be expressed as a rate per unit of time e.g. 500 ml per 2 hours. Other examples: 200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours. Sometimes, a rate can imply duration when expressed as total volume / duration (e.g. 500mL/2 hours implies a duration of 2 hours). However, when rate doesn't imply duration (e.g. 250mL/hour), then the timing.repeat.duration is needed to convey the infuse over time period.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.doseAndRate.rate[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + }, + { + "code": "Range" + }, + { + "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": true, + "mapping": [ + { + "identity": "v2", + "map": "RXE22, RXE23, RXE-24" + }, + { + "identity": "rim", + "map": ".rateQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerPeriod", + "path": "MedicationRequest.dosageInstruction.maxDosePerPeriod", + "short": "Upper limit on medication per unit of time", + "definition": "Upper limit on medication per unit of time.", + "comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example \"2 tablets every 4 hours to a maximum of 8/day\".", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject over the period of time. For example, 1000mg in 24 hours.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerPeriod", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "RXO-23, RXE-19" + }, + { + "identity": "rim", + "map": ".maxDoseQuantity" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerAdministration", + "path": "MedicationRequest.dosageInstruction.maxDosePerAdministration", + "short": "Upper limit on medication per administration", + "definition": "Upper limit on medication per administration.", + "comment": "This is intended for use as an adjunct to the dosage when there is an upper cap. For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg.", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered to a subject per administration.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerAdministration", + "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": true, + "mapping": [ + { + "identity": "rim", + "map": "not supported" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction.maxDosePerLifetime", + "path": "MedicationRequest.dosageInstruction.maxDosePerLifetime", + "short": "Upper limit on medication per lifetime of the patient", + "definition": "Upper limit on medication per lifetime of the patient.", + "requirements": "The maximum total quantity of a therapeutic substance that may be administered per lifetime of the subject.", + "min": 0, + "max": "1", + "base": { + "path": "Dosage.maxDosePerLifetime", + "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": true, + "mapping": [ + { + "identity": "rim", + "map": "not supported" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest", + "path": "MedicationRequest.dispenseRequest", + "short": "Medication supply authorization", + "definition": "Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order). Note that this information is not always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate" + }, + { + "identity": "rim", + "map": "component.supplyEvent" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.id", + "path": "MedicationRequest.dispenseRequest.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.extension", + "path": "MedicationRequest.dispenseRequest.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.modifierExtension", + "path": "MedicationRequest.dispenseRequest.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill", + "path": "MedicationRequest.dispenseRequest.initialFill", + "short": "First fill details", + "definition": "Indicates the quantity or duration for the first dispense of the medication.", + "comment": "If populating this element, either the quantity or the duration must be included.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration -> ActRelationship[sequenceNumber = '1'] -> Supply" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.id", + "path": "MedicationRequest.dispenseRequest.initialFill.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.extension", + "path": "MedicationRequest.dispenseRequest.initialFill.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.modifierExtension", + "path": "MedicationRequest.dispenseRequest.initialFill.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.quantity", + "path": "MedicationRequest.dispenseRequest.initialFill.quantity", + "short": "First fill quantity", + "definition": "The amount or quantity to provide as part of the first dispense.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.quantity[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.initialFill.duration", + "path": "MedicationRequest.dispenseRequest.initialFill.duration", + "short": "First fill duration", + "definition": "The length of time that the first dispense is expected to last.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.initialFill.duration", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.effectivetime[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.dispenseInterval", + "path": "MedicationRequest.dispenseRequest.dispenseInterval", + "short": "Minimum period of time between dispenses", + "definition": "The minimum period of time that must occur between dispenses of the medication.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.dispenseInterval", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Supply.effectivetime[moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.validityPeriod", + "path": "MedicationRequest.dispenseRequest.validityPeriod", + "short": "Time period supply is authorized for", + "definition": "This indicates the validity period of a prescription (stale dating the Prescription).", + "comment": "It reflects the prescribers' perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations.", + "requirements": "Indicates when the Prescription becomes valid, and when it ceases to be a dispensable Prescription.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.validityPeriod", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Refills" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "short": "Number of refills authorized", + "definition": "An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus \"3 repeats\", then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets. A prescriber may explicitly say that zero refills are permitted after the initial dispense.", + "comment": "If displaying \"number of authorized fills\", add 1 to this number.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Quantity" + }, + { + "identity": "v2", + "map": "RXE-12-Number of Refills" + }, + { + "identity": "rim", + "map": "repeatNumber" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.quantity", + "path": "MedicationRequest.dispenseRequest.quantity", + "short": "Amount of medication to supply per dispense", + "definition": "The amount that is to be dispensed for one fill.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.quantity", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/DaysSupply" + }, + { + "identity": "v2", + "map": "RXD-4-Actual Dispense Amount / RXD-5.1-Actual Dispense Units.code / RXD-5.3-Actual Dispense Units.name of coding system" + }, + { + "identity": "rim", + "map": "quantity" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "short": "Number of days supply per dispense", + "definition": "Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last.", + "comment": "In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage). When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Duration" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "expectedUseTime" + } + ] + }, + { + "id": "MedicationRequest.dispenseRequest.performer", + "path": "MedicationRequest.dispenseRequest.performer", + "short": "Intended dispenser", + "definition": "Indicates the intended dispensing Organization specified by the prescriber.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.dispenseRequest.performer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=SPLY, moodCode=RQO] .participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "MedicationRequest.substitution", + "path": "MedicationRequest.substitution", + "short": "Any restrictions on medication substitution", + "definition": "Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.substitution", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "subjectOf.substitutionPersmission" + } + ] + }, + { + "id": "MedicationRequest.substitution.id", + "path": "MedicationRequest.substitution.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.substitution.extension", + "path": "MedicationRequest.substitution.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest.substitution.modifierExtension", + "path": "MedicationRequest.substitution.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest.substitution.allowed[x]", + "path": "MedicationRequest.substitution.allowed[x]", + "short": "Whether substitution is allowed or not", + "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.", + "comment": "This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.substitution.allowed[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationRequestSubstitution" + } + ], + "strength": "example", + "description": "Identifies the type of substitution allowed.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "v2", + "map": "RXO-9-Allow Substitutions / RXE-9-Substitution Status" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "MedicationRequest.substitution.reason", + "path": "MedicationRequest.substitution.reason", + "short": "Why should (not) substitution be made", + "definition": "Indicates the reason for the substitution, or why substitution must or must not be performed.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.substitution.reason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MedicationIntendedSubstitutionReason" + } + ], + "strength": "example", + "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason" + }, + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "v2", + "map": "RXE-9 Substition status" + }, + { + "identity": "rim", + "map": "reasonCode" + } + ] + }, + { + "id": "MedicationRequest.priorPrescription", + "path": "MedicationRequest.priorPrescription", + "short": "An order/prescription that is being replaced", + "definition": "A link to a resource representing an earlier order related order or prescription.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.priorPrescription", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.replaces" + }, + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest.detectedIssue", + "path": "MedicationRequest.detectedIssue", + "short": "Clinical Issue with action", + "definition": "Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.", + "comment": "This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue.", + "alias": [ + "Contraindication", + "Drug Utilization Review (DUR)", + "Alert" + ], + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.detectedIssue", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DetectedIssue" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=ALRT,moodCode=EVN].value" + } + ] + }, + { + "id": "MedicationRequest.eventHistory", + "path": "MedicationRequest.eventHistory", + "short": "A list of events of interest in the lifecycle", + "definition": "Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.", + "comment": "This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.eventHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Provenance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.relevantHistory" + }, + { + "identity": "rim", + "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationRequest", + "path": "MedicationRequest", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder" + } + ] + }, + { + "id": "MedicationRequest.status", + "path": "MedicationRequest.status", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.intent", + "path": "MedicationRequest.intent", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "The kind of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.category", + "path": "MedicationRequest.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "mustSupport": true + }, + { + "id": "MedicationRequest.category:us-core", + "path": "MedicationRequest.category", + "sliceName": "us-core", + "mustSupport": true, + "binding": { + "strength": "required", + "description": "The type of medication order.", + "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-category" + } + }, + { + "id": "MedicationRequest.reported[x]", + "path": "MedicationRequest.reported[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "boolean" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.status" + } + ] + }, + { + "id": "MedicationRequest.medication[x]", + "path": "MedicationRequest.medication[x]", + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.medication[x]" + } + ] + }, + { + "id": "MedicationRequest.subject", + "path": "MedicationRequest.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.patient" + } + ] + }, + { + "id": "MedicationRequest.encounter", + "path": "MedicationRequest.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "MedicationRequest.authoredOn", + "path": "MedicationRequest.authoredOn", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.dateWritten" + } + ] + }, + { + "id": "MedicationRequest.requester", + "path": "MedicationRequest.requester", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "MedicationOrder.prescriber" + } + ] + }, + { + "id": "MedicationRequest.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "mustSupport": true + }, + { + "id": "MedicationRequest.dosageInstruction.text", + "path": "MedicationRequest.dosageInstruction.text", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-clinical-test.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-clinical-test.json new file mode 100644 index 00000000000..b255a47e0a2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-clinical-test.json @@ -0,0 +1,3030 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-clinical-test", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test", + "version": "5.0.0", + "name": "USCoreObservationClinicalTestResultProfile", + "title": "US Core Observation Clinical Test Result Profile", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Observation Clinical Test Result Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Report and Note exchange, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Clinical Tests’ requirements. Clinical tests includes non-imaging and non-laboratory tests performed on a patient that results in structured or unstructured (narrative) findings specific to the patient, such as electrocardiogram (ECG), visual acuity exam, macular exam, or graded exercise testing (GXT), to facilitate the diagnosis and management of conditions. The US Core Observation Clinical Test Result Profile profile sets minimum expectations for the Observation resource to record, search, and fetch clinical tests for a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationStatus" + } + ], + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:clinical-test", + "path": "Observation.category", + "sliceName": "clinical-test", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category", + "code": "clinical-test" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Clinical Test Name", + "definition": "The name of the non-imaging or non-laboratory test performed on a patient. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-test-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-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": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "us-core-2", + "us-core-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "us-core-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "Observation.category:clinical-test", + "path": "Observation.category", + "sliceName": "clinical-test", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category", + "code": "clinical-test" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Clinical Test Name", + "definition": "The name of the non-imaging or non-laboratory test performed on a patient. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-test-codes" + } + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-2", + "us-core-3" + ], + "constraint": [ + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "condition": [ + "us-core-2" + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-imaging.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-imaging.json new file mode 100644 index 00000000000..62b8e19b67f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-imaging.json @@ -0,0 +1,3030 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-imaging", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging", + "version": "5.0.0", + "name": "USCoreObservationImagingResultProfile", + "title": "US Core Observation Imaging Result Profile", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Observation Imaging Result Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Report and Note exchange, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Diagnostic Imaging’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch retrieve structured and unstructured (narrative) components of diagnostic imaging test results for a patient. These observations include reasons, findings, and impressions. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationStatus" + } + ], + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:imaging", + "path": "Observation.category", + "sliceName": "imaging", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "imaging" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Imaging Name", + "definition": "The name of the imaging test performed on a patient. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-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": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "us-core-2", + "us-core-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "us-core-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "Observation.category:imaging", + "path": "Observation.category", + "sliceName": "imaging", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "imaging" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Imaging Name", + "definition": "The name of the imaging test performed on a patient. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes" + } + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-2", + "us-core-3" + ], + "constraint": [ + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "condition": [ + "us-core-2" + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-lab.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-lab.json new file mode 100644 index 00000000000..ff63c7dc888 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-lab.json @@ -0,0 +1,3153 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-lab", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", + "version": "5.0.0", + "name": "USCoreLaboratoryResultObservationProfile", + "title": "US Core Laboratory Result Observation Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Laboratory Result Observation Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Laboratory’ requirements. Laboratory results are grouped and summarized using the DiagnosticReport resource which reference Observation resources. Each Observation resource represents an individual laboratory test and result value, a “nested” panel (such as a microbial susceptibility panel) which references other observations, or rarely a laboratory test with component result values. The US Core Laboratory Result Observation Profile sets minimum expectations for the Observation resource resource to record, search, and fetch laboratory test results associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.category:Laboratory", + "path": "Observation.category", + "sliceName": "Laboratory", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Laboratory Test Name", + "definition": "The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name", + "Test Name", + "Observation Identifer" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-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": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.effective[x]" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults) if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "us-core-2", + "us-core-3", + "us-core-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" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-4", + "severity": "warning", + "human": "SHOULD use Snomed CT for coded Results", + "expression": "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'", + "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.value[x]" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "us-core-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": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.dataAbsentReason" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.category:Laboratory", + "path": "Observation.category", + "sliceName": "Laboratory", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory" + } + ] + }, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.category" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Laboratory Test Name", + "definition": "The test that was performed. A LOINC **SHALL** be used if the concept is present in LOINC.", + "comment": "The typical patterns for codes are: 1) a LOINC code either as a translation from a \"local\" code or as a primary code, or 2) a local code only if no suitable LOINC exists, or 3) both the local and the LOINC translation. Systems SHALL be capable of sending the local code if one exists. When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.", + "alias": [ + "Test Name", + "Observation Identifer" + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "definition": "For lab tests this is the specimen collection date. For Ask at Order Entry Questions (AOE)'s this is the date the question was asked.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.effective[x]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Result Value", + "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults) if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "us-core-2", + "us-core-3", + "us-core-4" + ], + "constraint": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "us-core-4", + "severity": "warning", + "human": "SHOULD use Snomed CT for coded Results", + "expression": "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'", + "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.value[x]" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "condition": [ + "us-core-2" + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.dataAbsentReason" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-sdoh-assessment.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-sdoh-assessment.json new file mode 100644 index 00000000000..23e4d661902 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-sdoh-assessment.json @@ -0,0 +1,3067 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-sdoh-assessment", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment", + "version": "5.0.0", + "name": "USCoreObservationSDOHAssessment", + "title": "US Core Observation SDOH Assessment Profile", + "status": "active", + "date": "2022-03-18", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Observation SDOH Assessment Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'SDOH Assessments' requirements. This profile is based on the US Core Observation Survey Profile and sets minimum expectations for representing responses to assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*. It can be used to represent individual responses, panels of multi-question surveys, and multi-select responses to “check all that apply” questions. It identifies the *additional* core elements, extensions, vocabularies and value sets which SHALL be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "SDOH Assessment Panel Observation", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)", + "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']", + "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationStatus" + } + ], + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "To identify that observation is derived from a questionnaire.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:survey", + "path": "Observation.category", + "sliceName": "survey", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what that this is an observation derived from a survey/questionnaire.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "survey" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:sdoh", + "path": "Observation.category", + "sliceName": "sdoh", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what that this is an observation derived from an SDOH assessment.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "code": "sdoh" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "preferred", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-common-sdoh-assessments" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\".", + "comment": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-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": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)", + "source": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "comment": "Some questions on questionnaires are not answered directly (e.g., asserted) by the individual completing the questionnaire, but are derived from answers to one or more other questions. For types of answers, `Observation.performer` should not be specified and `Observation.derivedFrom` should reference the relevant Screening Response Observation(s).", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have a value if it represents an individual survey question and answer pair. An observation should not have a value if it represents a multi-question survey or multi-select “check all that apply” question. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "us-core-2", + "us-core-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For a given LOINC question, if the LOINC answer list includes concepts such as 'unknown' or 'not available', they should be used for Observation.value. Where these concepts are not part of the value set for Observation.value, the Observation.dataAbsentReason can be used if necessary and appropriate.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "us-core-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Individual Observations that belong to an SDOH multi-question sruvey or multi-select question.", + "definition": "Aggregate set of Observations that represent question answer pairs for both multi-question surveys and multi-select questions.", + "comment": "This grouping element is used to represent surveys that group several questions together or individual questions with “check all that apply” responses. For example in the simplest case a flat multi-question survey where the \"panel\" observation is the survey instrument itself and instead of an `Observation.value` the `hasMember` element references other Observation that represent the individual questions answer pairs. In a survey that has a heirarchical grouping of questions, the observation \"panels\" can be nested. Because surveys can be arbitrarily complex structurally, not all survey structures can be represented using this Observation grouping pattern.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related Observations or QuestionnaireResponses that the observation is made from", + "definition": "Observations or QuestionnaireResponses from which this observation value is derived.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "SDOH Assessment Panel Observation", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.category:sdoh", + "path": "Observation.category", + "sliceName": "sdoh", + "requirements": "Used for filtering what that this is an observation derived from an SDOH assessment.", + "min": 0, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "code": "sdoh" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "binding": { + "strength": "preferred", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-common-sdoh-assessments" + } + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Individual Observations that belong to an SDOH multi-question sruvey or multi-select question.", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + } + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-sexual-orientation.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-sexual-orientation.json new file mode 100644 index 00000000000..5f3dd1a8256 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-sexual-orientation.json @@ -0,0 +1,2924 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-sexual-orientation", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation", + "version": "5.0.0", + "name": "USCoreObservationSexualOrientationProfile", + "title": "US Core Observation Sexual Orientation Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Observation Sexual Orientation Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'Sexual Orientation' requirements. this profile sets minimum expectations for the Observation resource to record, search, and fetch sexual orientation observations associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Sexual Orientation", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "76690-7" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-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": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.effective[x]" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueCodeableConcept", + "path": "Observation.value[x]", + "sliceName": "valueCodeableConcept", + "short": "Sexual Orientation", + "definition": "The Sexual Orientation value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "description": "Concepts to support who Patient is attracted to", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-sexual-orientation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Sexual Orientation", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "76690-7" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "definition": "This records the time during which the patient had identified their emotional, romantic, sexual, or affectional attraction to another person.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.effective[x]" + } + ] + }, + { + "id": "Observation.valueCodeableConcept", + "path": "Observation.valueCodeableConcept", + "short": "Sexual Orientation", + "definition": "The Sexual Orientation value.", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Concepts to support who Patient is attracted to", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-sexual-orientation" + } + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-social-history.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-social-history.json new file mode 100644 index 00000000000..3e26d9c9a0a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-social-history.json @@ -0,0 +1,3189 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-social-history", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history", + "version": "5.0.0", + "name": "USCoreObservationSocialHistoryProfile", + "title": "US Core Observation Social History Profile", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Observation Social History Profile meets the U.S. Core Data for Interoperability (USCDI) v2 ‘SDOH Assessments’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch retrieve observations that represent simple observations made by an individual about a patient's social history status such as education, food insecurity, etc. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "assessment observation", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationStatus" + } + ], + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:us-core/social-history", + "path": "Observation.category", + "sliceName": "us-core/social-history", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering that this is a social history observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:sdoh", + "path": "Observation.category", + "sliceName": "sdoh", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "code": "sdoh" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "preferred", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\".", + "comment": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-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": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "assessment observation", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "Observation.category:us-core/social-history", + "path": "Observation.category", + "sliceName": "us-core/social-history", + "requirements": "Used for filtering that this is a social history observation.", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.category:sdoh", + "path": "Observation.category", + "sliceName": "sdoh", + "min": 0, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "code": "sdoh" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "mustSupport": true, + "binding": { + "strength": "preferred" + } + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\".", + "comment": "At least a date should be present unless this observation is a historical report.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-survey.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-survey.json new file mode 100644 index 00000000000..cf4bfeb1230 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-observation-survey.json @@ -0,0 +1,3343 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observation-survey", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "version": "5.0.0", + "name": "USCoreObservationSurveyProfile", + "title": "US Core Observation Survey Profile", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, the US Core Observation Survey Profile sets minimum expectations for the Observation Resource to record, search, and fetch retrieve observations that represent the questions and responses to form/survey and assessment tools. It can be used to represent individual responses, panels of multi-question surveys, and multi-select responses to “check all that apply” questions. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Survey Observation", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationStatus" + } + ], + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "To identify that observation is derived from a questionnaire.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:survey", + "path": "Observation.category", + "sliceName": "survey", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what that this is an observation derived from a survey/questionnaire.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "survey" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "preferred", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-survey-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\".", + "comment": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-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": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "comment": "Some questions on questionnaires are not answered directly (e.g., asserted) by the individual completing the questionnaire, but are derived from answers to one or more other questions. For types of answers, `Observation.performer` should not be specified and `Observation.derivedFrom` should reference the relevant Screening Response Observation(s).", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have a value if it represents an individual survey question and answer pair. An observation should not have a value if it represents a multi-question survey or multi-select “check all that apply” question. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "us-core-2", + "us-core-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For a given LOINC question, if the LOINC answer list includes concepts such as 'unknown' or 'not available', they should be used for Observation.value. Where these concepts are not part of the value set for Observation.value, the Observation.dataAbsentReason can be used if necessary and appropriate.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "us-core-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Reference to panel or multi-select responses", + "definition": "Aggregate set of Observations that represent question answer pairs for both multi-question surveys and multi-select questions.", + "comment": "This grouping element is used to represent surveys that group several questions together or individual questions with “check all that apply” responses. For example in the simplest case a flat multi-question survey where the \"panel\" observation is the survey instrument itself and instead of an `Observation.value` the `hasMember` element references other Observation that represent the individual questions answer pairs. In a survey that has a heirarchical grouping of questions, the observation \"panels\" can be nested. Because surveys can be arbitrarily complex structurally, not all survey structures can be represented using this Observation grouping pattern.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related Observations or QuestionnaireResponses that the observation is made from", + "definition": "Observations or QuestionnaireResponses from which this observation value is derived.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Survey Observation", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "exists(f:component) or exists(f:hasMember) or exists(f:*[starts-with(local-name(.), 'value')]) or exists(f:dataAbsentReason)" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "SHALL use UCUM for coded quantity units.", + "expression": "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'", + "xpath": "not(exists(f:valueQuantity/f:system) ) or f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" + } + ] + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "requirements": "To identify that observation is derived from a questionnaire.", + "min": 1, + "mustSupport": true + }, + { + "id": "Observation.category:survey", + "path": "Observation.category", + "sliceName": "survey", + "requirements": "Used for filtering what that this is an observation derived from a survey/questionnaire.", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "survey" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "mustSupport": true, + "binding": { + "strength": "preferred", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-survey-codes" + } + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\".", + "comment": "At least a date should be present unless this observation is a historical report.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + }, + { + "code": "instant" + } + ], + "condition": [ + "us-core-1" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "$this is DateTime implies $this.toString().length() >= 10", + "xpath": "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" + } + ], + "mustSupport": true + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "comment": "Some questions on questionnaires are not answered directly (e.g., asserted) by the individual completing the questionnaire, but are derived from answers to one or more other questions. For types of answers, `Observation.performer` should not be specified and `Observation.derivedFrom` should reference the relevant Screening Response Observation(s).", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "comment": "An observation may have a value if it represents an individual survey question and answer pair. An observation should not have a value if it represents a multi-question survey or multi-select “check all that apply” question. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "CodeableConcept" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "meaningWhenMissing": "For questions represented in LOINC that allow one answer, If the LOINC Normative Answer List for a LOINC code offers an adequate code for why an Observation.value may not be known, it should be used as the value for Observation.value. However, If the LOINC Normative Answer List for a LOINC code does not offer an adequate code for why an Observation.value may not be known, Observation.dataAbsentReason should be used in lieu of Observation.value.", + "condition": [ + "us-core-2", + "us-core-3" + ], + "mustSupport": true + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For a given LOINC question, if the LOINC answer list includes concepts such as 'unknown' or 'not available', they should be used for Observation.value. Where these concepts are not part of the value set for Observation.value, the Observation.dataAbsentReason can be used if necessary and appropriate.", + "condition": [ + "us-core-2" + ], + "mustSupport": true + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Reference to panel or multi-select responses", + "definition": "Aggregate set of Observations that represent question answer pairs for both multi-question surveys and multi-select questions.", + "comment": "This grouping element is used to represent surveys that group several questions together or individual questions with “check all that apply” responses. For example in the simplest case a flat multi-question survey where the \"panel\" observation is the survey instrument itself and instead of an `Observation.value` the `hasMember` element references other Observation that represent the individual questions answer pairs. In a survey that has a heirarchical grouping of questions, the observation \"panels\" can be nested. Because surveys can be arbitrarily complex structurally, not all survey structures can be represented using this Observation grouping pattern.", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related Observations or QuestionnaireResponses that the observation is made from", + "definition": "Observations or QuestionnaireResponses from which this observation value is derived.", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-organization.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-organization.json new file mode 100644 index 00000000000..78cd704143a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-organization.json @@ -0,0 +1,2982 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-organization", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "version": "5.0.0", + "name": "USCoreOrganizationProfile", + "title": "US Core Organization Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the Organization resource to searching for and fetching an Organization associated with a patient or provider to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Organization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Organization", + "path": "Organization", + "short": "A grouping of people or organizations with a common purpose", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "Organization", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "org-1", + "severity": "error", + "human": "The organization SHALL at least have a name or an identifier, and possibly more than one", + "expression": "(identifier.count() + name.count()) > 0", + "xpath": "count(f:identifier | f:name) > 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "(also see master files messages)" + }, + { + "identity": "rim", + "map": "Organization(classCode=ORG, determinerCode=INST)" + }, + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Organization.id", + "path": "Organization.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Organization.meta", + "path": "Organization.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Organization.implicitRules", + "path": "Organization.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Organization.language", + "path": "Organization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Organization.text", + "path": "Organization.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Organization.contained", + "path": "Organization.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.extension", + "path": "Organization.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.modifierExtension", + "path": "Organization.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.identifier", + "path": "Organization.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Identifies this organization across multiple systems", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "comment": "NPI preferred.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Organization.identifier.id", + "path": "Organization.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.identifier.extension", + "path": "Organization.identifier.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": "Organization.identifier.use", + "path": "Organization.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Organization.identifier.type", + "path": "Organization.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Organization.identifier.system", + "path": "Organization.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/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": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Organization.identifier.value", + "path": "Organization.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Organization.identifier.period", + "path": "Organization.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Organization.identifier.assigner", + "path": "Organization.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Organization.identifier:NPI", + "path": "Organization.identifier", + "sliceName": "NPI", + "short": "National Provider Identifier (NPI)", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Organization.identifier:CLIA", + "path": "Organization.identifier", + "sliceName": "CLIA", + "short": "Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories", + "definition": "Identifier for the organization that is used to identify the organization across multiple disparate systems.", + "requirements": "Organizations are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "urn:oid:2.16.840.1.113883.4.7" + }, + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Organization.active", + "path": "Organization.active", + "short": "Whether the organization's record is still in active use", + "definition": "Whether the organization's record is still in active use.", + "comment": "This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.\n\nThis element is labeled as a modifier because it may be used to mark that the resource was created in error.", + "requirements": "Need a flag to indicate a record is no longer to be used and should generally be hidden for the user in the UI.", + "min": 1, + "max": "1", + "base": { + "path": "Organization.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "No equivalent in HL7 v2" + }, + { + "identity": "rim", + "map": ".status" + }, + { + "identity": "servd", + "map": "./Status (however this concept in ServD more covers why the organization is active or not, could be delisted, deregistered, not operational yet) this could alternatively be derived from ./StartDate and ./EndDate and given a context date." + } + ] + }, + { + "id": "Organization.type", + "path": "Organization.type", + "short": "Kind of organization", + "definition": "The kind(s) of organization that this is.", + "comment": "Organizations can be corporations, wards, sections, clinical teams, government departments, etc. Note that code is generally a classifier of the type of organization; in many applications, codes are used to identity a particular organization (say, ward) as opposed to another of the same type - these are identifiers, not codes\n\nWhen considering if multiple types are appropriate, you should evaluate if child organizations would be a more appropriate use of the concept, as different types likely are in different sub-areas of the organization. This is most likely to be used where type values have orthogonal values, such as a religious, academic and medical center.\n\nWe expect that some jurisdictions will profile this optionality to be a single cardinality.", + "requirements": "Need to be able to track the kind of organization that this is - different organization types have different uses.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.type", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "OrganizationType" + } + ], + "strength": "example", + "description": "Used to categorize the organization.", + "valueSet": "http://hl7.org/fhir/ValueSet/organization-type" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "No equivalent in v2" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.name", + "path": "Organization.name", + "short": "Name used for the organization", + "definition": "A name associated with the organization.", + "comment": "If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches.", + "requirements": "Need to use the name as the label of the organization.", + "min": 1, + "max": "1", + "base": { + "path": "Organization.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "org-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XON.1" + }, + { + "identity": "rim", + "map": ".name" + }, + { + "identity": "servd", + "map": ".PreferredName/Name" + } + ] + }, + { + "id": "Organization.alias", + "path": "Organization.alias", + "short": "A list of alternate names that the organization is known as, or was known as in the past", + "definition": "A list of alternate names that the organization is known as, or was known as in the past.", + "comment": "There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the organization.", + "requirements": "Over time locations and organizations go through many changes and can be known by different names.\n\nFor searching knowing previous names that the organization was known by can be very useful.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.alias", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Organization.telecom", + "path": "Organization.telecom", + "short": "A contact detail for the organization", + "definition": "A contact detail for the organization.", + "comment": "The use code 'home' is not to be used. Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself.", + "requirements": "Human contact for the organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "org-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "org-3", + "severity": "error", + "human": "The telecom of an organization can never be of use 'home'", + "expression": "where(use = 'home').empty()", + "xpath": "count(f:use[@value='home']) = 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ORC-22?" + }, + { + "identity": "rim", + "map": ".telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Organization.telecom.id", + "path": "Organization.telecom.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.telecom.extension", + "path": "Organization.telecom.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": "Organization.telecom.system", + "path": "Organization.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-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": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointSystem" + } + ], + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "Organization.telecom.value", + "path": "Organization.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Organization.telecom.use", + "path": "Organization.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointUse" + } + ], + "strength": "required", + "description": "Use of contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + } + ] + }, + { + "id": "Organization.telecom.rank", + "path": "Organization.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.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": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.telecom.period", + "path": "Organization.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Organization.address", + "path": "Organization.address", + "short": "An address for the organization", + "definition": "An address for the organization.", + "comment": "Organization may have multiple addresses with different uses or applicable periods. The use code 'home' is not to be used.", + "requirements": "May need to keep track of the organization's addresses for contacting, billing or reporting requirements.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "condition": [ + "org-2" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "org-2", + "severity": "error", + "human": "An address of an organization can never be of use 'home'", + "expression": "where(use = 'home').empty()", + "xpath": "count(f:use[@value='home']) = 0", + "source": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ORC-23?" + }, + { + "identity": "rim", + "map": ".address" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Organization.address.id", + "path": "Organization.address.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.address.extension", + "path": "Organization.address.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": "Organization.address.use", + "path": "Organization.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Organization.address.type", + "path": "Organization.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Organization.address.text", + "path": "Organization.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Organization.address.line", + "path": "Organization.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "4", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + } + ] + }, + { + "id": "Organization.address.city", + "path": "Organization.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Organization.address.district", + "path": "Organization.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Organization.address.state", + "path": "Organization.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "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, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + } + ] + }, + { + "id": "Organization.address.postalCode", + "path": "Organization.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Organization.address.country", + "path": "Organization.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Organization.address.period", + "path": "Organization.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-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": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Organization.partOf", + "path": "Organization.partOf", + "short": "The organization of which this organization forms a part", + "definition": "The organization of which this organization forms a part.", + "requirements": "Need to be able to track the hierarchy of organizations within an organization.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.partOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": true + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "No equivalent in HL7 v2" + }, + { + "identity": "rim", + "map": ".playedBy[classCode=Part].scoper" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact", + "path": "Organization.contact", + "short": "Contact for the organization for a certain purpose", + "definition": "Contact for the organization for a certain purpose.", + "comment": "Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use.", + "requirements": "Need to keep track of assigned contact points within bigger organization.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".contactParty" + } + ] + }, + { + "id": "Organization.contact.id", + "path": "Organization.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact.extension", + "path": "Organization.contact.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization.contact.modifierExtension", + "path": "Organization.contact.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization.contact.purpose", + "path": "Organization.contact.purpose", + "short": "The type of contact", + "definition": "Indicates a purpose for which the contact can be reached.", + "requirements": "Need to distinguish between multiple contact persons.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.purpose", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPartyType" + } + ], + "strength": "extensible", + "description": "The purpose for which you would contact a contact party.", + "valueSet": "http://hl7.org/fhir/ValueSet/contactentity-type" + }, + "mapping": [ + { + "identity": "rim", + "map": "./type" + } + ] + }, + { + "id": "Organization.contact.name", + "path": "Organization.contact.name", + "short": "A name associated with the contact", + "definition": "A name associated with the contact.", + "requirements": "Need to be able to track the person by name.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "./name" + } + ] + }, + { + "id": "Organization.contact.telecom", + "path": "Organization.contact.telecom", + "short": "Contact details (telephone, email, etc.) for a contact", + "definition": "A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.contact.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14" + }, + { + "identity": "rim", + "map": "./telecom" + } + ] + }, + { + "id": "Organization.contact.address", + "path": "Organization.contact.address", + "short": "Visiting or postal addresses for the contact", + "definition": "Visiting or postal addresses for the contact.", + "requirements": "May need to keep track of a contact party's address for contacting, billing or reporting requirements.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.contact.address", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "./addr" + } + ] + }, + { + "id": "Organization.endpoint", + "path": "Organization.endpoint", + "short": "Technical endpoints providing access to services operated for the organization", + "definition": "Technical endpoints providing access to services operated for the organization.", + "requirements": "Organizations have multiple systems that provide various services and need to be able to define the technical connection details for how to connect to them, and for what purpose.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Endpoint" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Organization", + "path": "Organization", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false + }, + { + "id": "Organization.identifier", + "path": "Organization.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "comment": "NPI preferred.", + "mustSupport": true + }, + { + "id": "Organization.identifier.system", + "path": "Organization.identifier.system", + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Organization.identifier.value", + "path": "Organization.identifier.value", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.identifier:NPI", + "path": "Organization.identifier", + "sliceName": "NPI", + "short": "National Provider Identifier (NPI)", + "max": "1", + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "mustSupport": true + }, + { + "id": "Organization.identifier:CLIA", + "path": "Organization.identifier", + "sliceName": "CLIA", + "short": "Clinical Laboratory Improvement Amendments (CLIA) Number for laboratories", + "max": "1", + "patternIdentifier": { + "system": "urn:oid:2.16.840.1.113883.4.7" + }, + "mustSupport": false + }, + { + "id": "Organization.active", + "path": "Organization.active", + "min": 1, + "mustSupport": true + }, + { + "id": "Organization.name", + "path": "Organization.name", + "min": 1, + "mustSupport": true + }, + { + "id": "Organization.telecom", + "path": "Organization.telecom", + "mustSupport": true + }, + { + "id": "Organization.telecom.system", + "path": "Organization.telecom.system", + "mustSupport": true + }, + { + "id": "Organization.telecom.value", + "path": "Organization.telecom.value", + "mustSupport": true + }, + { + "id": "Organization.address", + "path": "Organization.address", + "mustSupport": true + }, + { + "id": "Organization.address.line", + "path": "Organization.address.line", + "max": "4", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.city", + "path": "Organization.address.city", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.state", + "path": "Organization.address.state", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + } + }, + { + "id": "Organization.address.postalCode", + "path": "Organization.address.postalCode", + "short": "US Zip Codes", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Organization.address.country", + "path": "Organization.address.country", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-patient.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-patient.json new file mode 100644 index 00000000000..b3b83623fac --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-patient.json @@ -0,0 +1,4763 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-patient", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "version": "5.0.0", + "name": "USCorePatientProfile", + "title": "US Core Patient Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20T15:02:49-07:00", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Patient Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'Patient Demographics' requirements. This profile sets minimum expectations for the Patient resource to record, search, and fetch basic demographics and other administrative information about an individual patient. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "cda", + "uri": "http://hl7.org/v3/cda", + "name": "CDA (R2)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "loinc", + "uri": "http://loinc.org", + "name": "LOINC code for the element" + } + ], + "kind": "resource", + "abstract": false, + "type": "Patient", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Patient", + "path": "Patient", + "short": "Information about an individual or animal receiving health care services", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "SubjectOfCare Client Resident" + ], + "min": 0, + "max": "*", + "base": { + "path": "Patient", + "min": 0, + "max": "*" + }, + "constraint": [ + { + "key": "dom-2", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", + "expression": "contained.contained.empty()", + "xpath": "not(parent::f:contained and f:contained)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource", + "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()", + "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-4", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated", + "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "dom-5", + "severity": "error", + "human": "If a resource is contained in another resource, it SHALL NOT have a security label", + "expression": "contained.meta.security.empty()", + "xpath": "not(exists(f:contained/*/f:meta/f:security))", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation", + "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." + } + ], + "key": "dom-6", + "severity": "warning", + "human": "A resource should have narrative for robust management", + "expression": "text.`div`.exists()", + "xpath": "exists(f:text/h:div)", + "source": "http://hl7.org/fhir/StructureDefinition/DomainResource" + }, + { + "key": "us-core-6", + "severity": "error", + "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.", + "expression": "(name.family.exists() or name.given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", + "xpath": "(/f:name/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:name/f:family or /f:name/f:given)) or (not(/f:name/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:name/f:family or /f:name/f:given))" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Patient[classCode=PAT]" + }, + { + "identity": "cda", + "map": "ClinicalDocument.recordTarget.patientRole" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient" + } + ] + }, + { + "id": "Patient.id", + "path": "Patient.id", + "short": "Logical id of this artifact", + "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", + "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Patient.meta", + "path": "Patient.meta", + "short": "Metadata about the resource", + "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.meta", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Meta" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Patient.implicitRules", + "path": "Patient.implicitRules", + "short": "A set of rules under which this content was created", + "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", + "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation", + "isSummary": true + }, + { + "id": "Patient.language", + "path": "Patient.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", + "min": 0, + "max": "1", + "base": { + "path": "Resource.language", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Patient.text", + "path": "Patient.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", + "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Patient.contained", + "path": "Patient.contained", + "short": "Contained, inline Resources", + "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.", + "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.extension", + "path": "Patient.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "short": "US Core ethnicity Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "short": "Extension", + "definition": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc).", + "comment": "The codes required are intended to present birth sex (i.e., the sex recorded on the patient’s birth certificate) and not gender identity or reassigned sex.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:genderIdentity", + "path": "Patient.extension", + "sliceName": "genderIdentity", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.modifierExtension", + "path": "Patient.modifierExtension", + "short": "Extensions that cannot be ignored", + "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.identifier", + "path": "Patient.identifier", + "short": "An identifier for this patient", + "definition": "An identifier for this patient.", + "requirements": "Patients are almost always assigned specific numerical identifiers.", + "min": 1, + "max": "*", + "base": { + "path": "Patient.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": ".id" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier" + } + ] + }, + { + "id": "Patient.identifier.id", + "path": "Patient.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.identifier.extension", + "path": "Patient.identifier.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.identifier.use", + "path": "Patient.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Patient.identifier.type", + "path": "Patient.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Patient.identifier.system", + "path": "Patient.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/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": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.system" + } + ] + }, + { + "id": "Patient.identifier.value", + "path": "Patient.identifier.value", + "short": "The value that is unique within the system.", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.value" + } + ] + }, + { + "id": "Patient.identifier.period", + "path": "Patient.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Patient.identifier.assigner", + "path": "Patient.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Patient.active", + "path": "Patient.active", + "short": "Whether this patient's record is in active use", + "definition": "Whether this patient record is in active use. \nMany systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.\n\nIt is often used to filter patient lists to exclude inactive patients\n\nDeceased patients may also be marked as inactive for the same reasons, but may be active for some time after death.", + "comment": "If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient.", + "requirements": "Need to be able to mark a patient record as not to be used because it was created in error.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name", + "path": "Patient.name", + "short": "A name associated with the patient", + "definition": "A name associated with the individual.", + "comment": "A patient may have multiple names with different uses or applicable periods. For animals, the name is a \"HumanName\" in the sense that is assigned and used by humans and has the same patterns.", + "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.", + "min": 1, + "max": "*", + "base": { + "path": "Patient.name", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": ".patient.name" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name" + } + ] + }, + { + "id": "Patient.name.id", + "path": "Patient.name.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name.extension", + "path": "Patient.name.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.name.use", + "path": "Patient.name.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "NameUse" + } + ], + "strength": "required", + "description": "The use of a human name.", + "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XPN.7, but often indicated by which field contains the name" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./NamePurpose" + } + ] + }, + { + "id": "Patient.name.text", + "path": "Patient.name.text", + "short": "Text representation of the full name", + "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "Patient.name.family", + "path": "Patient.name.family", + "short": "Family name (often called 'Surname')", + "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.", + "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).", + "alias": [ + "surname" + ], + "min": 0, + "max": "1", + "base": { + "path": "HumanName.family", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "us-core-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.family" + } + ] + }, + { + "id": "Patient.name.given", + "path": "Patient.name.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.", + "alias": [ + "first name", + "middle name" + ], + "min": 0, + "max": "*", + "base": { + "path": "HumanName.given", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Given Names appear in the correct order for presenting the name", + "condition": [ + "us-core-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.given" + } + ] + }, + { + "id": "Patient.name.prefix", + "path": "Patient.name.prefix", + "short": "Parts that come before the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.prefix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Prefixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "Patient.name.suffix", + "path": "Patient.name.suffix", + "short": "Parts that come after the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.suffix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Suffixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.name.period", + "path": "Patient.name.period", + "short": "Time period when name was/is in use", + "definition": "Indicates the period of time when this name was valid for the named person.", + "requirements": "Allows names to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom", + "path": "Patient.telecom", + "short": "A contact detail for the individual", + "definition": "A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.", + "comment": "A Patient may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and also to help with identification. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14, PID-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": ".telecom" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.id", + "path": "Patient.telecom.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.extension", + "path": "Patient.telecom.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.system", + "path": "Patient.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-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": false, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.value", + "path": "Patient.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.use", + "path": "Patient.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.rank", + "path": "Patient.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.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": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.telecom.period", + "path": "Patient.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Patient.gender", + "path": "Patient.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.", + "comment": "The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.) However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice. Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a \"hard\" error. See the Patient Gender and Sex section for additional information about communicating patient gender and sex.", + "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-8" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "cda", + "map": ".patient.administrativeGenderCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.gender" + } + ] + }, + { + "id": "Patient.birthDate", + "path": "Patient.birthDate", + "short": "The date of birth for the individual", + "definition": "The date of birth for the individual.", + "comment": "At least an estimated year should be provided as a guess if the real DOB is unknown There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternity/infant care systems).", + "requirements": "Age of the individual drives many clinical processes.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.birthDate", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-7" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/birthTime" + }, + { + "identity": "cda", + "map": ".patient.birthTime" + }, + { + "identity": "loinc", + "map": "21112-8" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.deceased[x]", + "path": "Patient.deceased[x]", + "short": "Indicates if the individual is deceased or not", + "definition": "Indicates if the individual is deceased or not.", + "comment": "If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.", + "requirements": "The fact that a patient is deceased influences the clinical process. Also, in human communication and relation management it is necessary to know whether the person is alive.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.deceased[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.", + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-30 (bool) and PID-29 (datetime)" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/deceasedTime" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address", + "path": "Patient.address", + "short": "An address for the individual", + "definition": "An address for the individual.", + "comment": "Patient may have multiple addresses with different uses or applicable periods.", + "requirements": "May need to keep track of patient addresses for contacting, billing or reporting requirements and also to help with identification.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": ".addr" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address.id", + "path": "Patient.address.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address.extension", + "path": "Patient.address.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.address.use", + "path": "Patient.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Patient.address.type", + "path": "Patient.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Patient.address.text", + "path": "Patient.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Patient.address.line", + "path": "Patient.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "*", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.city", + "path": "Patient.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.district", + "path": "Patient.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Patient.address.state", + "path": "Patient.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "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, + "binding": { + "strength": "extensible", + "description": "Two Letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.postalCode", + "path": "Patient.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip", + "Zip Code" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.country", + "path": "Patient.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "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": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Patient.address.period", + "path": "Patient.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.maritalStatus", + "path": "Patient.maritalStatus", + "short": "Marital (civil) status of a patient", + "definition": "This field contains a patient's most recent marital (civil) status.", + "requirements": "Most, if not all systems capture it.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.maritalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "MaritalStatus" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "The domestic partnership status of a person.", + "valueSet": "http://hl7.org/fhir/ValueSet/marital-status" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-16" + }, + { + "identity": "rim", + "map": "player[classCode=PSN]/maritalStatusCode" + }, + { + "identity": "cda", + "map": ".patient.maritalStatusCode" + } + ] + }, + { + "id": "Patient.multipleBirth[x]", + "path": "Patient.multipleBirth[x]", + "short": "Whether patient is part of a multiple birth", + "definition": "Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer).", + "comment": "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated).", + "requirements": "For disambiguation of multiple-birth children, especially relevant where the care provider doesn't meet the patient, such as labs.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.multipleBirth[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "integer" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-24 (bool), PID-25 (integer)" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthInd, player[classCode=PSN|ANM and determinerCode=INSTANCE]/multipleBirthOrderNumber" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.photo", + "path": "Patient.photo", + "short": "Image of the patient", + "definition": "Image of the patient.", + "comment": "Guidelines:\n* Use id photos, not clinical photos.\n* Limit dimensions to thumbnail.\n* Keep byte count low to ease resource updates.", + "requirements": "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.photo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 - needs a profile" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/desc" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Contact" + } + ], + "path": "Patient.contact", + "short": "A contact party (e.g. guardian, partner, friend) for the patient", + "definition": "A contact party (e.g. guardian, partner, friend) for the patient.", + "comment": "Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.", + "requirements": "Need to track people you can contact about the patient.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "pat-1", + "severity": "error", + "human": "SHALL at least contain a contact's details or a reference to an organization", + "expression": "name.exists() or telecom.exists() or address.exists() or organization.exists()", + "xpath": "exists(f:name) or exists(f:telecom) or exists(f:address) or exists(f:organization)", + "source": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.id", + "path": "Patient.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.extension", + "path": "Patient.contact.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.modifierExtension", + "path": "Patient.contact.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.contact.relationship", + "path": "Patient.contact.relationship", + "short": "The kind of relationship", + "definition": "The nature of the relationship between the patient and the contact person.", + "requirements": "Used to determine which contact person is the most relevant to approach, depending on circumstances.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact.relationship", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactRelationship" + } + ], + "strength": "extensible", + "description": "The nature of the relationship between a patient and a contact person for that patient.", + "valueSet": "http://hl7.org/fhir/ValueSet/patient-contactrelationship" + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-7, NK1-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.name", + "path": "Patient.contact.name", + "short": "A name associated with the contact person", + "definition": "A name associated with the contact person.", + "requirements": "Contact persons need to be identified by name, but it is uncommon to need details about multiple other names for that contact person.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.name", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-2" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.telecom", + "path": "Patient.contact.telecom", + "short": "A contact detail for the person", + "definition": "A contact detail for the person, e.g. a telephone number or an email address.", + "comment": "Contact may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently, and also to help with identification.", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.contact.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-5, NK1-6, NK1-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.address", + "path": "Patient.contact.address", + "short": "Address for the contact person", + "definition": "Address for the contact person.", + "requirements": "Need to keep track where the contact person can be contacted per postal mail or visited.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.address", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-4" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.gender", + "path": "Patient.contact.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.", + "requirements": "Needed to address the person correctly.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdministrativeGender" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-15" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.organization", + "path": "Patient.contact.organization", + "short": "Organization that is associated with the contact", + "definition": "Organization on behalf of which the contact is acting or for which the contact is working.", + "requirements": "For guardians or business related contacts, the organization is relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.organization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "condition": [ + "pat-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "NK1-13, NK1-30, NK1-31, NK1-32, NK1-41" + }, + { + "identity": "rim", + "map": "scoper" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.contact.period", + "path": "Patient.contact.period", + "short": "The period during which this contact person or organization is valid to be contacted relating to this patient", + "definition": "The period during which this contact person or organization is valid to be contacted relating to this patient.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.contact.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication", + "path": "Patient.communication", + "short": "A language which may be used to communicate with the patient about his or her health", + "definition": "A language which may be used to communicate with the patient about his or her health.", + "comment": "If no language is specified, this *implies* that the default local language is spoken. If you need to convey proficiency for multiple modes, then you need multiple Patient.Communication associations. For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.", + "requirements": "If a patient does not speak the local language, interpreters may be required, so languages spoken and proficiency are important things to keep track of both for patient and other persons of interest.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.communication", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "LanguageCommunication" + }, + { + "identity": "cda", + "map": "patient.languageCommunication" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication" + } + ] + }, + { + "id": "Patient.communication.id", + "path": "Patient.communication.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication.extension", + "path": "Patient.communication.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.communication.modifierExtension", + "path": "Patient.communication.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.communication.language", + "path": "Patient.communication.language", + "short": "The language which can be used to communicate with the patient about his or her health", + "definition": "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.", + "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.", + "requirements": "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.communication.language", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/simple-language" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-15, LAN-2" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code" + }, + { + "identity": "cda", + "map": ".languageCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication.language" + } + ] + }, + { + "id": "Patient.communication.preferred", + "path": "Patient.communication.preferred", + "short": "Language preference indicator", + "definition": "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).", + "comment": "This language is specifically identified for communicating healthcare information.", + "requirements": "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.communication.preferred", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-15" + }, + { + "identity": "rim", + "map": "preferenceInd" + }, + { + "identity": "cda", + "map": ".preferenceInd" + } + ] + }, + { + "id": "Patient.generalPractitioner", + "path": "Patient.generalPractitioner", + "short": "Patient's nominated primary care provider", + "definition": "Patient's nominated care provider.", + "comment": "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles. It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.\nMultiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a \"fly-in/fly-out\" worker that has the onsite GP also included with his home GP to remain aware of medical issues.\n\nJurisdictions may decide that they can profile this down to 1 if desired, or 1 per type.", + "alias": [ + "careProvider" + ], + "min": 0, + "max": "*", + "base": { + "path": "Patient.generalPractitioner", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PD1-4" + }, + { + "identity": "rim", + "map": "subjectOf.CareEvent.performer.AssignedEntity" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.managingOrganization", + "path": "Patient.managingOrganization", + "short": "Organization that is the custodian of the patient record", + "definition": "Organization that is the custodian of the patient record.", + "comment": "There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association).", + "requirements": "Need to know who recognizes this patient record, manages and updates it.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.managingOrganization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "scoper" + }, + { + "identity": "cda", + "map": ".providerOrganization" + } + ] + }, + { + "id": "Patient.link", + "path": "Patient.link", + "short": "Link to another patient resource that concerns the same actual person", + "definition": "Link to another patient resource that concerns the same actual patient.", + "comment": "There is no assumption that linked patient records have mutual links.", + "requirements": "There are multiple use cases: \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and \n* Distribution of patient information across multiple servers.", + "min": 0, + "max": "*", + "base": { + "path": "Patient.link", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "outboundLink" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.id", + "path": "Patient.link.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.extension", + "path": "Patient.link.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.modifierExtension", + "path": "Patient.link.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient.link.other", + "path": "Patient.link.other", + "short": "The other patient or related person resource that the link refers to", + "definition": "The other patient resource that the link refers to.", + "comment": "Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.link.other", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy", + "valueBoolean": false + } + ], + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3, MRG-1" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient.link.type", + "path": "Patient.link.type", + "short": "replaced-by | replaces | refer | seealso", + "definition": "The type of link between this patient resource and another patient resource.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.link.type", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "LinkType" + } + ], + "strength": "required", + "description": "The type of link between this patient resource and another patient resource.", + "valueSet": "http://hl7.org/fhir/ValueSet/link-type|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "typeCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Patient", + "path": "Patient", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "us-core-6", + "severity": "error", + "human": "Either Patient.name.given and/or Patient.name.family SHALL be present or a Data Absent Reason Extension SHALL be present.", + "expression": "(name.family.exists() or name.given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists()", + "xpath": "(/f:name/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' and not(/f:name/f:family or /f:name/f:given)) or (not(/f:name/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') and (/f:name/f:family or /f:name/f:given))" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient" + } + ] + }, + { + "id": "Patient.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + ] + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + ] + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + ] + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.extension:genderIdentity", + "path": "Patient.extension", + "sliceName": "genderIdentity", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity" + ] + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.extension" + } + ] + }, + { + "id": "Patient.identifier", + "path": "Patient.identifier", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier" + } + ] + }, + { + "id": "Patient.identifier.system", + "path": "Patient.identifier.system", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.system" + } + ] + }, + { + "id": "Patient.identifier.value", + "path": "Patient.identifier.value", + "short": "The value that is unique within the system.", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.identifier.value" + } + ] + }, + { + "id": "Patient.name", + "path": "Patient.name", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name" + } + ] + }, + { + "id": "Patient.name.use", + "path": "Patient.name.use" + }, + { + "id": "Patient.name.family", + "path": "Patient.name.family", + "condition": [ + "us-core-6" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.family" + } + ] + }, + { + "id": "Patient.name.given", + "path": "Patient.name.given", + "condition": [ + "us-core-6" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.name.given" + } + ] + }, + { + "id": "Patient.name.suffix", + "path": "Patient.name.suffix", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.name.period", + "path": "Patient.name.period", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom", + "path": "Patient.telecom", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.system", + "path": "Patient.telecom.system", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.value", + "path": "Patient.telecom.value", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.telecom.use", + "path": "Patient.telecom.use", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.gender", + "path": "Patient.gender", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.gender" + } + ] + }, + { + "id": "Patient.birthDate", + "path": "Patient.birthDate", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address", + "path": "Patient.address", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.birthDate" + } + ] + }, + { + "id": "Patient.address.use", + "path": "Patient.address.use" + }, + { + "id": "Patient.address.line", + "path": "Patient.address.line", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.city", + "path": "Patient.address.city", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.state", + "path": "Patient.address.state", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two Letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.postalCode", + "path": "Patient.address.postalCode", + "short": "US Zip Codes", + "alias": [ + "Zip Code" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.address.period", + "path": "Patient.address.period", + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "NA" + } + ] + }, + { + "id": "Patient.communication", + "path": "Patient.communication", + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication" + } + ] + }, + { + "id": "Patient.communication.language", + "path": "Patient.communication.language", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/simple-language" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Patient.communication.language" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-practitioner.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-practitioner.json new file mode 100644 index 00000000000..1cba870d72b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-practitioner.json @@ -0,0 +1,3344 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-practitioner", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "version": "5.0.0", + "name": "USCorePractitionerProfile", + "title": "US Core Practitioner Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the Practitioner resource to record, search, and fetch basic demographics and other administrative information about an individual practitioner to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Practitioner", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Practitioner", + "path": "Practitioner", + "short": "A person with a formal responsibility in the provisioning of healthcare or related services", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Provider" + ], + "min": 0, + "max": "*", + "base": { + "path": "Practitioner", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "PRD (as one example)" + }, + { + "identity": "rim", + "map": "Role" + }, + { + "identity": "servd", + "map": "Provider" + } + ] + }, + { + "id": "Practitioner.id", + "path": "Practitioner.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Practitioner.meta", + "path": "Practitioner.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": "Practitioner.implicitRules", + "path": "Practitioner.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": "Practitioner.language", + "path": "Practitioner.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Practitioner.text", + "path": "Practitioner.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": "Practitioner.contained", + "path": "Practitioner.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": "Practitioner.extension", + "path": "Practitioner.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": "Practitioner.modifierExtension", + "path": "Practitioner.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": "Practitioner.identifier", + "path": "Practitioner.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "An identifier for the person as this agent", + "definition": "An identifier that applies to this person in this role.", + "comment": "NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 1, + "max": "*", + "base": { + "path": "Practitioner.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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": "./id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Practitioner.identifier.id", + "path": "Practitioner.identifier.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": "Practitioner.identifier.extension", + "path": "Practitioner.identifier.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": "Practitioner.identifier.use", + "path": "Practitioner.identifier.use", + "short": "usual | official | temp | secondary | old (If known)", + "definition": "The purpose of this identifier.", + "comment": "Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.", + "requirements": "Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierUse" + } + ], + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Practitioner.identifier.type", + "path": "Practitioner.identifier.type", + "short": "Description of identifier", + "definition": "A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.", + "comment": "This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.", + "requirements": "Allows users to make use of identifiers when the identifier system is not known.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "IdentifierType" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSet": "http://hl7.org/fhir/ValueSet/identifier-type" + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Practitioner.identifier.system", + "path": "Practitioner.identifier.system", + "short": "The namespace for the identifier value", + "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.", + "comment": "Identifier.system is always case sensitive.", + "requirements": "There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/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": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Practitioner.identifier.value", + "path": "Practitioner.identifier.value", + "short": "The value that is unique", + "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.", + "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.1 / EI.1" + }, + { + "identity": "rim", + "map": "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Practitioner.identifier.period", + "path": "Practitioner.identifier.period", + "short": "Time period when id is/was valid for use", + "definition": "Time period during which identifier is/was valid for use.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.7 + CX.8" + }, + { + "identity": "rim", + "map": "Role.effectiveTime or implied by context" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner.identifier.assigner", + "path": "Practitioner.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comment": "The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.", + "min": 0, + "max": "1", + "base": { + "path": "Identifier.assigner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Organization" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / (CX.4,CX.9,CX.10)" + }, + { + "identity": "rim", + "map": "II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper" + }, + { + "identity": "servd", + "map": "./IdentifierIssuingAuthority" + } + ] + }, + { + "id": "Practitioner.identifier:NPI", + "path": "Practitioner.identifier", + "sliceName": "NPI", + "short": "An identifier for the person as this agent", + "definition": "An identifier that applies to this person in this role.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": "./id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "Practitioner.active", + "path": "Practitioner.active", + "short": "Whether this practitioner's record is in active use", + "definition": "Whether this practitioner's record is in active use.", + "comment": "If the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role.", + "requirements": "Need to be able to mark a practitioner record as not to be used because it was created in error.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "./statusCode" + } + ] + }, + { + "id": "Practitioner.name", + "path": "Practitioner.name", + "short": "The name(s) associated with the practitioner", + "definition": "The name(s) associated with the practitioner.", + "comment": "The selection of the use property should ensure that there is a single usual name specified, and others use the nickname (alias), old, or other values as appropriate. \r\rIn general, select the value to be used in the ResourceReference.display based on this:\r\r1. There is more than 1 name\r2. Use = usual\r3. Period is current to the date of the usage\r4. Use = official\r5. Other order as decided by internal business rules.", + "requirements": "The name(s) that a Practitioner is known by. Where there are multiple, the name that the practitioner is usually known as should be used in the display.", + "min": 1, + "max": "*", + "base": { + "path": "Practitioner.name", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "HumanName" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XCN Components" + }, + { + "identity": "rim", + "map": "./name" + }, + { + "identity": "servd", + "map": "./PreferredName (GivenNames, FamilyName, TitleCode)" + } + ] + }, + { + "id": "Practitioner.name.id", + "path": "Practitioner.name.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.name.extension", + "path": "Practitioner.name.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.name.use", + "path": "Practitioner.name.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comment": "Applications can assume that a name is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows the appropriate name for a particular context of use to be selected from among a set of names.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "NameUse" + } + ], + "strength": "required", + "description": "The use of a human name.", + "valueSet": "http://hl7.org/fhir/ValueSet/name-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XPN.7, but often indicated by which field contains the name" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./NamePurpose" + } + ] + }, + { + "id": "Practitioner.name.text", + "path": "Practitioner.name.text", + "short": "Text representation of the full name", + "definition": "Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "Practitioner.name.family", + "path": "Practitioner.name.family", + "short": "Family name (often called 'Surname')", + "definition": "The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.", + "comment": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).", + "alias": [ + "surname" + ], + "min": 1, + "max": "1", + "base": { + "path": "HumanName.family", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + } + ] + }, + { + "id": "Practitioner.name.given", + "path": "Practitioner.name.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations. This element is not called \"first name\" since given names do not always come first.", + "alias": [ + "first name", + "middle name" + ], + "min": 0, + "max": "*", + "base": { + "path": "HumanName.given", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Given Names appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + } + ] + }, + { + "id": "Practitioner.name.prefix", + "path": "Practitioner.name.prefix", + "short": "Parts that come before the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.prefix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Prefixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "Practitioner.name.suffix", + "path": "Practitioner.name.suffix", + "short": "Parts that come after the name", + "definition": "Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.", + "min": 0, + "max": "*", + "base": { + "path": "HumanName.suffix", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "Suffixes appear in the correct order for presenting the name", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + } + ] + }, + { + "id": "Practitioner.name.period", + "path": "Practitioner.name.period", + "short": "Time period when name was/is in use", + "definition": "Indicates the period of time when this name was valid for the named person.", + "requirements": "Allows names to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner.telecom", + "path": "Practitioner.telecom", + "short": "A contact detail for the practitioner (that apply to all roles)", + "definition": "A contact detail for the practitioner, e.g. a telephone number or an email address.", + "comment": "Person may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently and to help with identification. These typically will have home numbers, or mobile numbers that are not role specific.", + "requirements": "Need to know how to reach a practitioner independent to any roles the practitioner may have.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-15, STF-10, ROL-12" + }, + { + "identity": "rim", + "map": "./telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Practitioner.telecom.id", + "path": "Practitioner.telecom.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": "Practitioner.telecom.extension", + "path": "Practitioner.telecom.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": "Practitioner.telecom.system", + "path": "Practitioner.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-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": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointSystem" + } + ], + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "Practitioner.telecom.value", + "path": "Practitioner.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "Practitioner.telecom.use", + "path": "Practitioner.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointUse" + } + ], + "strength": "required", + "description": "Use of contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + } + ] + }, + { + "id": "Practitioner.telecom.rank", + "path": "Practitioner.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.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": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.telecom.period", + "path": "Practitioner.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner.address", + "path": "Practitioner.address", + "short": "Address(es) of the practitioner that are not role specific (typically home address)", + "definition": "Address(es) of the practitioner that are not role specific (typically home address). \rWork addresses are not typically entered in this property as they are usually role dependent.", + "comment": "The PractitionerRole does not have an address value on it, as it is expected that the location property be used for this purpose (which has an address).", + "requirements": "The home/mailing address of the practitioner is often required for employee administration purposes, and also for some rostering services where the start point (practitioners home) can be used in calculations.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ORC-24, STF-11, ROL-11, PRT-14" + }, + { + "identity": "rim", + "map": "./addr" + }, + { + "identity": "servd", + "map": "./Addresses" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.address.id", + "path": "Practitioner.address.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": "Practitioner.address.extension", + "path": "Practitioner.address.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": "Practitioner.address.use", + "path": "Practitioner.address.use", + "short": "home | work | temp | old | billing - purpose of this address", + "definition": "The purpose of this address.", + "comment": "Applications can assume that an address is current unless it explicitly says that it is temporary or old.", + "requirements": "Allows an appropriate address to be chosen from a list of many.", + "min": 0, + "max": "1", + "base": { + "path": "Address.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AddressUse" + } + ], + "strength": "required", + "description": "The use of an address.", + "valueSet": "http://hl7.org/fhir/ValueSet/address-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Practitioner.address.type", + "path": "Practitioner.address.type", + "short": "postal | physical | both", + "definition": "Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both.", + "comment": "The definition of Address states that \"address is intended to describe postal addresses, not physical locations\". However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](http://hl7.org/fhir/R4/location.html#) resource).", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "AddressType" + } + ], + "strength": "required", + "description": "The type of an address (physical / postal).", + "valueSet": "http://hl7.org/fhir/ValueSet/address-type|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Practitioner.address.text", + "path": "Practitioner.address.text", + "short": "Text representation of the address", + "definition": "Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts.", + "comment": "Can provide both a text representation and parts. Applications updating an address SHALL ensure that when both text and parts are present, no content is included in the text that isn't found in a part.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "Address.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "XAD.1 + XAD.2 + XAD.3 + XAD.4 + XAD.5 + XAD.6" + }, + { + "identity": "rim", + "map": "./formatted" + }, + { + "identity": "vcard", + "map": "address label parameter" + } + ] + }, + { + "id": "Practitioner.address.line", + "path": "Practitioner.address.line", + "short": "Street name, number, direction & P.O. Box etc.", + "definition": "This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.", + "min": 0, + "max": "4", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "orderMeaning": "The order in which lines should appear in an address label", + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.1 + XAD.2 (note: XAD.1 and XAD.2 have different meanings for a company address than for a person address)" + }, + { + "identity": "rim", + "map": "AD.part[parttype = AL]" + }, + { + "identity": "vcard", + "map": "street" + }, + { + "identity": "servd", + "map": "./StreetAddress (newline delimitted)" + } + ] + }, + { + "id": "Practitioner.address.city", + "path": "Practitioner.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, suburb, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.city", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Practitioner.address.district", + "path": "Practitioner.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comment": "District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead.", + "alias": [ + "County" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.district", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Practitioner.address.state", + "path": "Practitioner.address.state", + "short": "Sub-unit of country (abbreviations ok)", + "definition": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "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, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + }, + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Practitioner.address.postalCode", + "path": "Practitioner.address.postalCode", + "short": "US Zip Codes", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.postalCode", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Practitioner.address.country", + "path": "Practitioner.address.country", + "short": "Country (e.g. can be ISO 3166 2 or 3 letter code)", + "definition": "Country - a nation as commonly understood or generally accepted.", + "comment": "ISO 3166 3 letter codes can be used in place of a human readable country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Practitioner.address.period", + "path": "Practitioner.address.period", + "short": "Time period when address was/is in use", + "definition": "Time period when address was/is in use.", + "requirements": "Allows addresses to be placed in historical context.", + "min": 0, + "max": "1", + "base": { + "path": "Address.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-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": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner.gender", + "path": "Practitioner.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.", + "requirements": "Needed to address the person correctly.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdministrativeGender" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "STF-5" + }, + { + "identity": "rim", + "map": "./administrativeGender" + }, + { + "identity": "servd", + "map": "./GenderCode" + } + ] + }, + { + "id": "Practitioner.birthDate", + "path": "Practitioner.birthDate", + "short": "The date on which the practitioner was born", + "definition": "The date of birth for the practitioner.", + "requirements": "Needed for identification.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.birthDate", + "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": true, + "mapping": [ + { + "identity": "v2", + "map": "STF-6" + }, + { + "identity": "rim", + "map": "./birthTime" + }, + { + "identity": "servd", + "map": "(not represented in ServD)" + } + ] + }, + { + "id": "Practitioner.photo", + "path": "Practitioner.photo", + "short": "Image of the person", + "definition": "Image of the person.", + "requirements": "Many EHR systems have the capability to capture an image of patients and personnel. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.photo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./subjectOf/ObservationEvent[code=\"photo\"]/value" + }, + { + "identity": "servd", + "map": "./ImageURI (only supports the URI reference)" + } + ] + }, + { + "id": "Practitioner.qualification", + "path": "Practitioner.qualification", + "short": "Certification, licenses, or training pertaining to the provision of care", + "definition": "The official certifications, training, and licenses that authorize or otherwise pertain to the provision of care by the practitioner. For example, a medical license issued by a medical board authorizing the practitioner to practice medicine within a certian locality.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.qualification", + "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": "CER?" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications" + } + ] + }, + { + "id": "Practitioner.qualification.id", + "path": "Practitioner.qualification.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": "Practitioner.qualification.extension", + "path": "Practitioner.qualification.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": "Practitioner.qualification.modifierExtension", + "path": "Practitioner.qualification.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": "Practitioner.qualification.identifier", + "path": "Practitioner.qualification.identifier", + "short": "An identifier for this qualification for the practitioner", + "definition": "An identifier that applies to this person's qualification in this role.", + "requirements": "Often, specific identities are assigned for the qualification.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.qualification.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": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].id" + } + ] + }, + { + "id": "Practitioner.qualification.code", + "path": "Practitioner.qualification.code", + "short": "Coded representation of the qualification", + "definition": "Coded representation of the qualification.", + "min": 1, + "max": "1", + "base": { + "path": "Practitioner.qualification.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Qualification" + } + ], + "strength": "example", + "description": "Specific qualification the practitioner has to provide a service.", + "valueSet": "http://terminology.hl7.org/ValueSet/v2-2.7-0360" + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications.Value" + } + ] + }, + { + "id": "Practitioner.qualification.period", + "path": "Practitioner.qualification.period", + "short": "Period during which the qualification is valid", + "definition": "Period during which the qualification is valid.", + "requirements": "Qualifications are often for a limited period of time, and can be revoked.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.qualification.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": ".playingEntity.playingRole[classCode=QUAL].effectiveTime" + }, + { + "identity": "servd", + "map": "./Qualifications.StartDate and ./Qualifications.EndDate" + } + ] + }, + { + "id": "Practitioner.qualification.issuer", + "path": "Practitioner.qualification.issuer", + "short": "Organization that regulates and issues the qualification", + "definition": "Organization that regulates and issues the qualification.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.qualification.issuer", + "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": ".playingEntity.playingRole[classCode=QUAL].scoper" + } + ] + }, + { + "id": "Practitioner.communication", + "path": "Practitioner.communication", + "short": "A language the practitioner can use in patient communication", + "definition": "A language the practitioner can use in patient communication.", + "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.", + "requirements": "Knowing which language a practitioner speaks can help in facilitating communication with patients.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.communication", + "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-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Language" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-15, NK1-20, LAN-2" + }, + { + "identity": "rim", + "map": "./languageCommunication" + }, + { + "identity": "servd", + "map": "./Languages.LanguageSpokenCode" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Practitioner", + "path": "Practitioner", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Provider" + ], + "mustSupport": false + }, + { + "id": "Practitioner.identifier", + "path": "Practitioner.identifier", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "comment": "NPI must be supported as the identifier system in the US, Tax id is allowed, Local id is allowed in addition to another identifier supplied by a jurisdictional authority such as a practitioner's *Drug Enforcement Administration (DEA)* number.", + "min": 1, + "mustSupport": true + }, + { + "id": "Practitioner.identifier.system", + "path": "Practitioner.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.identifier.value", + "path": "Practitioner.identifier.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.identifier:NPI", + "path": "Practitioner.identifier", + "sliceName": "NPI", + "max": "1", + "patternIdentifier": { + "system": "http://hl7.org/fhir/sid/us-npi" + }, + "mustSupport": true + }, + { + "id": "Practitioner.name", + "path": "Practitioner.name", + "min": 1, + "mustSupport": true + }, + { + "id": "Practitioner.name.family", + "path": "Practitioner.name.family", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.telecom", + "path": "Practitioner.telecom", + "mustSupport": true + }, + { + "id": "Practitioner.telecom.system", + "path": "Practitioner.telecom.system", + "mustSupport": true + }, + { + "id": "Practitioner.telecom.value", + "path": "Practitioner.telecom.value", + "mustSupport": true + }, + { + "id": "Practitioner.address", + "path": "Practitioner.address", + "mustSupport": true, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner.address.line", + "path": "Practitioner.address.line", + "max": "4", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.address.city", + "path": "Practitioner.address.city", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.address.state", + "path": "Practitioner.address.state", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" + }, + "mapping": [ + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Practitioner.address.postalCode", + "path": "Practitioner.address.postalCode", + "short": "US Zip Codes", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Practitioner.address.country", + "path": "Practitioner.address.country", + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-practitionerrole.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-practitionerrole.json new file mode 100644 index 00000000000..f47e626ac19 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-practitionerrole.json @@ -0,0 +1,2090 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-practitionerrole", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "version": "5.0.0", + "name": "USCorePractitionerRoleProfile", + "title": "US Core PractitionerRole Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the PractitionerRole Resource to record, search, and fetch the practitioner role for a practitioner to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases. The requirements for the US Core Practitioner were drawn from the [Argonaut Provider Directory](http://www.fhir.org/guides/argonaut/pd//release1/index.html), [IHE Healthcare Provider Directory](http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_HPD.pdf) and the [ONC Provider Directory Workshop](https://confluence.oncprojectracking.org/display/PDW/Workshop+Documents).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "servd", + "uri": "http://www.omg.org/spec/ServD/1.0/", + "name": "ServD" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "PractitionerRole", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "PractitionerRole", + "path": "PractitionerRole", + "short": "Roles/organizations the practitioner is associated with", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole", + "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": "pd-1", + "severity": "error", + "human": "SHALL have contact information or a reference to an Endpoint", + "expression": "telecom or endpoint", + "xpath": "exists(f:telecom) or exists(f:endpoint)" + }, + { + "key": "us-core-13", + "severity": "error", + "human": "SHALL have a practitioner, an organization, a healthcare service, or a location.", + "expression": "practitioner or organization or healthcareService or location", + "xpath": "exists(f:practitioner) or exists(f:organization) or exists(f:healthcareService) or exists(f:location)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "PRD (as one example)" + }, + { + "identity": "rim", + "map": "Role" + }, + { + "identity": "servd", + "map": "ServiceSiteProvider" + } + ] + }, + { + "id": "PractitionerRole.id", + "path": "PractitionerRole.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "PractitionerRole.meta", + "path": "PractitionerRole.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": "PractitionerRole.implicitRules", + "path": "PractitionerRole.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": "PractitionerRole.language", + "path": "PractitionerRole.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "PractitionerRole.text", + "path": "PractitionerRole.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": "PractitionerRole.contained", + "path": "PractitionerRole.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": "PractitionerRole.extension", + "path": "PractitionerRole.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": "PractitionerRole.modifierExtension", + "path": "PractitionerRole.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": "PractitionerRole.identifier", + "path": "PractitionerRole.identifier", + "short": "Business Identifiers that are specific to a role/location", + "definition": "Business Identifiers that are specific to a role/location.", + "requirements": "Often, specific identities are assigned for the agent.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.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": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "servd", + "map": "./Identifiers" + } + ] + }, + { + "id": "PractitionerRole.active", + "path": "PractitionerRole.active", + "short": "Whether this practitioner role record is in active use", + "definition": "Whether this practitioner role record is in active use.", + "comment": "If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active.", + "requirements": "Need to be able to mark a practitioner role record as not to be used because it was created in error, or otherwise no longer in active use.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "STF-7" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "PractitionerRole.period", + "path": "PractitionerRole.period", + "short": "The period during which the practitioner is authorized to perform in these role(s)", + "definition": "The period during which the person is authorized to act as a practitioner in these role(s) for the organization.", + "requirements": "Even after the agencies is revoked, the fact that it existed must still be recorded.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "PRD-8/9 / PRA-5.4" + }, + { + "identity": "rim", + "map": ".performance[@typeCode <= 'PPRF'].ActDefinitionOrEvent.effectiveTime" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + } + ] + }, + { + "id": "PractitionerRole.practitioner", + "path": "PractitionerRole.practitioner", + "short": "Practitioner that is able to provide the defined services for the organization", + "definition": "Practitioner that is able to provide the defined services for the organization.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.practitioner", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + } + ], + "condition": [ + "us-core-13" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": ".player" + } + ] + }, + { + "id": "PractitionerRole.organization", + "path": "PractitionerRole.organization", + "short": "Organization where the roles are available", + "definition": "The organization where the Practitioner performs the roles associated.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.organization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "condition": [ + "us-core-13" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": ".scoper" + } + ] + }, + { + "id": "PractitionerRole.code", + "path": "PractitionerRole.code", + "short": "Roles which this practitioner may perform", + "definition": "Roles which this practitioner is authorized to perform for the organization.", + "comment": "A person may have more than one role.", + "requirements": "Need to know what authority the practitioner has - what can they do?", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.code", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role" + }, + "mapping": [ + { + "identity": "v2", + "map": "PRD-1 / STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + } + ] + }, + { + "id": "PractitionerRole.specialty", + "path": "PractitionerRole.specialty", + "short": "Specific specialty of the practitioner", + "definition": "Specific specialty of the practitioner.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.specialty", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066" + }, + "mapping": [ + { + "identity": "v2", + "map": "PRA-5" + }, + { + "identity": "rim", + "map": ".player.HealthCareProvider[@classCode = 'PROV'].code" + }, + { + "identity": "servd", + "map": "./Specialty" + } + ] + }, + { + "id": "PractitionerRole.location", + "path": "PractitionerRole.location", + "short": "The location(s) at which this practitioner provides care", + "definition": "The location(s) at which this practitioner provides care.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.location", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Location" + ] + } + ], + "condition": [ + "us-core-13" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.where[x]" + }, + { + "identity": "rim", + "map": ".performance.ActDefinitionOrEvent.ServiceDeliveryLocation[@classCode = 'SDLOC']" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)
However these are accessed via the Site.ServiceSite.ServiceSiteProvider record. (The Site has the location)" + } + ] + }, + { + "id": "PractitionerRole.healthcareService", + "path": "PractitionerRole.healthcareService", + "short": "The list of healthcare services that this worker provides for this role's Organization/Location(s)", + "definition": "The list of healthcare services that this worker provides for this role's Organization/Location(s).", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.healthcareService", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/HealthcareService" + ] + } + ], + "condition": [ + "us-core-13" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "EDU-2 / AFF-3" + }, + { + "identity": "rim", + "map": ".player.QualifiedEntity[@classCode = 'QUAL'].code" + } + ] + }, + { + "id": "PractitionerRole.telecom", + "path": "PractitionerRole.telecom", + "short": "Contact details that are specific to the role/location/service", + "definition": "Contact details that are specific to the role/location/service.", + "requirements": "Often practitioners have a dedicated line for each location (or service) that they work at, and need to be able to define separate contact details for each of these.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "pd-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "PractitionerRole.telecom.id", + "path": "PractitionerRole.telecom.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": "PractitionerRole.telecom.extension", + "path": "PractitionerRole.telecom.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": "PractitionerRole.telecom.system", + "path": "PractitionerRole.telecom.system", + "short": "phone | fax | email | pager | url | sms | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-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": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointSystem" + } + ], + "strength": "required", + "description": "Telecommunications form for contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "PractitionerRole.telecom.value", + "path": "PractitionerRole.telecom.value", + "short": "The actual contact point details", + "definition": "The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).", + "comment": "Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value.", + "requirements": "Need to support legacy numbers that are not in a tightly controlled format.", + "min": 1, + "max": "1", + "base": { + "path": "ContactPoint.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "PractitionerRole.telecom.use", + "path": "PractitionerRole.telecom.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comment": "Applications can assume that a contact is current unless it explicitly says that it is temporary or old.", + "requirements": "Need to track the way a person uses this contact, so a user can choose which is appropriate for their purpose.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.use", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": true, + "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ContactPointUse" + } + ], + "strength": "required", + "description": "Use of contact point.", + "valueSet": "http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.2 - but often indicated by field" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./ContactPointPurpose" + } + ] + }, + { + "id": "PractitionerRole.telecom.rank", + "path": "PractitionerRole.telecom.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.", + "comment": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.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": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "PractitionerRole.telecom.period", + "path": "PractitionerRole.telecom.period", + "short": "Time period when the contact point was/is in use", + "definition": "Time period when the contact point was/is in use.", + "min": 0, + "max": "1", + "base": { + "path": "ContactPoint.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "PractitionerRole.availableTime", + "path": "PractitionerRole.availableTime", + "short": "Times the Service Site is available", + "definition": "A collection of times the practitioner is available or performing this role at the location and/or healthcareservice.", + "comment": "More detailed availability information may be provided in associated Schedule/Slot resources.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.availableTime", + "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": "PractitionerRole.availableTime.id", + "path": "PractitionerRole.availableTime.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": "PractitionerRole.availableTime.extension", + "path": "PractitionerRole.availableTime.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": "PractitionerRole.availableTime.modifierExtension", + "path": "PractitionerRole.availableTime.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": "PractitionerRole.availableTime.daysOfWeek", + "path": "PractitionerRole.availableTime.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": "PractitionerRole.availableTime.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": "PractitionerRole.availableTime.allDay", + "path": "PractitionerRole.availableTime.allDay", + "short": "Always available? e.g. 24 hour service", + "definition": "Is this always available? (hence times are irrelevant) e.g. 24 hour service.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.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": "PractitionerRole.availableTime.availableStartTime", + "path": "PractitionerRole.availableTime.availableStartTime", + "short": "Opening time of day (ignored if allDay = true)", + "definition": "The opening time of day. Note: If the AllDay flag is set, then this time is ignored.", + "comment": "The timezone is expected to be for where this HealthcareService is provided at.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.availableStartTime", + "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": "PractitionerRole.availableTime.availableEndTime", + "path": "PractitionerRole.availableTime.availableEndTime", + "short": "Closing time of day (ignored if allDay = true)", + "definition": "The closing time of day. Note: If the AllDay flag is set, then this time is ignored.", + "comment": "The timezone is expected to be for where this HealthcareService is provided at.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.availableTime.availableEndTime", + "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": "PractitionerRole.notAvailable", + "path": "PractitionerRole.notAvailable", + "short": "Not available during this time due to provided reason", + "definition": "The practitioner is not available or performing this role during this period of time due to the provided reason.", + "min": 0, + "max": "*", + "base": { + "path": "PractitionerRole.notAvailable", + "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": "PractitionerRole.notAvailable.id", + "path": "PractitionerRole.notAvailable.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": "PractitionerRole.notAvailable.extension", + "path": "PractitionerRole.notAvailable.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": "PractitionerRole.notAvailable.modifierExtension", + "path": "PractitionerRole.notAvailable.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": "PractitionerRole.notAvailable.description", + "path": "PractitionerRole.notAvailable.description", + "short": "Reason presented to the user explaining why time not available", + "definition": "The reason that can be presented to the user as to why this time is not available.", + "min": 1, + "max": "1", + "base": { + "path": "PractitionerRole.notAvailable.description", + "min": 1, + "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": "PractitionerRole.notAvailable.during", + "path": "PractitionerRole.notAvailable.during", + "short": "Service not available from this date", + "definition": "Service is not available (seasonally or for a public holiday) from this date.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.notAvailable.during", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.availabilityExceptions", + "path": "PractitionerRole.availabilityExceptions", + "short": "Description of availability exceptions", + "definition": "A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times.", + "min": 0, + "max": "1", + "base": { + "path": "PractitionerRole.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": ".effectiveTime" + } + ] + }, + { + "id": "PractitionerRole.endpoint", + "path": "PractitionerRole.endpoint", + "short": "Technical endpoints providing access to services operated for the practitioner with this role", + "definition": "Technical endpoints providing access to services operated for the practitioner with this role.", + "requirements": "Organizations have multiple systems that provide various services and ,ay also be different for practitioners too.\r\rSo the endpoint satisfies the 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": "PractitionerRole.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Endpoint" + ] + } + ], + "condition": [ + "pd-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "PractitionerRole", + "path": "PractitionerRole", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "pd-1", + "severity": "error", + "human": "SHALL have contact information or a reference to an Endpoint", + "expression": "telecom or endpoint", + "xpath": "exists(f:telecom) or exists(f:endpoint)" + }, + { + "key": "us-core-13", + "severity": "error", + "human": "SHALL have a practitioner, an organization, a healthcare service, or a location.", + "expression": "practitioner or organization or healthcareService or location", + "xpath": "exists(f:practitioner) or exists(f:organization) or exists(f:healthcareService) or exists(f:location)" + } + ], + "mustSupport": false + }, + { + "id": "PractitionerRole.practitioner", + "path": "PractitionerRole.practitioner", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + } + ], + "condition": [ + "us-core-13" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.organization", + "path": "PractitionerRole.organization", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "condition": [ + "us-core-13" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.code", + "path": "PractitionerRole.code", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Provider role codes consisting of NUCC Health Care Provider Taxonomy Code Set for providers.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role" + } + }, + { + "id": "PractitionerRole.specialty", + "path": "PractitionerRole.specialty", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.1066" + } + }, + { + "id": "PractitionerRole.location", + "path": "PractitionerRole.location", + "condition": [ + "us-core-13" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.healthcareService", + "path": "PractitionerRole.healthcareService", + "condition": [ + "us-core-13" + ] + }, + { + "id": "PractitionerRole.telecom", + "path": "PractitionerRole.telecom", + "condition": [ + "pd-1" + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.telecom.system", + "path": "PractitionerRole.telecom.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.telecom.value", + "path": "PractitionerRole.telecom.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "PractitionerRole.endpoint", + "path": "PractitionerRole.endpoint", + "condition": [ + "pd-1" + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-procedure.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-procedure.json new file mode 100644 index 00000000000..d2be426c124 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-procedure.json @@ -0,0 +1,2492 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-procedure", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "version": "5.0.0", + "name": "USCoreProcedureProfile", + "title": "US Core Procedure Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Procedure Profile is based upon the core FHIR Procedure Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' requirements. This profile sets minimum expectations for the Procedure resource to record, search, and fetch procedures associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Procedure", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Procedure", + "path": "Procedure", + "short": "An action that is being or was performed on a patient", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "Procedure", + "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": "us-core-7", + "severity": "error", + "human": "Performed SHALL be present if the status is 'completed' or 'in-progress'", + "expression": "(status='completed' or status='in-progress') implies performed.exists()" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "Procedure[moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure" + } + ] + }, + { + "id": "Procedure.id", + "path": "Procedure.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Procedure.meta", + "path": "Procedure.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": "Procedure.implicitRules", + "path": "Procedure.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": "Procedure.language", + "path": "Procedure.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Procedure.text", + "path": "Procedure.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": "Procedure.contained", + "path": "Procedure.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": "Procedure.extension", + "path": "Procedure.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": "Procedure.modifierExtension", + "path": "Procedure.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": "Procedure.identifier", + "path": "Procedure.identifier", + "short": "External Identifiers for this procedure", + "definition": "Business identifiers assigned to this procedure by the performer or other systems which remain constant as the resource is updated and is propagated 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 Person resource instances might share the same social insurance number.", + "requirements": "Allows identification of the procedure as it is known by various participating systems and in a way that remains consistent across servers.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.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": "Some combination of ORC-2 / ORC-3 / OBR-2 / OBR-3 / IPC-1 / IPC-2 / IPC-3 / IPC-4" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Procedure.instantiatesCanonical", + "path": "Procedure.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/PlanDefinition", + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/Measure", + "http://hl7.org/fhir/StructureDefinition/OperationDefinition", + "http://hl7.org/fhir/StructureDefinition/Questionnaire" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.instantiatesCanonical" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "Procedure.instantiatesUri", + "path": "Procedure.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.instantiatesUri" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "Procedure.basedOn", + "path": "Procedure.basedOn", + "short": "A request for this procedure", + "definition": "A reference to a resource that contains details of the request for this procedure.", + "alias": [ + "fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Procedure.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=(various e.g. PROC, OBS, PCPR, ACT, moodCode=RQO].code" + } + ] + }, + { + "id": "Procedure.partOf", + "path": "Procedure.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular procedure is a component or step.", + "comment": "The MedicationAdministration resource has a partOf reference to Procedure, but this is not a circular reference. For example, the anesthesia MedicationAdministration is part of the surgical Procedure (MedicationAdministration.partOf = Procedure). For example, the procedure to insert the IV port for an IV medication administration is part of the medication administration (Procedure.partOf = MedicationAdministration).", + "alias": [ + "container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Procedure.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=SBADM or PROC or OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure.status", + "path": "Procedure.status", + "short": "preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown", + "definition": "A code specifying the state of the procedure. Generally, this will be the in-progress or completed state.", + "comment": "The \"unknown\" code is not to be used to convey other statuses. The \"unknown\" code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure.\n\nThis 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": "Procedure.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "condition": [ + "us-core-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/event-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.status" + } + ] + }, + { + "id": "Procedure.statusReason", + "path": "Procedure.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current state of the procedure.", + "comment": "This is generally only used for \"exception\" statuses such as \"not-done\", \"suspended\" or \"aborted\". The reason for performing the event at all is captured in reasonCode, not here.", + "alias": [ + "Suspended Reason", + "Cancelled Reason" + ], + "min": 0, + "max": "1", + "base": { + "path": "Procedure.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureNegationReason" + } + ], + "strength": "example", + "description": "A code that identifies the reason a procedure was not performed.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.statusReason" + }, + { + "identity": "rim", + "map": ".reason.Observation.value" + } + ] + }, + { + "id": "Procedure.category", + "path": "Procedure.category", + "short": "Classification of the procedure", + "definition": "A code that classifies the procedure for searching, sorting and display purposes (e.g. \"Surgical Procedure\").", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.category", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureCategory" + } + ], + "strength": "example", + "description": "A code that classifies a procedure for searching, sorting and display purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Procedure.code", + "path": "Procedure.code", + "short": "Identification of the procedure", + "definition": "The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. \"Laparoscopic Appendectomy\").", + "requirements": "0..1 to account for primarily narrative only resources.", + "alias": [ + "type" + ], + "min": 1, + "max": "1", + "base": { + "path": "Procedure.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", + "description": "Codes describing the type of Procedure", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "OBR-44/OBR-45" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.code" + } + ] + }, + { + "id": "Procedure.subject", + "path": "Procedure.subject", + "short": "Who the procedure was performed on", + "definition": "The person, animal or group on which the procedure was performed.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "base": { + "path": "Procedure.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.subject" + } + ] + }, + { + "id": "Procedure.encounter", + "path": "Procedure.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this Procedure was created or performed 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.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.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" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure.performed[x]", + "path": "Procedure.performed[x]", + "short": "When the procedure was performed", + "definition": "Estimated or actual date, date-time, period, or age when the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.", + "comment": "Age is generally used when the patient reports an age at which the procedure was performed. Range is generally used when the patient reports an age range when the procedure was performed, such as sometime between 20-25 years old. dateTime supports a range of precision due to some procedures being reported as past procedures that might not have millisecond precision while other procedures performed and documented during the encounter might have more precise UTC timestamps with timezone.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.performed[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "string" + }, + { + "code": "Age" + }, + { + "code": "Range" + } + ], + "condition": [ + "us-core-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "OBR-7" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.performed[x]" + } + ] + }, + { + "id": "Procedure.recorder", + "path": "Procedure.recorder", + "short": "Who recorded the procedure", + "definition": "Individual who recorded the record and takes responsibility for its content.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.recorder", + "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.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + } + ] + }, + { + "id": "Procedure.asserter", + "path": "Procedure.asserter", + "short": "Person who asserts this procedure", + "definition": "Individual who is making the procedure statement.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.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": "rim", + "map": ".participation[typeCode=INF].role" + } + ] + }, + { + "id": "Procedure.performer", + "path": "Procedure.performer", + "short": "The people who performed the procedure", + "definition": "Limited to \"real\" people rather than equipment.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.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": "rim", + "map": ".participation[typeCode=PRF]" + } + ] + }, + { + "id": "Procedure.performer.id", + "path": "Procedure.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": "Procedure.performer.extension", + "path": "Procedure.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": "Procedure.performer.modifierExtension", + "path": "Procedure.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": "Procedure.performer.function", + "path": "Procedure.performer.function", + "short": "Type of performance", + "definition": "Distinguishes the type of involvement of the performer in the procedure. For example, surgeon, anaesthetist, endoscopist.", + "requirements": "Allows disambiguation of the types of involvement of different performers.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedurePerformerRole" + } + ], + "strength": "example", + "description": "A code that identifies the role of a performer of the procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/performer-role" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "v2", + "map": "Some combination of STF-18 / PRA-3 / PRT-4 / ROL-3 / ORC-12 / OBR-16 / PV1-7 / PV1-8 / PV1-9 / PV1-17 / OBX-25" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "Procedure.performer.actor", + "path": "Procedure.performer.actor", + "short": "The reference to the practitioner", + "definition": "The practitioner who was involved in the procedure.", + "requirements": "A reference to Device supports use cases, such as pacemakers.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.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", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "v2", + "map": "ORC-19/PRT-5" + }, + { + "identity": "rim", + "map": ".role" + } + ] + }, + { + "id": "Procedure.performer.onBehalfOf", + "path": "Procedure.performer.onBehalfOf", + "short": "Organization the device or practitioner was acting for", + "definition": "The organization the device or practitioner was acting on behalf of.", + "requirements": "Practitioners and Devices can be associated with multiple organizations. This element indicates which organization they were acting on behalf of when performing the action.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.performer.onBehalfOf", + "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": ".scoper" + } + ] + }, + { + "id": "Procedure.location", + "path": "Procedure.location", + "short": "Where the procedure happened", + "definition": "The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.", + "requirements": "Ties a procedure to where the records are likely kept.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.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": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.where[x]" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role[classCode=SDLOC]" + } + ] + }, + { + "id": "Procedure.reasonCode", + "path": "Procedure.reasonCode", + "short": "Coded reason procedure performed", + "definition": "The coded reason why the procedure was performed. This may be a coded entity of some type, or may simply be present as text.", + "comment": "Use Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureReason" + } + ], + "strength": "example", + "description": "A code that identifies the reason a procedure is required.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Procedure.reasonReference", + "path": "Procedure.reasonReference", + "short": "The justification that the procedure was performed", + "definition": "The justification of why the procedure was performed.", + "comment": "It is possible for a procedure to be a reason (such as C-Section) for another procedure (such as an epidural). Other examples include endoscopy for dilatation and biopsy (a combination of diagnostic and therapeutic use). \nUse Procedure.reasonCode when a code sufficiently describes the reason. Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative. For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used. Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference. Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.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/Procedure", + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "Procedure.bodySite", + "path": "Procedure.bodySite", + "short": "Target body sites", + "definition": "Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.", + "comment": "If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [procedure-targetbodystructure](http://hl7.org/fhir/R4/extension-procedure-targetbodystructure.html).", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.bodySite", + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": ".targetSiteCode" + } + ] + }, + { + "id": "Procedure.outcome", + "path": "Procedure.outcome", + "short": "The result of procedure", + "definition": "The outcome of the procedure - did it resolve the reasons for the procedure being performed?", + "comment": "If outcome contains narrative text only, it can be captured using the CodeableConcept.text.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.outcome", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureOutcome" + } + ], + "strength": "example", + "description": "An outcome of a procedure - whether it was resolved or otherwise.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-outcome" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUT].target.text" + } + ] + }, + { + "id": "Procedure.report", + "path": "Procedure.report", + "short": "Any report resulting from the procedure", + "definition": "This could be a histology result, pathology report, surgical report, etc.", + "comment": "There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.report", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/Composition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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]" + } + ] + }, + { + "id": "Procedure.complication", + "path": "Procedure.complication", + "short": "Complication following the procedure", + "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.", + "comment": "If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.complication", + "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": "ProcedureComplication" + } + ], + "strength": "example", + "description": "Codes describing complications that resulted from a procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/condition-code" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value" + } + ] + }, + { + "id": "Procedure.complicationDetail", + "path": "Procedure.complicationDetail", + "short": "A condition that is a result of the procedure", + "definition": "Any complications that occurred during the procedure, or in the immediate post-performance period.", + "requirements": "This is used to document a condition that is a result of the procedure, not the condition that was the reason for the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.complicationDetail", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Condition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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=OUTC].target[classCode=OBS, code=\"complication\", moodCode=EVN].value" + } + ] + }, + { + "id": "Procedure.followUp", + "path": "Procedure.followUp", + "short": "Instructions for follow up", + "definition": "If the procedure required specific follow up - e.g. removal of sutures. The follow up may be represented as a simple note or could potentially be more complex, in which case the CarePlan resource can be used.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.followUp", + "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": "ProcedureFollowUp" + } + ], + "strength": "example", + "description": "Specific follow up required for a procedure e.g. removal of sutures.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-followup" + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code" + } + ] + }, + { + "id": "Procedure.note", + "path": "Procedure.note", + "short": "Additional information about the procedure", + "definition": "Any other notes and comments about the procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.note" + }, + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Procedure.focalDevice", + "path": "Procedure.focalDevice", + "short": "Manipulated, implanted, or removed device", + "definition": "A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.focalDevice", + "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": ".participation[typeCode=DEV].role[classCode=MANU]" + } + ] + }, + { + "id": "Procedure.focalDevice.id", + "path": "Procedure.focalDevice.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": "Procedure.focalDevice.extension", + "path": "Procedure.focalDevice.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": "Procedure.focalDevice.modifierExtension", + "path": "Procedure.focalDevice.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": "Procedure.focalDevice.action", + "path": "Procedure.focalDevice.action", + "short": "Kind of change to device", + "definition": "The kind of change that happened to the device during the procedure.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.focalDevice.action", + "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": "DeviceActionKind" + } + ], + "strength": "preferred", + "description": "A kind of change that happened to the device during the procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-action" + }, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"procedure device action\"].value=:procedure device action codes" + } + ] + }, + { + "id": "Procedure.focalDevice.manipulated", + "path": "Procedure.focalDevice.manipulated", + "short": "Device that was changed", + "definition": "The device that was manipulated (changed) during the procedure.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.focalDevice.manipulated", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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=DEV].role[classCode=SDLOC]" + } + ] + }, + { + "id": "Procedure.usedReference", + "path": "Procedure.usedReference", + "short": "Items used during procedure", + "definition": "Identifies medications, devices and any other substance used as part of the procedure.", + "comment": "For devices actually implanted or removed, use Procedure.device.", + "requirements": "Used for tracking contamination, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.usedReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/Medication", + "http://hl7.org/fhir/StructureDefinition/Substance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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=DEV].role[classCode=MANU] or\n.participation[typeCode=CSM].role[classCode=ADMM] (for Medication or Substance)" + } + ] + }, + { + "id": "Procedure.usedCode", + "path": "Procedure.usedCode", + "short": "Coded items used during the procedure", + "definition": "Identifies coded items that were used as part of the procedure.", + "comment": "For devices actually implanted or removed, use Procedure.device.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.usedCode", + "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": "ProcedureUsed" + } + ], + "strength": "example", + "description": "Codes describing items used during a procedure.", + "valueSet": "http://hl7.org/fhir/ValueSet/device-kind" + }, + "mapping": [ + { + "identity": "rim", + "map": "participation[typeCode=Dev].role[classCode=MANU]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Procedure", + "path": "Procedure", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "us-core-7", + "severity": "error", + "human": "Performed SHALL be present if the status is 'completed' or 'in-progress'", + "expression": "(status='completed' or status='in-progress') implies performed.exists()" + } + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure" + } + ] + }, + { + "id": "Procedure.status", + "path": "Procedure.status", + "condition": [ + "us-core-7" + ], + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/event-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.status" + } + ] + }, + { + "id": "Procedure.code", + "path": "Procedure.code", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Codes describing the type of Procedure", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.code" + } + ] + }, + { + "id": "Procedure.subject", + "path": "Procedure.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.subject" + } + ] + }, + { + "id": "Procedure.performed[x]", + "path": "Procedure.performed[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "string" + }, + { + "code": "Age" + }, + { + "code": "Range" + } + ], + "condition": [ + "us-core-7" + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Procedure.performed[x]" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-provenance.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-provenance.json new file mode 100644 index 00000000000..9030583944f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-provenance.json @@ -0,0 +1,2949 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-provenance", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance", + "version": "5.0.0", + "name": "USCoreProvenance", + "title": "US Core Provenance Profile", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the Provenance resource to record, search, and fetch Provenance information associated with a record to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. This FHIR Provenance profile here covers the minimal (basic) information to support lineage of information. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Basic Provenance guidance page which documents several key use cases, specifically, what organization was responsible for the most recent action on the resource.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "w3c.prov", + "uri": "http://www.w3.org/ns/prov", + "name": "W3C PROV" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/fivews", + "name": "FiveWs Pattern Mapping" + }, + { + "identity": "fhirauditevent", + "uri": "http://hl7.org/fhir/auditevent", + "name": "FHIR AuditEvent Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Provenance", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Provenance", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Provenance", + "path": "Provenance", + "short": "US Core Provenance", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "History", + "Event", + "Activity", + "Basic Provenance" + ], + "min": 0, + "max": "*", + "base": { + "path": "Provenance", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "ControlAct[isNormalAct() and subsumes(CACT, classCode) and moodCode=EVN]" + }, + { + "identity": "w3c.prov", + "map": "Activity" + } + ] + }, + { + "id": "Provenance.id", + "path": "Provenance.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Provenance.meta", + "path": "Provenance.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": "Provenance.implicitRules", + "path": "Provenance.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": "Provenance.language", + "path": "Provenance.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Provenance.text", + "path": "Provenance.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": "Provenance.contained", + "path": "Provenance.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": "Provenance.extension", + "path": "Provenance.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": "Provenance.modifierExtension", + "path": "Provenance.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": "Provenance.target", + "path": "Provenance.target", + "short": "The Resource this Provenance record supports", + "definition": "The Reference(s) that were generated or updated by the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity.", + "comment": "Target references are usually version specific, but might not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource might not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion.", + "min": 1, + "max": "*", + "base": { + "path": "Provenance.target", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "rim", + "map": "./outboundRelationship[isNormalActRelationship() and typeCode=SUBJ]/target OR ./participation[isNormalParticipation() and typeCode=SBJ]/role OR ./participation[isNormalParticipation() and typeCode=SBJ]/role[isNormalRole()]/player" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.reference" + }, + { + "identity": "w3c.prov", + "map": "Entity Created/Updated" + } + ] + }, + { + "id": "Provenance.target.id", + "path": "Provenance.target.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": "Provenance.target.extension", + "path": "Provenance.target.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": "Provenance.target.reference", + "path": "Provenance.target.reference", + "short": "Literal reference, Relative, internal or absolute URL", + "definition": "A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.", + "comment": "Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.reference", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "condition": [ + "ref-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.target.type", + "path": "Provenance.target.type", + "short": "Type the reference refers to (e.g. \"Patient\")", + "definition": "The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).", + "comment": "This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "FHIRResourceTypeExt" + } + ], + "strength": "extensible", + "description": "Aa resource (or, for logical models, the URI of the logical model).", + "valueSet": "http://hl7.org/fhir/ValueSet/resource-types" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.target.identifier", + "path": "Provenance.target.identifier", + "short": "Logical reference, when literal reference is not known", + "definition": "An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.", + "comment": "When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).", + "min": 0, + "max": "1", + "base": { + "path": "Reference.identifier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".identifier" + } + ] + }, + { + "id": "Provenance.target.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Provenance.target.display", + "short": "Text alternative for the resource", + "definition": "Plain text narrative that identifies the resource in addition to the resource reference.", + "comment": "This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.", + "min": 0, + "max": "1", + "base": { + "path": "Reference.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Provenance.occurred[x]", + "path": "Provenance.occurred[x]", + "short": "When the activity occurred", + "definition": "The period during which the activity occurred.", + "comment": "The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.occurred[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + }, + { + "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": "workflow", + "map": "Event.occurred[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "rim", + "map": "./effectiveTime[type=IVL_TS]" + }, + { + "identity": "w3c.prov", + "map": "Activity.startTime & Activity.endTime" + } + ] + }, + { + "id": "Provenance.recorded", + "path": "Provenance.recorded", + "short": "Timestamp when the activity was recorded / updated", + "definition": "The instant of time at which the activity was recorded.", + "comment": "This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.recorded", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": "unique(./participation[isNormalParticipation() and typeCode=AUT]/time[type=TS])" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.recorded" + }, + { + "identity": "w3c.prov", + "map": "Activity.when" + } + ] + }, + { + "id": "Provenance.policy", + "path": "Provenance.policy", + "short": "Policy or plan the activity was defined by", + "definition": "Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc.", + "comment": "For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.policy", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[isNormalActRelationship() and typeCode=\"SUBJ\"]/source[isNormalAct and subsumes(POLICY, classCode) and moodCode=EVN]/text[typeCode='ED'/tel" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.policy" + } + ] + }, + { + "id": "Provenance.location", + "path": "Provenance.location", + "short": "Where the activity occurred, if relevant", + "definition": "Where the activity occurred, if relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.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": "rim", + "map": "unique(./participation[isNormalParticipation() and typeCode=LOC]/role[isNormalRole() and subsumes(SDLOC, classCode)]/player[isNormalEntity and classCode=\"LOC\" and determinerCode=\"INST\"]" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.location" + }, + { + "identity": "w3c.prov", + "map": "Activity.location" + } + ] + }, + { + "id": "Provenance.reason", + "path": "Provenance.reason", + "short": "Reason the activity is occurring", + "definition": "The reason that the activity was taking place.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.reason", + "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": "ProvenanceReason" + } + ], + "strength": "extensible", + "description": "The reason the activity took place.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-PurposeOfUse" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "unique(./reasonCode)" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.purposeOfEvent" + }, + { + "identity": "w3c.prov", + "map": "Activity.Activity" + } + ] + }, + { + "id": "Provenance.activity", + "path": "Provenance.activity", + "short": "Activity that occurred", + "definition": "An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.activity", + "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": "ProvenanceActivity" + } + ], + "strength": "extensible", + "description": "The activity that took place.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-activity-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "rim", + "map": "Act.code" + }, + { + "identity": "w3c.prov", + "map": "Activity.Activity" + } + ] + }, + { + "id": "Provenance.agent", + "path": "Provenance.agent", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "type" + } + ], + "rules": "open" + }, + "short": "Actor involved", + "definition": "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 1, + "max": "*", + "base": { + "path": "Provenance.agent", + "min": 1, + "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": "provenance-1", + "severity": "error", + "human": "onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device", + "expression": "((who.resolve() is Practitioner) or (who.resolve() is Device)) implies onBehalfOf.exists()" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent.id", + "path": "Provenance.agent.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": "Provenance.agent.extension", + "path": "Provenance.agent.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": "Provenance.agent.modifierExtension", + "path": "Provenance.agent.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": "Provenance.agent.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "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": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.actor" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Provenance.agent.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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": "rim", + "map": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor", + "path": "Provenance.agent", + "sliceName": "ProvenanceAuthor", + "short": "Actor involved", + "definition": "An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent", + "min": 1, + "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": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.id", + "path": "Provenance.agent.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": "Provenance.agent:ProvenanceAuthor.extension", + "path": "Provenance.agent.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": "Provenance.agent:ProvenanceAuthor.modifierExtension", + "path": "Provenance.agent.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": "Provenance.agent:ProvenanceAuthor.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ProvenanceAgentType" + } + ], + "strength": "extensible", + "description": "The type of participation that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-agent-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "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": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "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/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "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": ".id" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceAuthor.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "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/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "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": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter", + "path": "Provenance.agent", + "sliceName": "ProvenanceTransmitter", + "short": "Actor involved", + "definition": "The entity that provided the copy to your system.", + "comment": "Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.", + "requirements": "An agent can be a person, an organization, software, device, or other entities that may be ascribed responsibility.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent", + "min": 1, + "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": "workflow", + "map": "Event.performer" + }, + { + "identity": "w5", + "map": "FiveWs.who" + }, + { + "identity": "rim", + "map": "./participation[isNormalParticipation()] OR ./outboundRelationship[isNormalActRelationship() and typeCode='DRIV']" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent" + }, + { + "identity": "w3c.prov", + "map": "Agent" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.id", + "path": "Provenance.agent.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": "Provenance.agent:ProvenanceTransmitter.extension", + "path": "Provenance.agent.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": "Provenance.agent:ProvenanceTransmitter.modifierExtension", + "path": "Provenance.agent.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": "Provenance.agent:ProvenanceTransmitter.type", + "path": "Provenance.agent.type", + "short": "How the agent participated", + "definition": "The participation the agent had with respect to the activity.", + "comment": "For example: author, performer, enterer, attester, etc.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "code": "transmitter" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ProvenanceAgentType" + } + ], + "strength": "extensible", + "description": "The type of participation that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-agent-type" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.performer.function" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.type" + }, + { + "identity": "w3c.prov", + "map": "Agent.Attribution" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.role", + "path": "Provenance.agent.role", + "short": "What the agents role was", + "definition": "The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity.", + "comment": "For example: doctor, nurse, clerk, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.agent.role", + "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": "ProvenanceAgentRole" + } + ], + "strength": "example", + "description": "The role that a provenance agent played with respect to the activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-role-type" + }, + "mapping": [ + { + "identity": "rim", + "map": ".typecode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.agent.role" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.who", + "path": "Provenance.agent.who", + "short": "Who participated", + "definition": "The individual, device or organization that participated in the event.", + "comment": "whoIdentity should be used when the agent is not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.agent.who", + "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/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "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": ".id" + } + ] + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "short": "Who the agent is representing", + "definition": "The individual, device, or organization for whom the change was made.", + "comment": "onBehalfOfIdentity should be used when the agent is not a Resource type.", + "min": 0, + "max": "1", + "base": { + "path": "Provenance.agent.onBehalfOf", + "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/RelatedPerson", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "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": "Person, Practitioner, Organization, Device :* .role [classCode = RoleClassMutualRelationship; role.code and * .scopes[Role](classCode=IDENT) and *.plays [Role.Code]" + } + ] + }, + { + "id": "Provenance.entity", + "path": "Provenance.entity", + "short": "An entity used in this activity", + "definition": "An entity used in this activity.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.entity", + "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": "./subjectOf" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity" + }, + { + "identity": "w3c.prov", + "map": "Entity" + } + ] + }, + { + "id": "Provenance.entity.id", + "path": "Provenance.entity.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": "Provenance.entity.extension", + "path": "Provenance.entity.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": "Provenance.entity.modifierExtension", + "path": "Provenance.entity.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": "Provenance.entity.role", + "path": "Provenance.entity.role", + "short": "derivation | revision | quotation | source | removal", + "definition": "How the entity was used during the activity.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.entity.role", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProvenanceEntityRole" + } + ], + "strength": "required", + "description": "How an entity was used in an activity.", + "valueSet": "http://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1" + }, + "mapping": [ + { + "identity": "rim", + "map": "./typeCode" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.lifecycle" + }, + { + "identity": "w3c.prov", + "map": "Entity.role" + } + ] + }, + { + "id": "Provenance.entity.what", + "path": "Provenance.entity.what", + "short": "Identity of entity", + "definition": "Identity of the Entity used. May be a logical or physical uri and maybe absolute or relative.", + "comment": "whatIdentity should be used for entities that are not a Resource type.", + "min": 1, + "max": "1", + "base": { + "path": "Provenance.entity.what", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./text/reference" + }, + { + "identity": "fhirauditevent", + "map": "AuditEvent.entity.reference" + }, + { + "identity": "w3c.prov", + "map": "Entity.Identity" + } + ] + }, + { + "id": "Provenance.entity.agent", + "path": "Provenance.entity.agent", + "short": "Entity is attributed to this agent", + "definition": "The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity.", + "comment": "A usecase where one Provenance.entity.agent is used where the Entity that was used in the creation/updating of the Target, is not in the context of the same custodianship as the Target, and thus the meaning of Provenance.entity.agent is to say that the entity referenced is managed elsewhere and that this Agent provided access to it. This would be similar to where the Entity being referenced is managed outside FHIR, such as through HL7 v2, v3, or XDS. This might be where the Entity being referenced is managed in another FHIR resource server. Thus it explains the Provenance of that Entity's use in the context of this Provenance activity.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.entity.agent", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Provenance#Provenance.agent", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "./author/role" + } + ] + }, + { + "id": "Provenance.signature", + "path": "Provenance.signature", + "short": "Signature on target", + "definition": "A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.", + "min": 0, + "max": "*", + "base": { + "path": "Provenance.signature", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Signature" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "./signatureText" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Provenance", + "path": "Provenance", + "short": "US Core Provenance", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Basic Provenance" + ], + "mustSupport": false + }, + { + "id": "Provenance.target", + "path": "Provenance.target", + "short": "The Resource this Provenance record supports", + "mustSupport": true + }, + { + "id": "Provenance.target.reference", + "path": "Provenance.target.reference", + "mustSupport": true + }, + { + "id": "Provenance.recorded", + "path": "Provenance.recorded", + "short": "Timestamp when the activity was recorded / updated", + "mustSupport": true + }, + { + "id": "Provenance.agent", + "path": "Provenance.agent", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "type" + } + ], + "rules": "open" + }, + "constraint": [ + { + "key": "provenance-1", + "severity": "error", + "human": "onBehalfOf SHALL be present when Provenance.agent.who is a Practitioner or Device", + "expression": "((who.resolve() is Practitioner) or (who.resolve() is Device)) implies onBehalfOf.exists()" + } + ], + "mustSupport": true + }, + { + "id": "Provenance.agent.type", + "path": "Provenance.agent.type", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type" + } + }, + { + "id": "Provenance.agent.who", + "path": "Provenance.agent.who", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "Provenance.agent.onBehalfOf", + "path": "Provenance.agent.onBehalfOf", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + } + ], + "mustSupport": true + }, + { + "id": "Provenance.agent:ProvenanceAuthor", + "path": "Provenance.agent", + "sliceName": "ProvenanceAuthor", + "max": "*", + "mustSupport": true + }, + { + "id": "Provenance.agent:ProvenanceAuthor.type", + "path": "Provenance.agent.type", + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "author" + } + ] + }, + "mustSupport": true + }, + { + "id": "Provenance.agent:ProvenanceTransmitter", + "path": "Provenance.agent", + "sliceName": "ProvenanceTransmitter", + "definition": "The entity that provided the copy to your system.", + "mustSupport": true + }, + { + "id": "Provenance.agent:ProvenanceTransmitter.type", + "path": "Provenance.agent.type", + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "code": "transmitter" + } + ] + }, + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-pulse-oximetry.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-pulse-oximetry.json new file mode 100644 index 00000000000..cf82fba9e42 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-pulse-oximetry.json @@ -0,0 +1,5509 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-pulse-oximetry", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry", + "version": "5.0.0", + "name": "USCorePulseOximetryProfile", + "title": "US Core Pulse Oximetry Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pulse oximetry and inspired oxygen observations with a standard LOINC codes and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pulse Oximetry Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Oxygen Saturation by Pulse Oximetry", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood).", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.code.id", + "path": "Observation.code.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.extension", + "path": "Observation.code.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.code.coding", + "path": "Observation.code.coding", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comment": "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.", + "requirements": "Allows for alternative encodings within a code system, and translations to other code systems.", + "min": 0, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "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": "Observation.code.coding:PulseOx", + "path": "Observation.code.coding", + "sliceName": "PulseOx", + "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": 1, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://loinc.org", + "code": "59408-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": 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": "Observation.code.coding:O2Sat", + "path": "Observation.code.coding", + "sliceName": "O2Sat", + "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": 1, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://loinc.org", + "code": "2708-6" + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "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": "Observation.code.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.code.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": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "rules": "open" + }, + "short": "Used when reporting flow rates or oxygen concentration.", + "definition": "Used when reporting flow rates or oxygen concentration.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:FlowRate", + "path": "Observation.component", + "sliceName": "FlowRate", + "short": "Inhaled oxygen flow rate", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:FlowRate.id", + "path": "Observation.component.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": "Observation.component:FlowRate.extension", + "path": "Observation.component.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": "Observation.component:FlowRate.modifierExtension", + "path": "Observation.component.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/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": "Observation.component:FlowRate.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:FlowRate.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "L/min", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:FlowRate.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:FlowRate.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:FlowRate.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.component:Concentration", + "path": "Observation.component", + "sliceName": "Concentration", + "short": "Inhaled oxygen concentration", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component:Concentration.id", + "path": "Observation.component.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": "Observation.component:Concentration.extension", + "path": "Observation.component.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": "Observation.component:Concentration.modifierExtension", + "path": "Observation.component.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/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": "Observation.component:Concentration.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3150-0" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].id", + "path": "Observation.component.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].extension", + "path": "Observation.component.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].value", + "path": "Observation.component.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].comparator", + "path": "Observation.component.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.component.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].system", + "path": "Observation.component.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.component:Concentration.value[x].code", + "path": "Observation.component.value[x].code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.component:Concentration.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component:Concentration.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component:Concentration.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Pulse Oximetry Profile", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Oxygen Saturation by Pulse Oximetry", + "comment": "The code (59408-5 Oxygen saturation in Arterial blood by Pulse oximetry) is included as an additional observation code to FHIR Core vital Oxygen Saturation code (2708-6 Oxygen saturation in Arterial blood).", + "mustSupport": true + }, + { + "id": "Observation.code.coding", + "path": "Observation.code.coding", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "mustSupport": true + }, + { + "id": "Observation.code.coding:PulseOx", + "path": "Observation.code.coding", + "sliceName": "PulseOx", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://loinc.org", + "code": "59408-5" + }, + "mustSupport": true + }, + { + "id": "Observation.code.coding:O2Sat", + "path": "Observation.code.coding", + "sliceName": "O2Sat", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://loinc.org", + "code": "2708-6" + }, + "mustSupport": true + }, + { + "id": "Observation.component", + "path": "Observation.component", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "code" + } + ], + "rules": "open" + }, + "short": "Used when reporting flow rates or oxygen concentration.", + "definition": "Used when reporting flow rates or oxygen concentration.", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate", + "path": "Observation.component", + "sliceName": "FlowRate", + "short": "Inhaled oxygen flow rate", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity", + "path": "Observation.component.valueQuantity", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:FlowRate.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "L/min", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration", + "path": "Observation.component", + "sliceName": "Concentration", + "short": "Inhaled oxygen concentration", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3150-0" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity", + "path": "Observation.component.valueQuantity", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.component:Concentration.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "%", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-questionnaireresponse.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-questionnaireresponse.json new file mode 100644 index 00000000000..f1547a9f384 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-questionnaireresponse.json @@ -0,0 +1,3106 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-questionnaireresponse", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", + "version": "5.0.0", + "name": "USCoreQuestionnaireResponseProfile", + "title": "US Core QuestionnaireResponse Profile", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the QuestionnaireResponse resource to record, search, and fetch retrieve captures the responses to form/survey and assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*. This profile is based on the [Structured Data Capture (SDC) Questionnaire Response Profile](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html) and identifies the *additional* core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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" + } + ], + "kind": "resource", + "abstract": false, + "type": "QuestionnaireResponse", + "baseDefinition": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "QuestionnaireResponse", + "path": "QuestionnaireResponse", + "short": "US Core Profile based on SDC QuestionnaireResponse", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Form", + "QuestionnaireAnswers", + "Form Data" + ], + "min": 0, + "max": "*", + "base": { + "path": "QuestionnaireResponse", + "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" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "sdcqr-1", + "severity": "warning", + "human": "Subject SHOULD be present (searching is difficult without subject). Almost all QuestionnaireResponses should be with respect to some sort of subject.", + "expression": "subject.exists()", + "xpath": "exists(f:subject)", + "source": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", + "valueBoolean": true + } + ], + "key": "sdcqr-2", + "severity": "error", + "human": "When repeats=true for a group, it'll be represented with multiple items with the same linkId in the QuestionnaireResponse. For a question, it'll be represented by a single item with that linkId with multiple answers.", + "expression": "(QuestionnaireResponse|repeat(answer|item)).select(item.where(answer.value.exists()).linkId.isDistinct()).allTrue()", + "xpath": "not(exists(for $item in descendant::f:item[f:answer] return $item/preceding-sibling::f:item[f:linkId/@value=$item/f:linkId/@value]))", + "source": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "rim", + "map": "Observation[moodCode=EVN]" + } + ] + }, + { + "id": "QuestionnaireResponse.id", + "path": "QuestionnaireResponse.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "QuestionnaireResponse.meta", + "path": "QuestionnaireResponse.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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true + }, + { + "id": "QuestionnaireResponse.meta.id", + "path": "QuestionnaireResponse.meta.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": "QuestionnaireResponse.meta.extension", + "path": "QuestionnaireResponse.meta.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": "QuestionnaireResponse.meta.versionId", + "path": "QuestionnaireResponse.meta.versionId", + "short": "Version specific identifier", + "definition": "The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted.", + "comment": "The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.", + "min": 0, + "max": "1", + "base": { + "path": "Meta.versionId", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "id" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "QuestionnaireResponse.meta.lastUpdated", + "path": "QuestionnaireResponse.meta.lastUpdated", + "short": "When the resource version last changed", + "definition": "When the resource last changed - e.g. when the version changed.", + "comment": "This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http://hl7.org/fhir/R4/http.html#read) interaction.", + "min": 0, + "max": "1", + "base": { + "path": "Meta.lastUpdated", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "QuestionnaireResponse.meta.source", + "path": "QuestionnaireResponse.meta.source", + "short": "Identifies where the resource comes from", + "definition": "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](http://hl7.org/fhir/R4/provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.", + "comment": "In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. \n\nThis element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.", + "min": 0, + "max": "1", + "base": { + "path": "Meta.source", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "QuestionnaireResponse.meta.profile", + "path": "QuestionnaireResponse.meta.profile", + "short": "Profiles this resource claims to conform to", + "definition": "A list of profiles (references to [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](http://hl7.org/fhir/R4/structuredefinition-definitions.html#StructureDefinition.url).", + "comment": "It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.", + "min": 0, + "max": "*", + "base": { + "path": "Meta.profile", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/StructureDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "QuestionnaireResponse.meta.security", + "path": "QuestionnaireResponse.meta.security", + "short": "Security Labels applied to this resource", + "definition": "Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure.", + "comment": "The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.", + "min": 0, + "max": "*", + "base": { + "path": "Meta.security", + "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, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "SecurityLabels" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "extensible", + "description": "Security Labels from the Healthcare Privacy and Security Classification System.", + "valueSet": "http://hl7.org/fhir/ValueSet/security-labels" + } + }, + { + "id": "QuestionnaireResponse.meta.tag", + "path": "QuestionnaireResponse.meta.tag", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Tags applied to this resource", + "definition": "Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource.", + "comment": "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.", + "min": 0, + "max": "*", + "base": { + "path": "Meta.tag", + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "Tags" + } + ], + "strength": "example", + "description": "Codes that represent various types of tags, commonly workflow-related; e.g. \"Needs review by Dr. Jones\".", + "valueSet": "http://hl7.org/fhir/ValueSet/common-tags" + } + }, + { + "id": "QuestionnaireResponse.meta.tag.id", + "path": "QuestionnaireResponse.meta.tag.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": "QuestionnaireResponse.meta.tag.extension", + "path": "QuestionnaireResponse.meta.tag.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": "QuestionnaireResponse.meta.tag.system", + "path": "QuestionnaireResponse.meta.tag.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "QuestionnaireResponse.meta.tag.version", + "path": "QuestionnaireResponse.meta.tag.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "QuestionnaireResponse.meta.tag.code", + "path": "QuestionnaireResponse.meta.tag.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "QuestionnaireResponse.meta.tag.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "QuestionnaireResponse.meta.tag.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "QuestionnaireResponse.meta.tag.userSelected", + "path": "QuestionnaireResponse.meta.tag.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "QuestionnaireResponse.meta.tag:sdoh", + "path": "QuestionnaireResponse.meta.tag", + "sliceName": "sdoh", + "short": "SDOH Tag", + "definition": "Tags that a provider may use in their workflow to indicate/categorize that the context of this Questionnaire Response relates to Social Determinants of Health.", + "comment": "The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.", + "min": 0, + "max": "1", + "base": { + "path": "Meta.tag", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "patternCoding": { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "code": "sdoh" + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-tags" + } + }, + { + "id": "QuestionnaireResponse.implicitRules", + "path": "QuestionnaireResponse.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": "QuestionnaireResponse.language", + "path": "QuestionnaireResponse.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "QuestionnaireResponse.text", + "path": "QuestionnaireResponse.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": "QuestionnaireResponse.contained", + "path": "QuestionnaireResponse.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": "QuestionnaireResponse.extension", + "path": "QuestionnaireResponse.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "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": "QuestionnaireResponse.extension:signature", + "path": "QuestionnaireResponse.extension", + "sliceName": "signature", + "short": "A signature attesting to the content", + "definition": "Represents a wet or electronic signature for either the form overall or for the question or item it's associated with.", + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "QuestionnaireResponse.extension:completionMode", + "path": "QuestionnaireResponse.extension", + "sliceName": "completionMode", + "short": "E.g. Verbal, written, electronic", + "definition": "Indicates how the individual completing the QuestionnaireResponse provided their responses.", + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "QuestionnaireResponse.modifierExtension", + "path": "QuestionnaireResponse.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": "QuestionnaireResponse.identifier", + "path": "QuestionnaireResponse.identifier", + "short": "Unique id for this set of answers", + "definition": "A business identifier assigned to a particular completed (or partially completed) questionnaire.", + "requirements": "Used for tracking, registration and other business purposes.", + "min": 0, + "max": "1", + "base": { + "path": "QuestionnaireResponse.identifier", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "QuestionnaireResponse.basedOn", + "path": "QuestionnaireResponse.basedOn", + "short": "Request fulfilled by this QuestionnaireResponse", + "definition": "The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse. For example, a ServiceRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.", + "requirements": "Supports traceability of responsibility for the action and allows linkage of an action to the recommendations acted upon.", + "alias": [ + "order" + ], + "min": 0, + "max": "*", + "base": { + "path": "QuestionnaireResponse.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "QuestionnaireResponse.partOf", + "path": "QuestionnaireResponse.partOf", + "short": "Part of this action", + "definition": "A procedure or observation that this questionnaire was performed as part of the execution of. For example, the surgery a checklist was executed as part of.", + "comment": "Composition of questionnaire responses will be handled by the parent questionnaire having answers that reference the child questionnaire. For relationships to referrals, and other types of requests, use basedOn.", + "min": 0, + "max": "*", + "base": { + "path": "QuestionnaireResponse.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "QuestionnaireResponse.questionnaire", + "path": "QuestionnaireResponse.questionnaire", + "short": "Form being answered", + "definition": "The Questionnaire that defines and organizes the questions for which answers are being provided.", + "comment": "For SDC, this SHALL be the version-specific URL of the form as hosted on the Form Manager.", + "requirements": "Needed to allow editing of the questionnaire response in a manner that enforces the constraints of the original form.", + "alias": [ + "Form" + ], + "min": 1, + "max": "1", + "base": { + "path": "QuestionnaireResponse.questionnaire", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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.instantiates" + }, + { + "identity": "rim", + "map": "./outboundRelationship[typeCode=INST]/target[classCode=OBS, moodCode=DEFN]" + } + ] + }, + { + "id": "QuestionnaireResponse.questionnaire.id", + "path": "QuestionnaireResponse.questionnaire.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references)", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "QuestionnaireResponse.questionnaire.extension", + "path": "QuestionnaireResponse.questionnaire.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "QuestionnaireResponse.questionnaire.extension:questionnaireDisplay", + "path": "QuestionnaireResponse.questionnaire.extension", + "sliceName": "questionnaireDisplay", + "short": "Display name for canonical reference", + "definition": "The title or other name to display when referencing a resource by canonical URL.", + "comment": "This SHALL be the title of the Questionnaire at the time the QuestionnaireResponse was originally authored.", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/display" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false + }, + { + "id": "QuestionnaireResponse.questionnaire.extension:url", + "path": "QuestionnaireResponse.questionnaire.extension", + "sliceName": "url", + "short": "The location where a non-FHIR questionnaire/survey form can be found.", + "definition": "This extension is used when the survey,form, or questionnaire which is being anwered is not a FHIR [Questionnaire](https://www.hl7.org/fhir/questionnaire.html), otherwise the [canonical url](https://www.hl7.org/fhir/questionnaire.html#canonical) for the FHIR Questionnaire is used.", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-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" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "QuestionnaireResponse.questionnaire.value", + "path": "QuestionnaireResponse.questionnaire.value", + "representation": [ + "xmlAttr" + ], + "short": "Primitive value for canonical", + "definition": "Primitive value for canonical", + "min": 0, + "max": "1", + "base": { + "path": "uri.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/regex", + "valueString": "\\S*" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "QuestionnaireResponse.status", + "path": "QuestionnaireResponse.status", + "short": "in-progress | completed | amended | entered-in-error | stopped", + "definition": "The position of the questionnaire response within its overall lifecycle.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "The information on Questionnaire resources may possibly be gathered during multiple sessions and altered after considered being finished.", + "min": 1, + "max": "1", + "base": { + "path": "QuestionnaireResponse.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuestionnaireResponseStatus" + } + ], + "strength": "required", + "description": "Lifecycle status of the questionnaire response.", + "valueSet": "http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode (also whether there's a revisionControlAct - and possibly mood to distinguish \"in-progress\" from \"published)" + } + ] + }, + { + "id": "QuestionnaireResponse.subject", + "path": "QuestionnaireResponse.subject", + "short": "The subject of the questions", + "definition": "The subject of the questionnaire response. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information.", + "comment": "-", + "requirements": "Allows linking the answers to the individual the answers describe. May also affect access control.", + "alias": [ + "Patient", + "Focus" + ], + "min": 1, + "max": "1", + "base": { + "path": "QuestionnaireResponse.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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": "rim", + "map": ".participation[typeCode=SBJ].role" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "QuestionnaireResponse.encounter", + "path": "QuestionnaireResponse.encounter", + "short": "Encounter created as part of", + "definition": "The Encounter during which this questionnaire response 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. A questionnaire that was initiated during an encounter but not fully completed during the encounter would still generally be associated with the encounter.", + "requirements": "Provides context for the information that was captured. May also affect access control.", + "min": 0, + "max": "1", + "base": { + "path": "QuestionnaireResponse.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" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.encounter" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "rim", + "map": ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]" + } + ] + }, + { + "id": "QuestionnaireResponse.authored", + "path": "QuestionnaireResponse.authored", + "short": "Date the answers were gathered", + "definition": "Identifies when this version of the answer set was created. Changes whenever the answers are updated.", + "comment": "May be different from the lastUpdateTime of the resource itself, because that reflects when the data was known to the server, not when the data was captured.\n\nThis element is optional to allow for systems that might not know the value, however it SHOULD be populated if possible.", + "requirements": "Clinicians need to be able to check the date that the information in the questionnaire was collected, to derive the context of the answers.", + "alias": [ + "Date Created", + "Date published", + "Date Issued", + "Date updated" + ], + "min": 1, + "max": "1", + "base": { + "path": "QuestionnaireResponse.authored", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "QuestionnaireResponse.author", + "path": "QuestionnaireResponse.author", + "short": "Person who received and recorded the answers", + "definition": "Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.", + "comment": "Mapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation. Authoring by device would indicate that some portion of the questionnaire had been auto-populated.", + "requirements": "Need to know who interpreted the subject's answers to the questions in the questionnaire, and selected the appropriate options for answers.", + "alias": [ + "Laboratory", + "Service", + "Practitioner", + "Department", + "Company", + "Performer" + ], + "min": 0, + "max": "1", + "base": { + "path": "QuestionnaireResponse.author", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "w5", + "map": "FiveWs.author" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + } + ] + }, + { + "id": "QuestionnaireResponse.source", + "path": "QuestionnaireResponse.source", + "short": "The person who answered the questions", + "definition": "The person who answered the questions about the subject.", + "comment": "If not specified, no inference can be made about who provided the data.", + "requirements": "When answering questions about a subject that is minor, incapable of answering or an animal, another human source may answer the questions.", + "min": 0, + "max": "1", + "base": { + "path": "QuestionnaireResponse.source", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": false, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.source" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + } + ] + }, + { + "id": "QuestionnaireResponse.item", + "path": "QuestionnaireResponse.item", + "short": "Groups and questions", + "definition": "A group or question item from the original questionnaire for which answers are provided.", + "comment": "Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).", + "min": 0, + "max": "*", + "base": { + "path": "QuestionnaireResponse.item", + "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": "qrs-1", + "severity": "error", + "human": "Nested item can't be beneath both item and answer", + "expression": "(answer.exists() and item.exists()).not()", + "xpath": "not(exists(f:answer) and exists(f:item))", + "source": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "QuestionnaireResponse.item.id", + "path": "QuestionnaireResponse.item.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": "QuestionnaireResponse.item.extension", + "path": "QuestionnaireResponse.item.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "QuestionnaireResponse.item.extension:itemMedia", + "path": "QuestionnaireResponse.item.extension", + "sliceName": "itemMedia", + "short": "Media to display", + "definition": "Media to render/make available as an accompaniment to the question being asked", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemMedia" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "QuestionnaireResponse.item.extension:ItemSignature", + "path": "QuestionnaireResponse.item.extension", + "sliceName": "ItemSignature", + "short": "A signature attesting to the content", + "definition": "Represents a wet or electronic signature for either the form overall or for the question or item it's associated with.", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "QuestionnaireResponse.item.modifierExtension", + "path": "QuestionnaireResponse.item.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": "QuestionnaireResponse.item.linkId", + "path": "QuestionnaireResponse.item.linkId", + "short": "Pointer to specific item from Questionnaire", + "definition": "The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource.", + "requirements": "Items can repeat in the answers, so a direct 1..1 correspondence by position might not exist - requiring correspondence by identifier.", + "min": 1, + "max": "1", + "base": { + "path": "QuestionnaireResponse.item.linkId", + "min": 1, + "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": false, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id" + } + ] + }, + { + "id": "QuestionnaireResponse.item.definition", + "path": "QuestionnaireResponse.item.definition", + "short": "ElementDefinition - details for the item", + "definition": "A reference to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides the details for the item.", + "comment": "The ElementDefinition must be in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].\n\nThere is no need for this element if the item pointed to by the linkId has a definition listed.", + "requirements": "A common pattern is to define a set of data elements, and then build multiple different questionnaires for different circumstances to gather the data. This element provides traceability to the common definition.", + "min": 0, + "max": "1", + "base": { + "path": "QuestionnaireResponse.item.definition", + "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": ".outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code" + } + ] + }, + { + "id": "QuestionnaireResponse.item.text", + "path": "QuestionnaireResponse.item.text", + "short": "Name for group or question text", + "definition": "Text that is displayed above the contents of the group or as the text of the question being answered.", + "requirements": "Allows the questionnaire response to be read without access to the questionnaire.", + "min": 0, + "max": "1", + "base": { + "path": "QuestionnaireResponse.item.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "QuestionnaireResponse.item.answer", + "path": "QuestionnaireResponse.item.answer", + "short": "The response(s) to the question", + "definition": "The respondent's answer(s) to the question.", + "comment": "The value is nested because we cannot have a repeating structure that has variable type.", + "min": 0, + "max": "*", + "base": { + "path": "QuestionnaireResponse.item.answer", + "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": ".value[type=LIST_ANY]" + } + ] + }, + { + "id": "QuestionnaireResponse.item.answer.id", + "path": "QuestionnaireResponse.item.answer.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": "QuestionnaireResponse.item.answer.extension", + "path": "QuestionnaireResponse.item.answer.extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false + }, + { + "id": "QuestionnaireResponse.item.answer.extension:itemAnswerMedia", + "path": "QuestionnaireResponse.item.answer.extension", + "sliceName": "itemAnswerMedia", + "short": "Answer Media to display", + "definition": "Media to render/make available as an accompaniment to a specific answer option", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemAnswerMedia" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "QuestionnaireResponse.item.answer.extension:ordinalValue", + "path": "QuestionnaireResponse.item.answer.extension", + "sliceName": "ordinalValue", + "short": "Assigned Ordinal Value", + "definition": "A numeric value that allows the comparison (less than, greater than) or other numerical \nmanipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores.", + "comment": "Scores are commonly encountered in various clinical assessment scales. Assigning a value to a concept should generally be done in a formal code system that defines the value, or in an applicable value set for the concept, but some concepts do not have a formal definition (or are not even represented as a concept formally, especially in [Questionnaires](http://hl7.org/fhir/R4/questionnaire.html), \nso this extension is allowed to appear ouside those preferred contexts. Scores may even be assigned arbitrarily during use (hence, on Coding). The value may be constrained to an integer in some contexts of use. Todo: Scoring algorithms may also be defined directly, but how this is done is not yet defined.", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/ordinalValue" + ] + } + ], + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "mustSupport": false, + "isModifier": false + }, + { + "id": "QuestionnaireResponse.item.answer.modifierExtension", + "path": "QuestionnaireResponse.item.answer.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": "QuestionnaireResponse.item.answer.value[x]", + "path": "QuestionnaireResponse.item.answer.value[x]", + "short": "Single-valued answer to the question", + "definition": "The answer (or one of the answers) provided by the respondent to the question.", + "comment": "More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type. Additional complex types can be introduced through extensions. Must match the datatype specified by Questionnaire.item.type in the corresponding Questionnaire.", + "requirements": "Ability to retain a single-valued answer to a question.", + "min": 0, + "max": "1", + "base": { + "path": "QuestionnaireResponse.item.answer.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "decimal" + }, + { + "code": "integer" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Coding" + }, + { + "code": "uri" + }, + { + "code": "Quantity" + }, + { + "code": "Attachment" + }, + { + "code": "Reference" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "QuestionnaireAnswer" + } + ], + "strength": "example", + "description": "Code indicating the response provided for a question.", + "valueSet": "http://hl7.org/fhir/ValueSet/questionnaire-answers" + }, + "mapping": [ + { + "identity": "rim", + "map": ".item" + } + ] + }, + { + "id": "QuestionnaireResponse.item.answer.item", + "path": "QuestionnaireResponse.item.answer.item", + "short": "Nested groups and questions", + "definition": "Nested groups and/or questions found within this particular answer.", + "requirements": "It is useful to have \"sub-questions\", questions which normally appear when certain answers are given and which collect additional details.", + "min": 0, + "max": "*", + "base": { + "path": "QuestionnaireResponse.item.answer.item", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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=COMP].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "QuestionnaireResponse.item.item", + "path": "QuestionnaireResponse.item.item", + "short": "Nested questionnaire response items", + "definition": "Questions or sub-groups nested beneath a question or group.", + "requirements": "Reports can consist of complex nested groups.", + "min": 0, + "max": "*", + "base": { + "path": "QuestionnaireResponse.item.item", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse.item", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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=COMP].target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "QuestionnaireResponse", + "path": "QuestionnaireResponse", + "short": "US Core Profile based on SDC QuestionnaireResponse", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "QuestionnaireResponse.meta", + "path": "QuestionnaireResponse.meta", + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.meta.tag", + "path": "QuestionnaireResponse.meta.tag", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "ordered": false, + "rules": "open" + }, + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.meta.tag.code", + "path": "QuestionnaireResponse.meta.tag.code", + "min": 1 + }, + { + "id": "QuestionnaireResponse.meta.tag:sdoh", + "path": "QuestionnaireResponse.meta.tag", + "sliceName": "sdoh", + "short": "SDOH Tag", + "definition": "Tags that a provider may use in their workflow to indicate/categorize that the context of this Questionnaire Response relates to Social Determinants of Health.", + "max": "1", + "patternCoding": { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "code": "sdoh" + }, + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-tags" + } + }, + { + "id": "QuestionnaireResponse.questionnaire", + "path": "QuestionnaireResponse.questionnaire", + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.questionnaire.extension:url", + "path": "QuestionnaireResponse.questionnaire.extension", + "sliceName": "url", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri" + ] + } + ], + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.status", + "path": "QuestionnaireResponse.status", + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.subject", + "path": "QuestionnaireResponse.subject", + "comment": "-", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.authored", + "path": "QuestionnaireResponse.authored", + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.author", + "path": "QuestionnaireResponse.author", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.item", + "path": "QuestionnaireResponse.item", + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.item.linkId", + "path": "QuestionnaireResponse.item.linkId", + "mustSupport": true + }, + { + "id": "QuestionnaireResponse.item.answer.value[x]", + "path": "QuestionnaireResponse.item.answer.value[x]", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "decimal" + }, + { + "code": "integer" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Coding" + }, + { + "code": "uri" + }, + { + "code": "Quantity" + }, + { + "code": "Attachment" + }, + { + "code": "Reference" + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-race.json new file mode 100644 index 00000000000..54f1ad10875 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-race.json @@ -0,0 +1,1213 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "version": "5.0.0", + "name": "USCoreRaceExtension", + "title": "US Core Race Extension", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.", + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "fhirVersion": "4.0.1", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "context": [ + { + "type": "element", + "expression": "Patient" + }, + { + "type": "element", + "expression": "RelatedPerson" + }, + { + "type": "element", + "expression": "Person" + }, + { + "type": "element", + "expression": "Practitioner" + }, + { + "type": "element", + "expression": "FamilyMemberHistory" + } + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1", + "base": { + "path": "Extension", + "min": 0, + "max": "*" + }, + "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": "Extension.id", + "path": "Extension.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": "Extension.extension", + "path": "Extension.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": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White", + "definition": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "5", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/raceCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.id", + "path": "Extension.extension.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": "Extension.extension:ombCategory.extension", + "path": "Extension.extension.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": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "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": false, + "binding": { + "strength": "required", + "description": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended race codes", + "definition": "The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.", + "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": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode" + } + ] + }, + { + "id": "Extension.extension:detailed.id", + "path": "Extension.extension.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": "Extension.extension:detailed.extension", + "path": "Extension.extension.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": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "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": false, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-race" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "Race Text", + "definition": "Plain text representation of the race concept(s).", + "min": 1, + "max": "1", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Extension.extension:text.id", + "path": "Extension.extension.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": "Extension.extension:text.extension", + "path": "Extension.extension.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": "Extension.extension:text.url", + "path": "Extension.extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "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": "Extension.url", + "path": "Extension.url", + "representation": [ + "xmlAttr" + ], + "short": "identifies the meaning of the extension", + "definition": "Source of the definition for the extension code - a logical name or a URL.", + "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.url", + "min": 1, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "uri" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "code": "canonical" + }, + { + "code": "code" + }, + { + "code": "date" + }, + { + "code": "dateTime" + }, + { + "code": "decimal" + }, + { + "code": "id" + }, + { + "code": "instant" + }, + { + "code": "integer" + }, + { + "code": "markdown" + }, + { + "code": "oid" + }, + { + "code": "positiveInt" + }, + { + "code": "string" + }, + { + "code": "time" + }, + { + "code": "unsignedInt" + }, + { + "code": "uri" + }, + { + "code": "url" + }, + { + "code": "uuid" + }, + { + "code": "Address" + }, + { + "code": "Age" + }, + { + "code": "Annotation" + }, + { + "code": "Attachment" + }, + { + "code": "CodeableConcept" + }, + { + "code": "Coding" + }, + { + "code": "ContactPoint" + }, + { + "code": "Count" + }, + { + "code": "Distance" + }, + { + "code": "Duration" + }, + { + "code": "HumanName" + }, + { + "code": "Identifier" + }, + { + "code": "Money" + }, + { + "code": "Period" + }, + { + "code": "Quantity" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "Reference" + }, + { + "code": "SampledData" + }, + { + "code": "Signature" + }, + { + "code": "Timing" + }, + { + "code": "ContactDetail" + }, + { + "code": "Contributor" + }, + { + "code": "DataRequirement" + }, + { + "code": "Expression" + }, + { + "code": "ParameterDefinition" + }, + { + "code": "RelatedArtifact" + }, + { + "code": "TriggerDefinition" + }, + { + "code": "UsageContext" + }, + { + "code": "Dosage" + }, + { + "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": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension", + "path": "Extension", + "short": "US Core Race Extension", + "definition": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "min": 0, + "max": "1" + }, + { + "id": "Extension.extension:ombCategory", + "path": "Extension.extension", + "sliceName": "ombCategory", + "short": "American Indian or Alaska Native|Asian|Black or African American|Native Hawaiian or Other Pacific Islander|White", + "definition": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "min": 0, + "max": "5", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/raceCode" + } + ] + }, + { + "id": "Extension.extension:ombCategory.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "ombCategory" + }, + { + "id": "Extension.extension:ombCategory.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "description": "The 5 race category codes according to the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category" + } + }, + { + "id": "Extension.extension:detailed", + "path": "Extension.extension", + "sliceName": "detailed", + "short": "Extended race codes", + "definition": "The 900+ CDC race codes that are grouped under one of the 5 OMB race category codes:.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode" + } + ] + }, + { + "id": "Extension.extension:detailed.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "detailed" + }, + { + "id": "Extension.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/detailed-race" + } + }, + { + "id": "Extension.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "Race Text", + "definition": "Plain text representation of the race concept(s).", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "mustSupport": true + }, + { + "id": "Extension.extension:text.url", + "path": "Extension.extension.url", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "text" + }, + { + "id": "Extension.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension.url", + "path": "Extension.url", + "min": 1, + "max": "1", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + }, + { + "id": "Extension.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-relatedperson.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-relatedperson.json new file mode 100644 index 00000000000..4c650d4a688 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-relatedperson.json @@ -0,0 +1,1297 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-relatedperson", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "version": "5.0.0", + "name": "USCoreRelatedPersonProfile", + "title": "US Core RelatedPerson Profile", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for the RelatedPerson resource to record, search, and fetch related persons associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "RelatedPerson", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "RelatedPerson", + "path": "RelatedPerson", + "short": "A person that is related to a patient, but who is not a direct target of care", + "definition": "\\-", + "comment": "\\-", + "min": 0, + "max": "*", + "base": { + "path": "RelatedPerson", + "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": "us-core-14", + "severity": "error", + "human": "Either a name or a relationship SHALL be provided (or both)", + "expression": "name.exists() or relationship.exists()" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "role" + } + ] + }, + { + "id": "RelatedPerson.id", + "path": "RelatedPerson.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "RelatedPerson.meta", + "path": "RelatedPerson.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": "RelatedPerson.implicitRules", + "path": "RelatedPerson.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": "RelatedPerson.language", + "path": "RelatedPerson.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "RelatedPerson.text", + "path": "RelatedPerson.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": "RelatedPerson.contained", + "path": "RelatedPerson.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": "RelatedPerson.extension", + "path": "RelatedPerson.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": "RelatedPerson.modifierExtension", + "path": "RelatedPerson.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": "RelatedPerson.identifier", + "path": "RelatedPerson.identifier", + "short": "A human identifier for this person", + "definition": "Identifier for a person within a particular scope.", + "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.", + "min": 0, + "max": "*", + "base": { + "path": "RelatedPerson.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": "NK1-33" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "RelatedPerson.active", + "path": "RelatedPerson.active", + "short": "Whether this related person's record is in active use", + "definition": "Whether this related person record is in active use.", + "comment": "This element is labeled as a modifier because it may be used to mark that the resource was created in error.", + "requirements": "Need to be able to mark a related person record as not to be used, such as if it was created in error.", + "min": 1, + "max": "1", + "base": { + "path": "RelatedPerson.active", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "This resource is generally assumed to be active if no value is provided for the active element", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid", + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "rim", + "map": ".statusCode" + } + ] + }, + { + "id": "RelatedPerson.patient", + "path": "RelatedPerson.patient", + "short": "The patient this person is related to", + "definition": "The patient this person is related to.", + "requirements": "We need to know which patient this RelatedPerson is related to.", + "min": 1, + "max": "1", + "base": { + "path": "RelatedPerson.patient", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id" + } + ] + }, + { + "id": "RelatedPerson.relationship", + "path": "RelatedPerson.relationship", + "short": "The nature of the relationship", + "definition": "The nature of the relationship between a patient and the related person.", + "requirements": "We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.", + "min": 0, + "max": "*", + "base": { + "path": "RelatedPerson.relationship", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "us-core-14" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "PatientRelationshipType" + } + ], + "strength": "preferred", + "description": "The nature of the relationship between a patient and the related person.", + "valueSet": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "NK1-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "RelatedPerson.name", + "path": "RelatedPerson.name", + "short": "A name associated with the person", + "definition": "A name associated with the person.", + "requirements": "Related persons need to be identified by name, but it is uncommon to need details about multiple other names for that person.", + "min": 0, + "max": "*", + "base": { + "path": "RelatedPerson.name", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "HumanName" + } + ], + "condition": [ + "us-core-14" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "NK1-2" + }, + { + "identity": "rim", + "map": "name" + } + ] + }, + { + "id": "RelatedPerson.telecom", + "path": "RelatedPerson.telecom", + "short": "A contact detail for the person", + "definition": "A contact detail for the person, e.g. a telephone number or an email address.", + "comment": "Person may have multiple ways to be contacted with different uses or applicable periods. May need to have options for contacting the person urgently, and also to help with identification.", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "base": { + "path": "RelatedPerson.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "NK1-5 / NK1-6 / NK1-40" + }, + { + "identity": "rim", + "map": "telecom" + } + ] + }, + { + "id": "RelatedPerson.gender", + "path": "RelatedPerson.gender", + "short": "male | female | other | unknown", + "definition": "Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.", + "requirements": "Needed for identification of the person, in combination with (at least) name and birth date.", + "min": 0, + "max": "1", + "base": { + "path": "RelatedPerson.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "AdministrativeGender" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSet": "http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-15" + }, + { + "identity": "rim", + "map": "administrativeGender" + } + ] + }, + { + "id": "RelatedPerson.birthDate", + "path": "RelatedPerson.birthDate", + "short": "The date on which the related person was born", + "definition": "The date on which the related person was born.", + "min": 0, + "max": "1", + "base": { + "path": "RelatedPerson.birthDate", + "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": true, + "mapping": [ + { + "identity": "rim", + "map": "player.birthTime" + } + ] + }, + { + "id": "RelatedPerson.address", + "path": "RelatedPerson.address", + "short": "Address where the related person can be contacted or visited", + "definition": "Address where the related person can be contacted or visited.", + "requirements": "Need to keep track where the related person can be contacted per postal mail or visited.", + "min": 0, + "max": "*", + "base": { + "path": "RelatedPerson.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "NK1-4" + }, + { + "identity": "rim", + "map": "addr" + } + ] + }, + { + "id": "RelatedPerson.photo", + "path": "RelatedPerson.photo", + "short": "Image of the person", + "definition": "Image of the person.", + "requirements": "Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "base": { + "path": "RelatedPerson.photo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Attachment" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 - needs a profile" + }, + { + "identity": "rim", + "map": "player[classCode='PSN' and determinerCode='INSTANCE']/desc" + } + ] + }, + { + "id": "RelatedPerson.period", + "path": "RelatedPerson.period", + "short": "Period of time that this relationship is considered valid", + "definition": "The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown.", + "min": 0, + "max": "1", + "base": { + "path": "RelatedPerson.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": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "RelatedPerson.communication", + "path": "RelatedPerson.communication", + "short": "A language which may be used to communicate with about the patient's health", + "definition": "A language which may be used to communicate with about the patient's health.", + "comment": "If no language is specified, this *implies* that the default local language is spoken. If you need to convey proficiency for multiple modes, then you need multiple RelatedPerson.Communication associations. If the RelatedPerson does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.", + "requirements": "If a related person does not speak the local language, interpreters may be required, so languages spoken and proficiency is an important things to keep track of both for patient and other persons of interest.", + "min": 0, + "max": "*", + "base": { + "path": "RelatedPerson.communication", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "LanguageCommunication" + } + ] + }, + { + "id": "RelatedPerson.communication.id", + "path": "RelatedPerson.communication.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "RelatedPerson.communication.extension", + "path": "RelatedPerson.communication.extension", + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "RelatedPerson.communication.modifierExtension", + "path": "RelatedPerson.communication.modifierExtension", + "short": "Extensions that cannot be ignored even if unrecognized", + "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": true, + "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "RelatedPerson.communication.language", + "path": "RelatedPerson.communication.language", + "short": "The language which can be used to communicate with the patient about his or her health", + "definition": "The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. \"en\" for English, or \"en-US\" for American English versus \"en-EN\" for England English.", + "comment": "The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.", + "requirements": "Most systems in multilingual countries will want to convey language. Not all systems actually need the regional dialect.", + "min": 1, + "max": "1", + "base": { + "path": "RelatedPerson.communication.language", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + }, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code" + } + ] + }, + { + "id": "RelatedPerson.communication.preferred", + "path": "RelatedPerson.communication.preferred", + "short": "Language preference indicator", + "definition": "Indicates whether or not the patient prefers this language (over other languages he masters up a certain level).", + "comment": "This language is specifically identified for communicating healthcare information.", + "requirements": "People that master multiple languages up to certain level may prefer one or more, i.e. feel more confident in communicating in a particular language making other languages sort of a fall back method.", + "min": 0, + "max": "1", + "base": { + "path": "RelatedPerson.communication.preferred", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "preferenceInd" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "RelatedPerson", + "path": "RelatedPerson", + "definition": "\\-", + "comment": "\\-", + "constraint": [ + { + "key": "us-core-14", + "severity": "error", + "human": "Either a name or a relationship SHALL be provided (or both)", + "expression": "name.exists() or relationship.exists()" + } + ] + }, + { + "id": "RelatedPerson.active", + "path": "RelatedPerson.active", + "min": 1, + "mustSupport": true + }, + { + "id": "RelatedPerson.patient", + "path": "RelatedPerson.patient", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "RelatedPerson.relationship", + "path": "RelatedPerson.relationship", + "condition": [ + "us-core-14" + ], + "mustSupport": true + }, + { + "id": "RelatedPerson.name", + "path": "RelatedPerson.name", + "condition": [ + "us-core-14" + ], + "mustSupport": true + }, + { + "id": "RelatedPerson.telecom", + "path": "RelatedPerson.telecom", + "mustSupport": true + }, + { + "id": "RelatedPerson.address", + "path": "RelatedPerson.address", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-respiratory-rate.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-respiratory-rate.json new file mode 100644 index 00000000000..d0ae8231eac --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-respiratory-rate.json @@ -0,0 +1,3814 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-respiratory-rate", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate", + "version": "5.0.0", + "name": "USCoreRespiratoryRateProfile", + "title": "US Core Respiratory Rate Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch respiratory rate observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Respiratory Rate Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Respiratory Rate", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity", + "path": "Observation.value[x]", + "sliceName": "valueQuantity", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.id", + "path": "Observation.value[x].id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.extension", + "path": "Observation.value[x].extension", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "url" + } + ], + "description": "Extensions are always sliced by (at least) url", + "rules": "open" + }, + "short": "Additional content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", + "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])", + "source": "http://hl7.org/fhir/StructureDefinition/Extension" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.value", + "path": "Observation.value[x].value", + "short": "Numerical value (with implicit precision)", + "definition": "The value of the measured amount. The value includes an implicit precision in the presentation of the value.", + "comment": "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).", + "requirements": "Precision is handled implicitly in almost all cases of measurement.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.value", + "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" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SN.2 / CQ - N/A" + }, + { + "identity": "rim", + "map": "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.comparator", + "path": "Observation.value[x].comparator", + "short": "< | <= | >= | > - how to understand the value", + "definition": "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 0, + "max": "1", + "base": { + "path": "Quantity.comparator", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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 is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "QuantityComparator" + } + ], + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSet": "http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1" + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.unit", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.value[x].unit", + "short": "Unit representation", + "definition": "A human-readable form of the unit.", + "requirements": "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.system", + "path": "Observation.value[x].system", + "short": "System that defines coded unit form", + "definition": "The identification of the system that provides the coded form of the unit.", + "requirements": "Need to know the system that defines the coded form of the unit.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "condition": [ + "qty-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation.value[x]:valueQuantity.code", + "path": "Observation.value[x].code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "definition": "A computer processable form of the unit in some unit representation system.", + "comment": "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.", + "requirements": "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.", + "min": 1, + "max": "1", + "base": { + "path": "Quantity.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "/min", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Respiratory Rate Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Respiratory Rate", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.valueQuantity", + "path": "Observation.valueQuantity", + "min": 0, + "max": "1", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true + }, + { + "id": "Observation.valueQuantity.code", + "path": "Observation.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "/min", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-servicerequest.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-servicerequest.json new file mode 100644 index 00000000000..bc64f331ab5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-servicerequest.json @@ -0,0 +1,2566 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-servicerequest", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest", + "version": "5.0.0", + "name": "USCoreServiceRequestProfile", + "title": "US Core ServiceRequest Profile", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This profile sets minimum expectations for recording, searching, and fetching using the ServiceRequest resource to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "quick", + "uri": "http://siframework.org/cqf", + "name": "Quality Improvement and Clinical Knowledge (QUICK)" + } + ], + "kind": "resource", + "abstract": false, + "type": "ServiceRequest", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "ServiceRequest", + "path": "ServiceRequest", + "short": "A request for a service to be performed", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "diagnostic request", + "referral", + "referral request", + "transfer of care request" + ], + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest", + "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": "prr-1", + "severity": "error", + "human": "orderDetail SHALL only be present if code is present", + "expression": "orderDetail.empty() or code.exists()", + "xpath": "exists(f:code) or not(exists(f:orderDetail))", + "source": "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Request" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": "Act[moodCode<=INT]" + } + ] + }, + { + "id": "ServiceRequest.id", + "path": "ServiceRequest.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "ServiceRequest.meta", + "path": "ServiceRequest.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": "ServiceRequest.implicitRules", + "path": "ServiceRequest.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": "ServiceRequest.language", + "path": "ServiceRequest.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "ServiceRequest.text", + "path": "ServiceRequest.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": "ServiceRequest.contained", + "path": "ServiceRequest.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": "ServiceRequest.extension", + "path": "ServiceRequest.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": "ServiceRequest.modifierExtension", + "path": "ServiceRequest.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": "ServiceRequest.identifier", + "path": "ServiceRequest.identifier", + "short": "Identifiers assigned to this order", + "definition": "Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.", + "comment": "The identifier.type element is used to distinguish between the identifiers assigned by the orderer (known as the 'Placer' in HL7 v2) and the producer of the observations in response to the order (known as the 'Filler' in HL7 v2). For further discussion and examples see the resource notes section below.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.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": "Request.identifier" + }, + { + "identity": "w5", + "map": "FiveWs.identifier" + }, + { + "identity": "v2", + "map": "ORC.2, ORC.3, RF1-6 / RF1-11," + }, + { + "identity": "rim", + "map": ".identifier" + }, + { + "identity": "quick", + "map": "ClinicalStatement.identifier" + } + ] + }, + { + "id": "ServiceRequest.instantiatesCanonical", + "path": "ServiceRequest.instantiatesCanonical", + "short": "Instantiates FHIR protocol or definition", + "definition": "The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.", + "comment": "Note: 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.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.instantiatesCanonical", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "canonical", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/ActivityDefinition", + "http://hl7.org/fhir/StructureDefinition/PlanDefinition" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesCanonical" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "ServiceRequest.instantiatesUri", + "path": "ServiceRequest.instantiatesUri", + "short": "Instantiates external protocol or definition", + "definition": "The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.", + "comment": "This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.instantiatesUri", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "uri" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.instantiatesUri" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=DEFN].target" + } + ] + }, + { + "id": "ServiceRequest.basedOn", + "path": "ServiceRequest.basedOn", + "short": "What request fulfills", + "definition": "Plan/proposal/order fulfilled by this request.", + "alias": [ + "fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.basedOn" + }, + { + "identity": "v2", + "map": "ORC.8 (plus others)" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "ServiceRequest.replaces", + "path": "ServiceRequest.replaces", + "short": "What request replaces", + "definition": "The request takes the place of the referenced completed or terminated request(s).", + "alias": [ + "supersedes", + "prior", + "renewed order" + ], + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.replaces", + "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": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.replaces" + }, + { + "identity": "v2", + "map": "Handled by message location of ORC (ORC.1=RO or RU)" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=RPLC].target" + } + ] + }, + { + "id": "ServiceRequest.requisition", + "path": "ServiceRequest.requisition", + "short": "Composite Request ID", + "definition": "A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier.", + "comment": "Requests are linked either by a \"basedOn\" relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation.", + "requirements": "Some business processes need to know if multiple items were ordered as part of the same \"requisition\" for billing or other purposes.", + "alias": [ + "grouperId", + "groupIdentifier" + ], + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.requisition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.groupIdentifier" + }, + { + "identity": "v2", + "map": "ORC.4" + }, + { + "identity": "rim", + "map": ".inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier" + } + ] + }, + { + "id": "ServiceRequest.status", + "path": "ServiceRequest.status", + "short": "draft | active | on-hold | revoked | completed | entered-in-error | unknown", + "definition": "The status of the order.", + "comment": "The status is generally fully in the control of the requester - they determine whether the order is draft or active and, after it has been activated, competed, cancelled or suspended. States relating to the activities of the performer are reflected on either the corresponding event (see [Event Pattern](event.html) for general discussion) or using the [Task](http://hl7.org/fhir/R4/task.html) resource.", + "min": 1, + "max": "1", + "base": { + "path": "ServiceRequest.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": "ServiceRequestStatus" + } + ], + "strength": "required", + "description": "The status of a service order.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "v2", + "map": "ORC.5,RF1-1" + }, + { + "identity": "rim", + "map": ".status" + }, + { + "identity": "quick", + "map": "Action.currentStatus" + } + ] + }, + { + "id": "ServiceRequest.intent", + "path": "ServiceRequest.intent", + "short": "proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option", + "definition": "Whether the request is a proposal, plan, an original order or a reflex order.", + "comment": "This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.", + "min": 1, + "max": "1", + "base": { + "path": "ServiceRequest.intent", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": true, + "isModifierReason": "This element changes the interpretation of all descriptive attributes. For example \"the time the request is recommended to occur\" vs. \"the time the request is authorized to occur\" or \"who is recommended to perform the request\" vs. \"who is authorized to perform the request", + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ServiceRequestIntent" + } + ], + "strength": "required", + "description": "The kind of service request.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-intent|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.intent" + }, + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)" + } + ] + }, + { + "id": "ServiceRequest.category", + "path": "ServiceRequest.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of service", + "definition": "A code that classifies the service for searching, sorting and display purposes (e.g. \"Surgical Procedure\").", + "comment": "There may be multiple axis of categorization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what service request are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "ServiceRequest.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ServiceRequestCategory" + } + ], + "strength": "example", + "description": "Classification of the requested service.", + "valueSet": "http://hl7.org/fhir/ValueSet/servicerequest-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "RF1-5" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"INT\"].code" + } + ] + }, + { + "id": "ServiceRequest.category:us-core", + "path": "ServiceRequest.category", + "sliceName": "us-core", + "short": "Classification of service", + "definition": "A code that classifies the service for searching, sorting and display purposes (e.g. \"Surgical Procedure\").", + "comment": "There may be multiple axis of categorization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what service request are retrieved and displayed.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.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": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-servicerequest-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "v2", + "map": "RF1-5" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"INT\"].code" + } + ] + }, + { + "id": "ServiceRequest.priority", + "path": "ServiceRequest.priority", + "short": "routine | urgent | asap | stat", + "definition": "Indicates how quickly the ServiceRequest should be addressed with respect to other requests.", + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.priority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If missing, this task should be performed with normal priority", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ServiceRequestPriority" + } + ], + "strength": "required", + "description": "Identifies the level of importance to be assigned to actioning the request.", + "valueSet": "http://hl7.org/fhir/ValueSet/request-priority|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.priority" + }, + { + "identity": "w5", + "map": "FiveWs.grade" + }, + { + "identity": "v2", + "map": "TQ1.9, RF1-2" + }, + { + "identity": "rim", + "map": ".priorityCode" + } + ] + }, + { + "id": "ServiceRequest.doNotPerform", + "path": "ServiceRequest.doNotPerform", + "short": "True if service/procedure should not be performed", + "definition": "Set this to true if the record is saying that the service/procedure should NOT be performed.", + "comment": "In general, only the code and timeframe will be present, though occasional additional qualifiers such as body site or even performer could be included to narrow the scope of the prohibition. If the ServiceRequest.code and ServiceRequest.doNotPerform both contain negation, that will reinforce prohibition and should not have a double negative interpretation.", + "requirements": "Used for do not ambulate, do not elevate head of bed, do not flush NG tube, do not take blood pressure on a certain arm, etc.", + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.doNotPerform", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "meaningWhenMissing": "If missing, the request is a positive request e.g. \"do perform\"", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have 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": "If true this element negates the specified action. For Example, instead of a request for a procedure, it is a request for the procedure to not occur.", + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.doNotPerform" + }, + { + "identity": "rim", + "map": ".actionNegationInd" + } + ] + }, + { + "id": "ServiceRequest.code", + "path": "ServiceRequest.code", + "short": "What is being requested/ordered", + "definition": "A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.", + "comment": "Many laboratory and radiology procedure codes embed the specimen/organ system in the test order name, for example, serum or serum/plasma glucose, or a chest x-ray. The specimen might not be recorded separately from the test code.", + "alias": [ + "service requested" + ], + "min": 1, + "max": "1", + "base": { + "path": "ServiceRequest.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": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "v2", + "map": "PR1-3 / OBR-4 (varies by domain)" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "quick", + "map": "Procedure.procedureCode" + } + ] + }, + { + "id": "ServiceRequest.orderDetail", + "path": "ServiceRequest.orderDetail", + "short": "Additional order information", + "definition": "Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied.", + "comment": "For information from the medical record intended to support the delivery of the requested services, use the `supportingInformation` element.", + "alias": [ + "detailed instructions" + ], + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.orderDetail", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "prr-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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "OrderDetail" + } + ], + "strength": "example", + "description": "Codified order entry details which are based on order context.", + "valueSet": "http://hl7.org/fhir/ValueSet/servicerequest-orderdetail" + }, + "mapping": [ + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "quick", + "map": "Procedure.procedureCode" + } + ] + }, + { + "id": "ServiceRequest.quantity[x]", + "path": "ServiceRequest.quantity[x]", + "short": "Service amount", + "definition": "An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).", + "requirements": "When ordering a service the number of service items may need to be specified separately from the the service item.", + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.quantity[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "Ratio" + }, + { + "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" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".quantity" + } + ] + }, + { + "id": "ServiceRequest.subject", + "path": "ServiceRequest.subject", + "short": "Individual or Entity the service is ordered for", + "definition": "On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).", + "min": 1, + "max": "1", + "base": { + "path": "ServiceRequest.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "PID" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role" + }, + { + "identity": "quick", + "map": "ClinicalStatement.subject" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "ServiceRequest.encounter", + "path": "ServiceRequest.encounter", + "short": "Encounter in which the request was created", + "definition": "An encounter that provides additional information about the healthcare context in which this request is made.", + "alias": [ + "context" + ], + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.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": "Request.encounter" + }, + { + "identity": "w5", + "map": "FiveWs.context" + }, + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": ".inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]" + }, + { + "identity": "quick", + "map": "ClinicalStatement.encounter" + } + ] + }, + { + "id": "ServiceRequest.occurrence[x]", + "path": "ServiceRequest.occurrence[x]", + "short": "When service should occur", + "definition": "The date/time at which the requested service should occur.", + "alias": [ + "schedule" + ], + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.occurrence[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Period" + }, + { + "code": "dateTime" + }, + { + "code": "Timing" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.planned" + }, + { + "identity": "v2", + "map": "TQ1/TQ2, OBR-7/OBR-8" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "quick", + "map": "Procedure.procedureSchedule" + } + ] + }, + { + "id": "ServiceRequest.asNeeded[x]", + "path": "ServiceRequest.asNeeded[x]", + "short": "Preconditions for service", + "definition": "If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example \"pain\", \"on flare-up\", etc.", + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.asNeeded[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ProcedureAsNeededReason" + } + ], + "strength": "example", + "description": "A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example \"pain\", \"on flare-up\", etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/medication-as-needed-reason" + }, + "mapping": [ + { + "identity": "rim", + "map": "boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code=\"Assertion\"].value" + }, + { + "identity": "quick", + "map": "Proposal.prnReason.reason" + } + ] + }, + { + "id": "ServiceRequest.authoredOn", + "path": "ServiceRequest.authoredOn", + "short": "Date request signed", + "definition": "When the request transitioned to being actionable.", + "alias": [ + "orderedOn" + ], + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.authoredOn", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.authoredOn" + }, + { + "identity": "w5", + "map": "FiveWs.recorded" + }, + { + "identity": "v2", + "map": "ORC.9, RF1-7 / RF1-9" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "quick", + "map": "Proposal.proposedAtTime" + } + ] + }, + { + "id": "ServiceRequest.requester", + "path": "ServiceRequest.requester", + "short": "Who/what is requesting service", + "definition": "The individual who initiated the request and has responsibility for its activation.", + "comment": "This not the dispatcher, but rather who is the authorizer. This element is not intended to handle delegation which would generally be managed through the Provenance resource.", + "alias": [ + "author", + "orderer" + ], + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.requester", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.requester" + }, + { + "identity": "w5", + "map": "FiveWs.author" + }, + { + "identity": "v2", + "map": "ORC.12, PRT" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "quick", + "map": "ClinicalStatement.statementAuthor" + } + ] + }, + { + "id": "ServiceRequest.performerType", + "path": "ServiceRequest.performerType", + "short": "Performer role", + "definition": "Desired type of performer for doing the requested service.", + "comment": "This is a role, not a participation type. In other words, does not describe the task but describes the capacity. For example, “compounding pharmacy”, “psychiatrist” or “internal referral”.", + "alias": [ + "specialty" + ], + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.performerType", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ServiceRequestParticipantRole" + } + ], + "strength": "example", + "description": "Indicates specific responsibility of an individual within the care team, such as \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc.", + "valueSet": "http://hl7.org/fhir/ValueSet/participant-role" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.performerType" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "PRT, RF!-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=KIND].code" + } + ] + }, + { + "id": "ServiceRequest.performer", + "path": "ServiceRequest.performer", + "short": "Requested performer", + "definition": "The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc.", + "comment": "If multiple performers are present, it is interpreted as a list of *alternative* performers without any preference regardless of order. If order of preference is needed use the [request-performerOrder extension](http://hl7.org/fhir/R4/extension-request-performerorder.html). Use CareTeam to represent a group of performers (for example, Practitioner A *and* Practitioner B).", + "alias": [ + "request recipient" + ], + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "http://hl7.org/fhir/StructureDefinition/HealthcareService", + "http://hl7.org/fhir/StructureDefinition/Patient", + "http://hl7.org/fhir/StructureDefinition/Device", + "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": "workflow", + "map": "Request.performer" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "PRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "ServiceRequest.locationCode", + "path": "ServiceRequest.locationCode", + "short": "Requested location", + "definition": "The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.locationCode", + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ServiceRequestLocation" + } + ], + "strength": "example", + "description": "A location type where services are delivered.", + "valueSet": "http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role[scoper.determinerCode=KIND].code" + } + ] + }, + { + "id": "ServiceRequest.locationReference", + "path": "ServiceRequest.locationReference", + "short": "Requested location", + "definition": "A reference to the the preferred location(s) where the procedure should actually happen. E.g. at home or nursing day care center.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.locationReference", + "min": 0, + "max": "*" + }, + "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": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role[scoper.determinerCode=INSTANCE]" + } + ] + }, + { + "id": "ServiceRequest.reasonCode", + "path": "ServiceRequest.reasonCode", + "short": "Explanation/Justification for procedure or service", + "definition": "An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`.", + "comment": "This element represents why the referral is being made and may be used to decide how the service will be performed, or even if it will be performed at all. Use `CodeableConcept.text` element if the data is free (uncoded) text as shown in the [CT Scan example](servicerequest-example-di.html).", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.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": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ServiceRequestReason" + } + ], + "strength": "example", + "description": "Diagnosis or problem codes justifying the reason for requesting the service investigation.", + "valueSet": "http://hl7.org/fhir/ValueSet/procedure-reason" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonCode" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "ORC.16, RF1-10" + }, + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "ServiceRequest.reasonReference", + "path": "ServiceRequest.reasonReference", + "short": "Explanation/Justification for service or service", + "definition": "Indicates another resource that provides a justification for why this service is being requested. May relate to the resources referred to in `supportingInfo`.", + "comment": "This element represents why the referral is being made and may be used to decide how the service will be performed, or even if it will be performed at all. To be as specific as possible, a reference to *Observation* or *Condition* should be used if available. Otherwise when referencing *DiagnosticReport* it should contain a finding in `DiagnosticReport.conclusion` and/or `DiagnosticReport.conclusionCode`. When using a reference to *DocumentReference*, the target document should contain clear findings language providing the relevant reason for this service request. Use the CodeableConcept text element in `ServiceRequest.reasonCode` if the data is free (uncoded) text as shown in the [CT Scan example](servicerequest-example-di.html).", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.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", + "http://hl7.org/fhir/StructureDefinition/DocumentReference" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Request.reasonReference" + }, + { + "identity": "w5", + "map": "FiveWs.why[x]" + }, + { + "identity": "v2", + "map": "ORC.16" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=RSON].target" + } + ] + }, + { + "id": "ServiceRequest.insurance", + "path": "ServiceRequest.insurance", + "short": "Associated insurance coverage", + "definition": "Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.insurance", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Coverage", + "http://hl7.org/fhir/StructureDefinition/ClaimResponse" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.insurance" + }, + { + "identity": "v2", + "map": "IN1/IN2" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COVBY].target" + } + ] + }, + { + "id": "ServiceRequest.supportingInfo", + "path": "ServiceRequest.supportingInfo", + "short": "Additional clinical information", + "definition": "Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as \"ask at order entry questions (AOEs)\". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.", + "comment": "To represent information about how the services are to be delivered use the `instructions` element.", + "alias": [ + "Ask at order entry question", + "AOE" + ], + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.supportingInfo", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.supportingInfo" + }, + { + "identity": "v2", + "map": "Accompanying segments" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=PERT].target" + } + ] + }, + { + "id": "ServiceRequest.specimen", + "path": "ServiceRequest.specimen", + "short": "Procedure Samples", + "definition": "One or more specimens that the laboratory procedure will use.", + "comment": "Many diagnostic procedures need a specimen, but the request itself is not actually about the specimen. This element is for when the diagnostic is requested on already existing specimens and the request points to the specimen it applies to. Conversely, if the request is entered first with an unknown specimen, then the [Specimen](http://hl7.org/fhir/R4/specimen.html) resource points to the ServiceRequest.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.specimen", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "SPM" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SPC].role" + } + ] + }, + { + "id": "ServiceRequest.bodySite", + "path": "ServiceRequest.bodySite", + "short": "Location on Body", + "definition": "Anatomic location where the procedure should be performed. This is the target site.", + "comment": "Only used if not implicit in the code found in ServiceRequest.code. If the use case requires BodySite to be handled as a separate resource instead of an inline coded element (e.g. to identify and track separately) then use the standard extension [procedure-targetBodyStructure](http://hl7.org/fhir/R4/extension-procedure-targetbodystructure.html).", + "requirements": "Knowing where the procedure is performed is important for tracking if multiple sites are possible.", + "alias": [ + "location" + ], + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.bodySite", + "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": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "quick", + "map": "Procedure.targetBodySite" + } + ] + }, + { + "id": "ServiceRequest.note", + "path": "ServiceRequest.note", + "short": "Comments", + "definition": "Any other notes and comments made about the service request. For example, internal billing notes.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.note" + }, + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]" + }, + { + "identity": "quick", + "map": "ClinicalStatement.additionalText" + } + ] + }, + { + "id": "ServiceRequest.patientInstruction", + "path": "ServiceRequest.patientInstruction", + "short": "Patient or consumer-oriented instructions", + "definition": "Instructions in terms that are understood by the patient or consumer.", + "min": 0, + "max": "1", + "base": { + "path": "ServiceRequest.patientInstruction", + "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": "NTE" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "ServiceRequest.relevantHistory", + "path": "ServiceRequest.relevantHistory", + "short": "Request provenance", + "definition": "Key events in the history of the request.", + "comment": "This might not include provenances for all versions of the request – only those deemed “relevant” or important.\rThis SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude\rAll Provenances should have some historical version of this Request as their subject.", + "min": 0, + "max": "*", + "base": { + "path": "ServiceRequest.relevantHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Provenance" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "workflow", + "map": "Request.relevantHistory" + }, + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "ServiceRequest", + "path": "ServiceRequest", + "definition": "\\-", + "comment": "\\-", + "mustSupport": false + }, + { + "id": "ServiceRequest.status", + "path": "ServiceRequest.status", + "mustSupport": true + }, + { + "id": "ServiceRequest.intent", + "path": "ServiceRequest.intent", + "mustSupport": true + }, + { + "id": "ServiceRequest.category", + "path": "ServiceRequest.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "ServiceRequest.category:us-core", + "path": "ServiceRequest.category", + "sliceName": "us-core", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-servicerequest-category" + } + }, + { + "id": "ServiceRequest.code", + "path": "ServiceRequest.code", + "min": 1, + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" + } + }, + { + "id": "ServiceRequest.subject", + "path": "ServiceRequest.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "ServiceRequest.occurrence[x]", + "path": "ServiceRequest.occurrence[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Period" + }, + { + "code": "dateTime" + }, + { + "code": "Timing" + } + ], + "mustSupport": true + }, + { + "id": "ServiceRequest.authoredOn", + "path": "ServiceRequest.authoredOn", + "mustSupport": true + }, + { + "id": "ServiceRequest.requester", + "path": "ServiceRequest.requester", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", + "http://hl7.org/fhir/StructureDefinition/Device" + ], + "_targetProfile": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": false + } + ] + } + ] + } + ], + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-smokingstatus.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-smokingstatus.json new file mode 100644 index 00000000000..8c960cf0039 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-smokingstatus.json @@ -0,0 +1,3041 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-smokingstatus", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "version": "5.0.0", + "name": "USCoreSmokingStatusProfile", + "title": "US Core Smoking Status Observation Profile", + "status": "active", + "experimental": false, + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and implementers the U.S. Core Data for Interoperability (USCDI) v2 Smoking status' requirements. This profile sets minimum expectations for the Observation resource to record, search, and fetch smoking status data associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "Measurements and simple assertions", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests", + "Obs" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:SocialHistory", + "path": "Observation.category", + "sliceName": "SocialHistory", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + }, + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Smoking Status", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/R4/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.effective[x]:effectiveDateTime", + "path": "Observation.effective[x]", + "sliceName": "effectiveDateTime", + "short": "Clinically relevant time/time-period for observation", + "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the \"physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/R4/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.issued" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/R4/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + { + "type": "type", + "path": "$this" + } + ], + "ordered": false, + "rules": "closed" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.value[x]:valueCodeableConcept", + "path": "Observation.value[x]", + "sliceName": "valueCodeableConcept", + "short": "Coded Responses from Smoking Status Value Set", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must 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-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max" + } + ], + "strength": "preferred", + "description": "This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + }, + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.valueCodeableConcept" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/R4/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Related resource that belongs to the Observation group", + "definition": "This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/R4/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/Observation", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component results", + "definition": "Some observations have multiple component observations. These component observations are expressed as separate code value pairs that share the same attributes. Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationCode" + } + ], + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-codes" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/R4/observation.html#notes) below.", + "requirements": "An observation exists to have a value, though it might not if it is in error, or if it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Obs" + ], + "mustSupport": false, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation" + } + ] + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true, + "binding": { + "strength": "required", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.status" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "Observation.category:SocialHistory", + "path": "Observation.category", + "sliceName": "SocialHistory", + "min": 1, + "max": "1", + "patternCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history" + } + ] + }, + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "short": "Smoking Status", + "mustSupport": true, + "binding": { + "strength": "extensible", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.code" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.subject" + } + ] + }, + { + "id": "Observation.effectiveDateTime", + "path": "Observation.effectiveDateTime", + "min": 1, + "mustSupport": true, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.issued" + } + ] + }, + { + "id": "Observation.valueCodeableConcept", + "path": "Observation.valueCodeableConcept", + "short": "Coded Responses from Smoking Status Value Set", + "min": 1, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueCanonical": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max" + } + ], + "strength": "preferred", + "description": "This value set enumerates codes SNOMED CT codes historically used for the current smoking status of a patient with a maximum required binding to Snomed CT codes.", + "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.38" + }, + "mapping": [ + { + "identity": "argonaut-dq-dstu2", + "map": "Observation.valueCodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-vital-signs.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-vital-signs.json new file mode 100644 index 00000000000..7a31a0dfcc7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/StructureDefinition-us-core-vital-signs.json @@ -0,0 +1,3622 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-vital-signs", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "version": "5.0.0", + "name": "USCoreVitalSignsProfile", + "title": "US Core Vital Signs Profile", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "To promote interoperability and adoption through common implementation, this profile is based on the base [FHIR Vital Signs Profile](http://hl7.org/fhir/R4/observation-vitalsigns.html) and defines *additional* constraints on the Observation resource to represent vital signs observations. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases. This US Core profiles that are derived from this profile are listed below.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "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": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/vitalsigns", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Vital Signs Profile", + "definition": "\\-", + "comment": "\\-", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation", + "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": "obs-6", + "severity": "error", + "human": "dataAbsentReason SHALL only be present if Observation.value[x] is not present", + "expression": "dataAbsentReason.empty() or value.empty()", + "xpath": "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If Observation.code is the same as an Observation.component.code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or component.code.where(coding.intersect(%resource.code.coding).exists()).empty()", + "xpath": "not(f:*[starts-with(local-name(.), 'value')] and (for $coding in f:code/f:coding return f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value] [f:system/@value=$coding/f:system/@value]))", + "source": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "key": "vs-2", + "severity": "error", + "human": "If there is no component or hasMember element then either a value[x] or a data absent reason must be present.", + "expression": "(component.empty() and hasMember.empty()) implies (dataAbsentReason.exists() or value.exists())", + "xpath": "f:component or f:memberOF or f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "workflow", + "map": "Event" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity|" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.id", + "path": "Observation.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": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": true + }, + { + "id": "Observation.meta", + "path": "Observation.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": "Observation.implicitRules", + "path": "Observation.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": "Observation.language", + "path": "Observation.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" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", + "valueBoolean": true + } + ], + "strength": "preferred", + "description": "A human language.", + "valueSet": "http://hl7.org/fhir/ValueSet/languages" + } + }, + { + "id": "Observation.text", + "path": "Observation.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": "Observation.contained", + "path": "Observation.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": "Observation.extension", + "path": "Observation.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": "Observation.modifierExtension", + "path": "Observation.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/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": "Observation.identifier", + "path": "Observation.identifier", + "short": "Business Identifier for observation", + "definition": "A unique identifier assigned to this observation.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "OBX.21 For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." + }, + { + "identity": "rim", + "map": "id" + } + ] + }, + { + "id": "Observation.basedOn", + "path": "Observation.basedOn", + "short": "Fulfills plan, proposal or order", + "definition": "A plan, proposal or order that is fulfilled in whole or in part by this event. For example, a MedicationRequest may require a patient to have laboratory test performed before it is dispensed.", + "requirements": "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.", + "alias": [ + "Fulfills" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/CarePlan", + "http://hl7.org/fhir/StructureDefinition/DeviceRequest", + "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation", + "http://hl7.org/fhir/StructureDefinition/MedicationRequest", + "http://hl7.org/fhir/StructureDefinition/NutritionOrder", + "http://hl7.org/fhir/StructureDefinition/ServiceRequest" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.basedOn" + }, + { + "identity": "v2", + "map": "ORC" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[moodCode=EVN]" + } + ] + }, + { + "id": "Observation.partOf", + "path": "Observation.partOf", + "short": "Part of referenced event", + "definition": "A larger event of which this particular Observation is a component or step. For example, an observation as part of a procedure.", + "comment": "To link an Observation to an Encounter use `encounter`. See the [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below for guidance on referencing another Observation.", + "alias": [ + "Container" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.partOf", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/MedicationAdministration", + "http://hl7.org/fhir/StructureDefinition/MedicationDispense", + "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "http://hl7.org/fhir/StructureDefinition/Procedure", + "http://hl7.org/fhir/StructureDefinition/Immunization", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.partOf" + }, + { + "identity": "v2", + "map": "Varies by domain" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "Observation.status", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint", + "valueString": "default: final" + } + ], + "path": "Observation.status", + "short": "registered | preliminary | final | amended +", + "definition": "The status of the result value.", + "comment": "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "Status" + } + ], + "strength": "required", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-status|4.0.1" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.status" + }, + { + "identity": "w5", + "map": "FiveWs.status" + }, + { + "identity": "sct-concept", + "map": "< 445584004 |Report by finality status|" + }, + { + "identity": "v2", + "map": "OBX-11" + }, + { + "identity": "rim", + "map": "status Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" + } + ] + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "*", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comment": "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retrieved and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.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": "ObservationCategory" + } + ], + "strength": "preferred", + "description": "Codes for high level observation categories.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-category" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.class" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + } + ] + }, + { + "id": "Observation.category:VSCat.id", + "path": "Observation.category.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": "Observation.category:VSCat.extension", + "path": "Observation.category.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": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "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": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "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": "Observation.category:VSCat.coding.id", + "path": "Observation.category.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "Unique id for inter-element referencing", + "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", + "valueUrl": "string" + } + ], + "code": "http://hl7.org/fhirpath/System.String" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.extension", + "path": "Observation.category.coding.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": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "short": "Identity of the terminology system", + "definition": "The identification of the code system that defines the meaning of the symbol in the code.", + "comment": "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.version", + "path": "Observation.category.coding.version", + "short": "Version of the system - if relevant", + "definition": "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.", + "comment": "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.7" + }, + { + "identity": "rim", + "map": "./codeSystemVersion" + }, + { + "identity": "orim", + "map": "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "short": "Symbol in syntax defined by the system", + "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).", + "requirements": "Need to refer to a particular code in the system.", + "min": 1, + "max": "1", + "base": { + "path": "Coding.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.display", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.coding.display", + "short": "Representation defined by the system", + "definition": "A representation of the meaning of the code in the system, following the rules of the system.", + "requirements": "Need to be able to carry a human-readable meaning of the code for readers that do not know the system.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.display", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "C*E.2 - but note this is not well followed" + }, + { + "identity": "rim", + "map": "CV.displayName" + }, + { + "identity": "orim", + "map": "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" + } + ] + }, + { + "id": "Observation.category:VSCat.coding.userSelected", + "path": "Observation.category.coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).", + "comment": "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.", + "requirements": "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.", + "min": 0, + "max": "1", + "base": { + "path": "Coding.userSelected", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Sometimes implied by being first" + }, + { + "identity": "rim", + "map": "CD.codingRationale" + }, + { + "identity": "orim", + "map": "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [ fhir:source \"true\"; fhir:target dt:CDCoding.codingRationale\\#O ]" + } + ] + }, + { + "id": "Observation.category:VSCat.text", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", + "valueBoolean": true + } + ], + "path": "Observation.category.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": "Observation.code", + "path": "Observation.code", + "short": "Coded Responses from C-CDA Vital Sign Results", + "definition": "Coded Responses from C-CDA Vital Sign Results.", + "comment": "*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "5. SHALL contain exactly one [1..1] code, where the @code SHOULD be selected from ValueSet HITSP Vital Sign Result Type 2.16.840.1.113883.3.88.12.80.62 DYNAMIC (CONF:7301).", + "alias": [ + "Name" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "workflow", + "map": "Event.code" + }, + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "sct-attr", + "map": "116680003 |Is a|" + } + ] + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what the observation is about", + "definition": "The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation.", + "comment": "One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-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=RTGT]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.focus", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", + "valueCode": "trial-use" + } + ], + "path": "Observation.focus", + "short": "What the observation is about, when it is not about the subject of record", + "definition": "The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus.", + "comment": "Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., \"Blood Glucose\") and does not need to be represented separately using this element. Use `specimen` if a reference to a specimen is required. If a code is required instead of a resource use either `bodysite` for bodysites or the standard extension [focusCode](http://hl7.org/fhir/extension-observation-focuscode.html).", + "min": 0, + "max": "*", + "base": { + "path": "Observation.focus", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Resource" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.subject[x]" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "FiveWs.subject" + } + ] + }, + { + "id": "Observation.encounter", + "path": "Observation.encounter", + "short": "Healthcare event during which this observation is made", + "definition": "The healthcare event (e.g. a patient and healthcare provider interaction) during which this observation is made.", + "comment": "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests).", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "alias": [ + "Context" + ], + "min": 0, + "max": "1", + "base": { + "path": "Observation.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" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "definition": "Often just a dateTime for Vital Signs.", + "comment": "At least a date should be present unless this observation is a historical report. For recording imprecise or \"fuzzy\" times (For example, a blood glucose measurement taken \"after breakfast\") use the [Timing](http://hl7.org/fhir/datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "alias": [ + "Occurrence" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-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": "vs-1", + "severity": "error", + "human": "if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day", + "expression": "($this as dateTime).toString().length() >= 8", + "xpath": "f:effectiveDateTime[matches(@value, '^\\d{4}-\\d{2}-\\d{2}')]", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "workflow", + "map": "Event.occurrence[x]" + }, + { + "identity": "w5", + "map": "FiveWs.done[x]" + }, + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this version was made available", + "definition": "The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified.", + "comment": "For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](http://hl7.org/fhir/resource-definitions.html#Meta.lastUpdated) time of the resource itself. For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].time" + } + ] + }, + { + "id": "Observation.performer", + "path": "Observation.performer", + "short": "Who is responsible for the observation", + "definition": "Who was responsible for asserting the observed value as \"true\".", + "requirements": "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Practitioner", + "http://hl7.org/fhir/StructureDefinition/PractitionerRole", + "http://hl7.org/fhir/StructureDefinition/Organization", + "http://hl7.org/fhir/StructureDefinition/CareTeam", + "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": "workflow", + "map": "Event.performer.actor" + }, + { + "identity": "w5", + "map": "FiveWs.actor" + }, + { + "identity": "v2", + "map": "OBX.15 / (Practitioner) OBX-16, PRT-5:PRT-4='RO' / (Device) OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization) OBX-23, PRT-8:PRT-4='PO'" + }, + { + "identity": "rim", + "map": "participation[typeCode=PRF]" + } + ] + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "comment": "An observation may have; 1) a single value here, 2) both a value and a set of related or component values, or 3) only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7", + "vs-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": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "short": "Why the result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comment": "Null or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"specimen unsatisfactory\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0. Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-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": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.note", + "path": "Observation.note", + "short": "Comments about the observation", + "definition": "Comments about the observation or the results.", + "comment": "May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.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": "v2", + "map": "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" + }, + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "Observation.bodySite", + "path": "Observation.bodySite", + "short": "Observed body part", + "definition": "Indicates the site on the subject's body where the observation was made (i.e. the target site).", + "comment": "Only used if not implicit in code found in Observation.code. In many systems, this may be represented as a related observation instead of an inline component. \n\nIf the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](http://hl7.org/fhir/extension-bodysite.html).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "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": "BodySite" + } + ], + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSet": "http://hl7.org/fhir/ValueSet/body-site" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 123037004 |Body structure|" + }, + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "sct-attr", + "map": "718497002 |Inherent location|" + } + ] + }, + { + "id": "Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comment": "Only used if not implicit in code for Observation.code.", + "requirements": "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.method", + "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": "ObservationMethod" + } + ], + "strength": "example", + "description": "Methods for simple observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-methods" + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comment": "Should only be used if not implicit in code found in `Observation.code`. Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.specimen", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Specimen" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 123038009 |Specimen|" + }, + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + }, + { + "identity": "sct-attr", + "map": "704319004 |Inherent in|" + } + ] + }, + { + "id": "Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comment": "Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway. Such devices may be documented using the Provenance resource where relevant.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/Device", + "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "sct-concept", + "map": "< 49062001 |Device|" + }, + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + }, + { + "identity": "sct-attr", + "map": "424226004 |Using device|" + } + ] + }, + { + "id": "Observation.referenceRange", + "path": "Observation.referenceRange", + "short": "Provides guide for interpretation", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range. Multiple reference ranges are interpreted as an \"OR\". In other words, to represent two distinct target populations, two `referenceRange` elements would be used.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange", + "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": "obs-3", + "severity": "error", + "human": "Must have at least a low or a high or text", + "expression": "low.exists() or high.exists() or text.exists()", + "xpath": "(exists(f:low) or exists(f:high)or exists(f:text))", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation.referenceRange.id", + "path": "Observation.referenceRange.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": "Observation.referenceRange.extension", + "path": "Observation.referenceRange.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": "Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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/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": "Observation.referenceRange.low", + "path": "Observation.referenceRange.low", + "short": "Low Range, if relevant", + "definition": "The value of the low bound of the reference range. The low bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the low bound is omitted, it is assumed to be meaningless (e.g. reference range is <=2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.low", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation.referenceRange.high", + "path": "Observation.referenceRange.high", + "short": "High Range, if relevant", + "definition": "The value of the high bound of the reference range. The high bound of the reference range endpoint is inclusive of the value (e.g. reference range is >=5 - <=9). If the high bound is omitted, it is assumed to be meaningless (e.g. reference range is >= 2.3).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.high", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + ] + } + ], + "condition": [ + "obs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation.referenceRange.type", + "path": "Observation.referenceRange.type", + "short": "Reference range qualifier", + "definition": "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal range is assumed.", + "requirements": "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc., - for proper interpretation.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": "ObservationRangeMeaning" + } + ], + "strength": "preferred", + "description": "Code for the meaning of a reference range.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.appliesTo", + "path": "Observation.referenceRange.appliesTo", + "short": "Reference range population", + "definition": "Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple `appliesTo` are interpreted as an \"AND\" of the target populations. For example, to represent a target population of African American females, both a code of female and a code for African American would be used.", + "comment": "This SHOULD be populated if there is more than one range. If this element is not present then the normal population is assumed.", + "requirements": "Need to be able to identify the target population for proper interpretation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.referenceRange.appliesTo", + "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": "ObservationRangeType" + } + ], + "strength": "example", + "description": "Codes identifying the population the reference range applies to.", + "valueSet": "http://hl7.org/fhir/ValueSet/referencerange-appliesto" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values| OR \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" + }, + { + "identity": "v2", + "map": "OBX-10" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation.referenceRange.age", + "path": "Observation.referenceRange.age", + "short": "Applicable age range, if relevant", + "definition": "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so.", + "requirements": "Some analytes vary greatly over age.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.age", + "min": 0, + "max": "1" + }, + "type": [ + { + "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" + } + ], + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation.referenceRange.text", + "path": "Observation.referenceRange.text", + "short": "Text based reference range in an observation", + "definition": "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".", + "min": 0, + "max": "1", + "base": { + "path": "Observation.referenceRange.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": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation.hasMember", + "path": "Observation.hasMember", + "short": "Used when reporting vital signs panel components", + "definition": "Used when reporting vital signs panel components.", + "comment": "When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below. Note that a system may calculate results from [QuestionnaireResponse](http://hl7.org/fhir/questionnaireresponse.html) into a final score and represent the score as an Observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.hasMember", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation.derivedFrom", + "path": "Observation.derivedFrom", + "short": "Related measurements the observation is made from", + "definition": "The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.", + "comment": "All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value. The most common reference will be another Observation. For a discussion on the ways Observations can assembled in groups together, see [Notes](http://hl7.org/fhir/observation.html#obsgrouping) below.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/StructureDefinition/DocumentReference", + "http://hl7.org/fhir/StructureDefinition/ImagingStudy", + "http://hl7.org/fhir/StructureDefinition/Media", + "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse", + "http://hl7.org/fhir/StructureDefinition/MolecularSequence", + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "comment": "For a discussion on the ways Observations can be assembled in groups together see [Notes](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable). However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component", + "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": "vs-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "f:*[starts-with(local-name(.), 'value')] or f:dataAbsentReason", + "source": "http://hl7.org/fhir/StructureDefinition/vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation.component.id", + "path": "Observation.component.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": "Observation.component.extension", + "path": "Observation.component.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": "Observation.component.modifierExtension", + "path": "Observation.component.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/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": "Observation.component.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "comment": "*All* code-value and component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.component.code", + "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": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + }, + "mapping": [ + { + "identity": "w5", + "map": "FiveWs.what[x]" + }, + { + "identity": "sct-concept", + "map": "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" + }, + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "comment": "Used when observation has a set of component observations. An observation may have both a value (e.g. an Apgar score) and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value. For additional guidance, see the [Notes section](http://hl7.org/fhir/observation.html#notes) below.", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "363714003 |Interprets| < 441742003 |Evaluation finding|" + }, + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + }, + { + "identity": "sct-attr", + "map": "363714003 |Interprets|" + } + ] + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.component.value[x] is missing.", + "comment": "\"Null\" or exceptional values can be represented two ways in FHIR Observations. One way is to simply include them in the value set and represent the exceptions in the value. For example, measurement values for a serology test could be \"detected\", \"not detected\", \"inconclusive\", or \"test not done\". \n\nThe alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values. For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Because of these options, use-case agreements are required to interpret general observations for exceptional values.", + "requirements": "For many results it is necessary to handle exceptional values in measurements.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6", + "vs-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "hasValue() or (children().count() > id.count())", + "xpath": "@value|f:*|h:div", + "source": "http://hl7.org/fhir/StructureDefinition/Element" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", + "valueString": "ObservationValueAbsentReason" + } + ], + "strength": "extensible", + "description": "Codes specifying why the result (`Observation.value[x]`) is missing.", + "valueSet": "http://hl7.org/fhir/ValueSet/data-absent-reason" + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "A categorical assessment of an observation value. For example, high, low, normal.", + "comment": "Historically used for laboratory results (known as 'abnormal flag' ), its use extends to other use cases where coded interpretations are relevant. Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.", + "requirements": "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result.", + "alias": [ + "Abnormal Flag" + ], + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.interpretation", + "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": "ObservationInterpretation" + } + ], + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 260245000 |Findings values|" + }, + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + }, + { + "identity": "sct-attr", + "map": "363713009 |Has interpretation|" + } + ] + }, + { + "id": "Observation.component.referenceRange", + "path": "Observation.component.referenceRange", + "short": "Provides guide for interpretation of component result", + "definition": "Guidance on how to interpret the value by comparison to a normal or recommended range.", + "comment": "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.", + "requirements": "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.component.referenceRange", + "min": 0, + "max": "*" + }, + "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange", + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value 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.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation", + "path": "Observation", + "short": "US Core Vital Signs Profile", + "definition": "\\-", + "comment": "\\-" + }, + { + "id": "Observation.status", + "path": "Observation.status", + "mustSupport": true + }, + { + "id": "Observation.category", + "path": "Observation.category", + "slicing": { + "discriminator": [ + { + "type": "value", + "path": "coding.code" + }, + { + "type": "value", + "path": "coding.system" + } + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Observation.category:VSCat", + "path": "Observation.category", + "sliceName": "VSCat", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true + }, + { + "id": "Observation.category:VSCat.coding", + "path": "Observation.category.coding", + "min": 1, + "max": "*", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true + }, + { + "id": "Observation.category:VSCat.coding.system", + "path": "Observation.category.coding.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://terminology.hl7.org/CodeSystem/observation-category", + "mustSupport": true + }, + { + "id": "Observation.category:VSCat.coding.code", + "path": "Observation.category.coding.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "vital-signs", + "mustSupport": true + }, + { + "id": "Observation.code", + "path": "Observation.code", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + } + }, + { + "id": "Observation.subject", + "path": "Observation.subject", + "type": [ + { + "code": "Reference", + "targetProfile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + } + ], + "mustSupport": true + }, + { + "id": "Observation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true + }, + { + "id": "Observation.value[x]", + "path": "Observation.value[x]", + "short": "Vital Signs Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + } + }, + { + "id": "Observation.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "mustSupport": true + }, + { + "id": "Observation.component", + "path": "Observation.component", + "short": "Component observations", + "definition": "Used when reporting component observation such as systolic and diastolic blood pressure.", + "mustSupport": true + }, + { + "id": "Observation.component.code", + "path": "Observation.component.code", + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs" + } + }, + { + "id": "Observation.component.value[x]", + "path": "Observation.component.value[x]", + "short": "Vital Sign Component Value", + "definition": "Vital Signs value are typically recorded using the Quantity data type. For supporting observations such as cuff size could use other datatypes such as CodeableConcept.", + "type": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", + "valueBoolean": true + } + ], + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "boolean" + }, + { + "code": "integer" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs.", + "valueSet": "http://hl7.org/fhir/ValueSet/ucum-vitals-common|4.0.1" + } + }, + { + "id": "Observation.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "mustSupport": true + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-birthsex.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-birthsex.json new file mode 100644 index 00000000000..9767d8551c9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-birthsex.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "birthsex", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "version": "5.0.0", + "name": "BirthSex", + "title": "Birth Sex", + "status": "active", + "date": "2021-12-08", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1" + ] + }, + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.103" + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-detailed-ethnicity.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-detailed-ethnicity.json new file mode 100644 index 00000000000..b94b85a20f8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-detailed-ethnicity.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "5.0.0", + "name": "DetailedEthnicity", + "title": "Detailed ethnicity", + "status": "active", + "date": "2021-12-08", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', 'other, and the 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.877" + ] + }, + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.103" + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-detailed-race.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-detailed-race.json new file mode 100644 index 00000000000..1e97de3364f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-detailed-race.json @@ -0,0 +1,63 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-race", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "5.0.0", + "name": "DetailedRace", + "title": "Detailed Race", + "status": "active", + "date": "2021-12-08", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', 'other, and the 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.14914" + ] + }, + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.103" + ] + } + ], + "exclude": [ + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.2074.1.1.3" + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-omb-ethnicity-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-omb-ethnicity-category.json new file mode 100644 index 00000000000..7d00e25fbc7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-omb-ethnicity-category.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "5.0.0", + "name": "OmbEthnicityCategories", + "title": "OMB Ethnicity Categories", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', and the ethnicity categories - 'Hispanic or Latino' and 'Not Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.837" + ] + }, + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.102" + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-omb-race-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-omb-race-category.json new file mode 100644 index 00000000000..ea054cdc6b6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-omb-race-category.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "omb-race-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.575" + } + ], + "version": "5.0.0", + "name": "OmbRaceCategories", + "title": "OMB Race Categories", + "status": "active", + "date": "2022-04-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown', 'Asked but Unknown', 'Other Race'* and\nthe codes for the five race categories - 'American Indian' or 'Alaska Native',\n'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific\nIslander', and 'White' - as defined by the [OMB Standards for Maintaining,\nCollecting, and Presenting Federal Data on Race and Ethnicity, Statistical\nPolicy Directive No. 15, as revised, October 30,\n1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf)\n\n\\* The use of 'Other Race' is discouraged for statistical analysis.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836" + ] + }, + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1021.102" + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-simple-language.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-simple-language.json new file mode 100644 index 00000000000..fe4b382b958 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-simple-language.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "simple-language", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "5.0.0", + "name": "LanguageCodesWithLanguageAndOptionallyARegionModifier", + "title": "Language codes with language and optionally a region modifier", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "ISO Maintains the copyright on the country codes and controls it's use carefully. For further details, see the [ISO 3166 Home Page](http://www.iso.org/iso/country_codes.htm)", + "compose": { + "include": [ + { + "system": "urn:ietf:bcp:47", + "filter": [ + { + "property": "ext-lang", + "op": "exists", + "value": "false" + }, + { + "property": "script", + "op": "exists", + "value": "false" + }, + { + "property": "variant", + "op": "exists", + "value": "false" + }, + { + "property": "extension", + "op": "exists", + "value": "false" + }, + { + "property": "private-use", + "op": "exists", + "value": "false" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-clinical-note-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-clinical-note-type.json new file mode 100644 index 00000000000..463983ff378 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-clinical-note-type.json @@ -0,0 +1,66 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "5.0.0", + "name": "USCoreClinicalNoteType", + "title": "US Core Clinical Note Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "18842-5" + }, + { + "code": "11488-4" + }, + { + "code": "34117-2" + }, + { + "code": "11506-3" + }, + { + "code": "28570-0" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-clinical-test-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-clinical-test-codes.json new file mode 100644 index 00000000000..544945db820 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-clinical-test-codes.json @@ -0,0 +1,1437 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-clinical-test-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-test-codes", + "version": "5.0.0", + "name": "USCoreClinicalTestCodes", + "title": "US Core Clinical Test Codes", + "status": "active", + "date": "2022-04-08", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Starter set of clinical test LOINC codes identified in Appendix B in U.S. Core Data for Interoperability (USCDI) Task Force 2021 HITAC Phase 3 Recommendations Report Letter", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "34534-8" + }, + { + "code": "8897-1" + }, + { + "code": "8894-8" + }, + { + "code": "8625-6" + }, + { + "code": "8633-0" + }, + { + "code": "8634-8" + }, + { + "code": "8636-3" + }, + { + "code": "8626-4" + }, + { + "code": "8632-2" + }, + { + "code": "8638-9" + }, + { + "code": "8601-7" + }, + { + "code": "92846-5" + }, + { + "code": "18754-2" + }, + { + "code": "34552-0" + }, + { + "code": "18010-9" + }, + { + "code": "18018-2" + }, + { + "code": "20307-5" + }, + { + "code": "29468-6" + }, + { + "code": "18083-6" + }, + { + "code": "18085-1" + }, + { + "code": "29442-1" + }, + { + "code": "29430-6" + }, + { + "code": "8806-2" + }, + { + "code": "29434-8" + }, + { + "code": "18147-9" + }, + { + "code": "18750-0" + }, + { + "code": "78950-3" + }, + { + "code": "78951-1" + }, + { + "code": "78952-9" + }, + { + "code": "78953-7" + }, + { + "code": "78954-5" + }, + { + "code": "78955-2" + }, + { + "code": "78956-0" + }, + { + "code": "78957-8" + }, + { + "code": "82654-5" + }, + { + "code": "82652-9" + }, + { + "code": "82651-1" + }, + { + "code": "59282-4" + }, + { + "code": "46213-5" + }, + { + "code": "78895-0" + }, + { + "code": "78897-6" + }, + { + "code": "78898-4" + }, + { + "code": "78899-2" + }, + { + "code": "78900-8" + }, + { + "code": "78901-6" + }, + { + "code": "78902-4" + }, + { + "code": "78903-2" + }, + { + "code": "78904-0" + }, + { + "code": "78905-7" + }, + { + "code": "78906-5" + }, + { + "code": "78907-3" + }, + { + "code": "78908-1" + }, + { + "code": "78909-9" + }, + { + "code": "78910-7" + }, + { + "code": "78911-5" + }, + { + "code": "78912-3" + }, + { + "code": "78913-1" + }, + { + "code": "80227-2" + }, + { + "code": "80228-0" + }, + { + "code": "80229-8" + }, + { + "code": "78896-8" + }, + { + "code": "64098-7" + }, + { + "code": "83311-1" + }, + { + "code": "46383-6" + }, + { + "code": "24701-5" + }, + { + "code": "38263-0" + }, + { + "code": "80934-3" + }, + { + "code": "80954-1" + }, + { + "code": "80948-3" + }, + { + "code": "80940-0" + }, + { + "code": "80953-3" + }, + { + "code": "80947-5" + }, + { + "code": "80939-2" + }, + { + "code": "38262-2" + }, + { + "code": "38266-3" + }, + { + "code": "80956-6" + }, + { + "code": "80950-9" + }, + { + "code": "80942-6" + }, + { + "code": "80955-8" + }, + { + "code": "80949-1" + }, + { + "code": "80941-8" + }, + { + "code": "38261-4" + }, + { + "code": "38264-8" + }, + { + "code": "80933-5" + }, + { + "code": "46278-8" + }, + { + "code": "80946-7" + }, + { + "code": "80938-4" + }, + { + "code": "46279-6" + }, + { + "code": "80945-9" + }, + { + "code": "80937-6" + }, + { + "code": "24966-4" + }, + { + "code": "38267-1" + }, + { + "code": "24890-6" + }, + { + "code": "38265-5" + }, + { + "code": "80932-7" + }, + { + "code": "80952-5" + }, + { + "code": "80944-2" + }, + { + "code": "80936-8" + }, + { + "code": "80951-7" + }, + { + "code": "80943-4" + }, + { + "code": "80935-0" + }, + { + "code": "97100-2" + }, + { + "code": "28016-4" + }, + { + "code": "51393-7" + }, + { + "code": "97101-0" + }, + { + "code": "18746-8" + }, + { + "code": "18753-4" + }, + { + "code": "18751-8" + }, + { + "code": "11523-8" + }, + { + "code": "98604-2" + }, + { + "code": "98605-9" + }, + { + "code": "98611-7" + }, + { + "code": "98617-4" + }, + { + "code": "98622-4" + }, + { + "code": "98627-3" + }, + { + "code": "98632-3" + }, + { + "code": "98637-2" + }, + { + "code": "98642-2" + }, + { + "code": "98647-1" + }, + { + "code": "98652-1" + }, + { + "code": "18749-2" + }, + { + "code": "29754-9" + }, + { + "code": "92050-4" + }, + { + "code": "98495-5" + }, + { + "code": "79731-6" + }, + { + "code": "79730-8" + }, + { + "code": "79732-4" + }, + { + "code": "98496-3" + }, + { + "code": "79894-2" + }, + { + "code": "79800-9" + }, + { + "code": "79794-4" + }, + { + "code": "79791-0" + }, + { + "code": "79792-8" + }, + { + "code": "79793-6" + }, + { + "code": "79773-8" + }, + { + "code": "79777-9" + }, + { + "code": "79781-1" + }, + { + "code": "79786-0" + }, + { + "code": "79774-6" + }, + { + "code": "79778-7" + }, + { + "code": "79782-9" + }, + { + "code": "79785-2" + }, + { + "code": "79775-3" + }, + { + "code": "79779-5" + }, + { + "code": "79783-7" + }, + { + "code": "79787-8" + }, + { + "code": "79776-1" + }, + { + "code": "79780-3" + }, + { + "code": "79784-5" + }, + { + "code": "79788-6" + }, + { + "code": "79789-4" + }, + { + "code": "79790-2" + }, + { + "code": "79795-1" + }, + { + "code": "79797-7" + }, + { + "code": "79796-9" + }, + { + "code": "79798-5" + }, + { + "code": "96189-6" + }, + { + "code": "96190-4" + }, + { + "code": "96191-2" + }, + { + "code": "96192-0" + }, + { + "code": "96193-8" + }, + { + "code": "96194-6" + }, + { + "code": "96195-3" + }, + { + "code": "96196-1" + }, + { + "code": "96197-9" + }, + { + "code": "96198-7" + }, + { + "code": "96199-5" + }, + { + "code": "96200-1" + }, + { + "code": "96201-9" + }, + { + "code": "96202-7" + }, + { + "code": "96205-0" + }, + { + "code": "96206-8" + }, + { + "code": "96207-6" + }, + { + "code": "96208-4" + }, + { + "code": "96209-2" + }, + { + "code": "96210-0" + }, + { + "code": "96211-8" + }, + { + "code": "96212-6" + }, + { + "code": "96213-4" + }, + { + "code": "96214-2" + }, + { + "code": "96215-9" + }, + { + "code": "96216-7" + }, + { + "code": "96217-5" + }, + { + "code": "96218-3" + }, + { + "code": "96219-1" + }, + { + "code": "96220-9" + }, + { + "code": "95298-6" + }, + { + "code": "28975-1" + }, + { + "code": "28985-0" + }, + { + "code": "28977-7" + }, + { + "code": "28987-6" + }, + { + "code": "95300-0" + }, + { + "code": "28974-4" + }, + { + "code": "28984-3" + }, + { + "code": "28976-9" + }, + { + "code": "28986-8" + }, + { + "code": "28978-5" + }, + { + "code": "28988-4" + }, + { + "code": "79813-2" + }, + { + "code": "79814-0" + }, + { + "code": "95302-6" + }, + { + "code": "95305-9" + }, + { + "code": "95303-4" + }, + { + "code": "95306-7" + }, + { + "code": "95304-2" + }, + { + "code": "95307-5" + }, + { + "code": "95309-1" + }, + { + "code": "95311-7" + }, + { + "code": "95301-8" + }, + { + "code": "8642-1" + }, + { + "code": "8640-5" + }, + { + "code": "95314-1" + }, + { + "code": "95315-8" + }, + { + "code": "95316-6" + }, + { + "code": "95317-4" + }, + { + "code": "28983-5" + }, + { + "code": "28993-4" + }, + { + "code": "28994-2" + }, + { + "code": "28996-7" + }, + { + "code": "28995-9" + }, + { + "code": "28997-5" + }, + { + "code": "95308-3" + }, + { + "code": "95310-9" + }, + { + "code": "95299-4" + }, + { + "code": "28980-1" + }, + { + "code": "28990-0" + }, + { + "code": "28982-7" + }, + { + "code": "28992-6" + }, + { + "code": "28979-3" + }, + { + "code": "28989-2" + }, + { + "code": "28981-9" + }, + { + "code": "28991-8" + }, + { + "code": "95318-2" + }, + { + "code": "95319-0" + }, + { + "code": "95320-8" + }, + { + "code": "95321-6" + }, + { + "code": "95322-4" + }, + { + "code": "95323-2" + }, + { + "code": "95324-0" + }, + { + "code": "95326-5" + }, + { + "code": "95327-3" + }, + { + "code": "95328-1" + }, + { + "code": "28814-2" + }, + { + "code": "28810-0" + }, + { + "code": "28812-6" + }, + { + "code": "28815-9" + }, + { + "code": "28811-8" + }, + { + "code": "28813-4" + }, + { + "code": "95329-9" + }, + { + "code": "28793-8" + }, + { + "code": "28802-7" + }, + { + "code": "95330-7" + }, + { + "code": "28796-1" + }, + { + "code": "28805-0" + }, + { + "code": "95331-5" + }, + { + "code": "95332-3" + }, + { + "code": "95333-1" + }, + { + "code": "95334-9" + }, + { + "code": "95335-6" + }, + { + "code": "95336-4" + }, + { + "code": "95337-2" + }, + { + "code": "95338-0" + }, + { + "code": "95339-8" + }, + { + "code": "95340-6" + }, + { + "code": "95341-4" + }, + { + "code": "95342-2" + }, + { + "code": "95343-0" + }, + { + "code": "95344-8" + }, + { + "code": "95345-5" + }, + { + "code": "95346-3" + }, + { + "code": "95347-1" + }, + { + "code": "95348-9" + }, + { + "code": "28792-0" + }, + { + "code": "28782-1" + }, + { + "code": "28789-6" + }, + { + "code": "95349-7" + }, + { + "code": "28799-5" + }, + { + "code": "95350-5" + }, + { + "code": "96227-4" + }, + { + "code": "96229-0" + }, + { + "code": "96228-2" + }, + { + "code": "96230-8" + }, + { + "code": "96231-6" + }, + { + "code": "96238-1" + }, + { + "code": "96239-9" + }, + { + "code": "96240-7" + }, + { + "code": "96241-5" + }, + { + "code": "96232-4" + }, + { + "code": "96233-2" + }, + { + "code": "96234-0" + }, + { + "code": "96235-7" + }, + { + "code": "79898-3" + }, + { + "code": "79841-3" + }, + { + "code": "79837-1" + }, + { + "code": "79833-0" + }, + { + "code": "79829-8" + }, + { + "code": "79838-9" + }, + { + "code": "79834-8" + }, + { + "code": "79830-6" + }, + { + "code": "79839-7" + }, + { + "code": "79835-5" + }, + { + "code": "79831-4" + }, + { + "code": "79840-5" + }, + { + "code": "79836-3" + }, + { + "code": "79832-2" + }, + { + "code": "57119-0" + }, + { + "code": "57108-3" + }, + { + "code": "57109-1" + }, + { + "code": "57110-9" + }, + { + "code": "57111-7" + }, + { + "code": "57112-5" + }, + { + "code": "57113-3" + }, + { + "code": "57114-1" + }, + { + "code": "57115-8" + }, + { + "code": "57116-6" + }, + { + "code": "57117-4" + }, + { + "code": "57118-2" + }, + { + "code": "96246-4" + }, + { + "code": "96236-5" + }, + { + "code": "96237-3" + }, + { + "code": "96242-3" + }, + { + "code": "96243-1" + }, + { + "code": "96244-9" + }, + { + "code": "96245-6" + }, + { + "code": "79895-9" + }, + { + "code": "79854-6" + }, + { + "code": "79850-4" + }, + { + "code": "79846-2" + }, + { + "code": "79842-1" + }, + { + "code": "79851-2" + }, + { + "code": "79847-0" + }, + { + "code": "79843-9" + }, + { + "code": "79852-0" + }, + { + "code": "79848-8" + }, + { + "code": "79844-7" + }, + { + "code": "79853-8" + }, + { + "code": "79849-6" + }, + { + "code": "79845-4" + }, + { + "code": "79896-7" + }, + { + "code": "79764-7" + }, + { + "code": "79892-6" + }, + { + "code": "79893-4" + }, + { + "code": "98497-1" + }, + { + "code": "98498-9" + }, + { + "code": "98499-7" + }, + { + "code": "98500-2" + }, + { + "code": "98501-0" + }, + { + "code": "98502-8" + }, + { + "code": "98503-6" + }, + { + "code": "98504-4" + }, + { + "code": "98505-1" + }, + { + "code": "98506-9" + }, + { + "code": "65893-0" + }, + { + "code": "65897-1" + }, + { + "code": "98507-7" + }, + { + "code": "98508-5" + }, + { + "code": "98509-3" + }, + { + "code": "98510-1" + }, + { + "code": "98511-9" + }, + { + "code": "98512-7" + }, + { + "code": "98513-5" + }, + { + "code": "79908-0" + }, + { + "code": "77199-8" + }, + { + "code": "89015-2" + }, + { + "code": "91375-6" + }, + { + "code": "89024-4" + }, + { + "code": "91379-8" + }, + { + "code": "89016-0" + }, + { + "code": "91373-1" + }, + { + "code": "89018-6" + }, + { + "code": "89020-2" + }, + { + "code": "89022-8" + }, + { + "code": "91377-2" + }, + { + "code": "89026-9" + }, + { + "code": "89028-5" + }, + { + "code": "91374-9" + }, + { + "code": "89025-1" + }, + { + "code": "91378-0" + }, + { + "code": "89017-8" + }, + { + "code": "91372-3" + }, + { + "code": "89019-4" + }, + { + "code": "89021-0" + }, + { + "code": "89023-6" + }, + { + "code": "91376-4" + }, + { + "code": "89027-7" + }, + { + "code": "89029-3" + }, + { + "code": "18744-3" + }, + { + "code": "81459-0" + }, + { + "code": "90568-7" + }, + { + "code": "90565-3" + }, + { + "code": "90557-0" + }, + { + "code": "90563-8" + }, + { + "code": "90559-6" + }, + { + "code": "90560-4" + }, + { + "code": "90552-1" + }, + { + "code": "90553-9" + }, + { + "code": "90561-2" + }, + { + "code": "90555-4" + }, + { + "code": "90556-2" + }, + { + "code": "90564-6" + }, + { + "code": "90558-8" + }, + { + "code": "90562-0" + }, + { + "code": "90566-1" + }, + { + "code": "90554-7" + }, + { + "code": "90567-9" + }, + { + "code": "81458-2" + }, + { + "code": "81440-0" + }, + { + "code": "81441-8" + }, + { + "code": "81456-6" + }, + { + "code": "81457-4" + }, + { + "code": "81452-5" + }, + { + "code": "81453-3" + }, + { + "code": "81450-9" + }, + { + "code": "81451-7" + }, + { + "code": "81454-1" + }, + { + "code": "81455-8" + }, + { + "code": "81448-3" + }, + { + "code": "81449-1" + }, + { + "code": "81446-7" + }, + { + "code": "81447-5" + }, + { + "code": "81444-2" + }, + { + "code": "81445-9" + }, + { + "code": "81443-4" + }, + { + "code": "81442-6" + }, + { + "code": "80525-9" + }, + { + "code": "80519-2" + }, + { + "code": "80526-7" + }, + { + "code": "80523-4" + }, + { + "code": "80520-0" + }, + { + "code": "80524-2" + }, + { + "code": "80522-6" + }, + { + "code": "9197-5" + }, + { + "code": "80521-8" + }, + { + "code": "45033-8" + }, + { + "code": "44974-4" + }, + { + "code": "8910-2" + }, + { + "code": "8911-0" + }, + { + "code": "44964-5" + }, + { + "code": "44963-7" + }, + { + "code": "44970-2" + }, + { + "code": "39129-2" + }, + { + "code": "44972-8" + }, + { + "code": "44966-0" + }, + { + "code": "8601-7" + }, + { + "code": "44967-8" + }, + { + "code": "8884-9" + }, + { + "code": "44962-9" + }, + { + "code": "44961-1" + }, + { + "code": "69428-1" + }, + { + "code": "44965-2" + }, + { + "code": "44976-9" + }, + { + "code": "18523-1" + }, + { + "code": "18524-9" + }, + { + "code": "18525-6" + }, + { + "code": "44973-6" + }, + { + "code": "9952-3" + }, + { + "code": "9953-1" + }, + { + "code": "65681-9" + }, + { + "code": "44975-1" + }, + { + "code": "18535-5" + }, + { + "code": "18537-1" + }, + { + "code": "44968-6" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-common-sdoh-assessments.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-common-sdoh-assessments.json new file mode 100644 index 00000000000..8d68540fcd1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-common-sdoh-assessments.json @@ -0,0 +1,193 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-common-sdoh-assessments", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-common-sdoh-assessments", + "version": "5.0.0", + "name": "USCoreCommonSDOHAssessments", + "title": "US Core Common SDOH Assessments", + "status": "active", + "experimental": false, + "date": "2022-04-14", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Common SDOH assessment concepts covering the following categories (Gravity Project SDOH Domains):\n - Food (Food Insecurity)\n - Housing (Housing Instability)\n - Health (Social Connection, Stress)\n - Employment (Employment Status)\n - Care (SDOH Category Unspecified)\n - Transit (Transportation Insecurity)\n - Money (Financial Insecurity)\n - Goods (Material Hardship)\n - Education (SDOH Category Unspecified)\n - Legal (SDOH Category Unspecified)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "93028-9" + }, + { + "code": "93025-5" + }, + { + "code": "69861-3" + }, + { + "code": "93027-1" + }, + { + "code": "81375-8" + }, + { + "code": "93034-7" + }, + { + "code": "68516-4" + }, + { + "code": "96782-8" + }, + { + "code": "93029-7" + }, + { + "code": "68517-2" + }, + { + "code": "96842-0" + }, + { + "code": "88123-5" + }, + { + "code": "76501-6" + }, + { + "code": "95618-5" + }, + { + "code": "93038-8" + }, + { + "code": "69858-9" + }, + { + "code": "93159-2" + }, + { + "code": "96780-2" + }, + { + "code": "44250-9" + }, + { + "code": "68524-8" + }, + { + "code": "88121-9" + }, + { + "code": "93026-3" + }, + { + "code": "82589-3" + }, + { + "code": "89555-7" + }, + { + "code": "96781-0" + }, + { + "code": "95530-2" + }, + { + "code": "56799-0" + }, + { + "code": "63586-2" + }, + { + "code": "96779-4" + }, + { + "code": "93677-3" + }, + { + "code": "63512-8" + }, + { + "code": "76437-3" + }, + { + "code": "88124-3" + }, + { + "code": "32624-9" + }, + { + "code": "97023-6" + }, + { + "code": "93035-4" + }, + { + "code": "54899-0" + }, + { + "code": "93033-9" + }, + { + "code": "93031-3" + }, + { + "code": "56051-6" + }, + { + "code": "88122-7" + }, + { + "code": "93030-5" + }, + { + "code": "97027-7" + }, + { + "code": "71802-3" + }, + { + "code": "44255-8" + }, + { + "code": "67875-5" + }, + { + "code": "76513-1" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-condition-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-condition-code.json new file mode 100644 index 00000000000..b124fe87476 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-condition-code.json @@ -0,0 +1,94 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "meta": { + "versionId": "1", + "lastUpdated": "2022-04-28T00:15:18.578Z" + }, + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "5.0.0", + "name": "USCoreConditionCodes", + "title": "US Core Condition Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "1. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n2. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "160245001" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "404684003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "243796009" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "272379006" + } + ] + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-category.json new file mode 100644 index 00000000000..5b3fe864176 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-category.json @@ -0,0 +1,63 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "5.0.0", + "name": "USCoreDiagnosticReportCategory", + "title": "US Core Diagnostic Report Category Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LP29684-5", + "display": "Radiology" + }, + { + "code": "LP29708-2", + "display": "Cardiology" + }, + { + "code": "LP7839-6", + "display": "Pathology" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-lab-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-lab-codes.json new file mode 100644 index 00000000000..6399687649a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-lab-codes.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "5.0.0", + "name": "USCoreDiagnosticReportLabCodes", + "title": "US Core Diagnostic Report Laboratory Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "filter": [ + { + "property": "CLASSTYPE", + "op": "=", + "value": "1" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json new file mode 100644 index 00000000000..b6f6a5bf89e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-diagnosticreport-report-and-note-codes.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "5.0.0", + "name": "USCoreNonLaboratoryCodes", + "title": "US Core Non Laboratory Codes", + "status": "active", + "experimental": false, + "date": "2022-04-15", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Non laboratory LOINC concepts such as codes for observations like vital signs, hemodynamics, intake/output, EKG, obstetric ultrasound, cardiac echo and other clinical observations. The codes selected should represent discrete and narrative diagnostic observations and reports", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "filter": [ + { + "property": "CLASSTYPE", + "op": "=", + "value": "2" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-discharge-disposition.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-discharge-disposition.json new file mode 100644 index 00000000000..a251c8c1213 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-discharge-disposition.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-discharge-disposition", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-discharge-disposition", + "version": "5.0.0", + "name": "USCoreDischargeDisposition", + "title": "US Core Discharge Disposition", + "status": "active", + "date": "2021-11-08", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "[National Uniform Billing Committee](http://www.nubc.org/), manual UB-04, UB form locator 17.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "The Official UB-04 Data Specifications Manual 2022 is copyrighted by the American Hospital Association. It is the only official source of UB-04 billing information adopted by the National Uniform Billing Committee (NUBC). To license an electronic version of the UB-04 code set for internal use or integration into products and services, contact the Licensing Department at [ub04@aha.org](mailto:ub04@aha.org).", + "compose": { + "include": [ + { + "system": "http://www.nubc.org/patient-discharge" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-documentreference-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-documentreference-category.json new file mode 100644 index 00000000000..2cff3566218 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-documentreference-category.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "5.0.0", + "name": "USCoreDocumentReferenceCategory", + "title": "US Core DocumentReference Category", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-documentreference-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-documentreference-type.json new file mode 100644 index 00000000000..b04d687cb00 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-documentreference-type.json @@ -0,0 +1,65 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "5.0.0", + "name": "USCoreDocumentReferenceType", + "title": "US Core DocumentReference Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "unknown" + } + ] + }, + { + "system": "http://loinc.org", + "filter": [ + { + "property": "SCALE_TYP", + "op": "=", + "value": "DOC" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-encounter-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-encounter-type.json new file mode 100644 index 00000000000..14ed6d9029e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-encounter-type.json @@ -0,0 +1,63 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "meta": { + "versionId": "1", + "lastUpdated": "2022-04-27T23:40:04.892Z" + }, + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "version": "5.0.0", + "name": "USCoreEncounterType", + "title": "US Core Encounter Type", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and codes from the Current Procedure and Terminology (CPT) found in the following CPT sections:\n- 99201-99499 E/M - 99500-99600 home health (mainly nonphysician, such as newborn care in home) - 99605-99607 medication management - 98966-98968 non physician telephone services\n(subscription to AMA Required)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "1. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n2. Current Procedural Terminology (CPT) is copyright 2020 American Medical Association. All rights reserved", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "308335008" + } + ] + }, + { + "system": "http://www.ama-assn.org/go/cpt" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-goal-description.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-goal-description.json new file mode 100644 index 00000000000..df12ea12e8a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-goal-description.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-goal-description", + "meta": { + "versionId": "1", + "lastUpdated": "2022-04-27T23:53:20.720Z" + }, + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-goal-description", + "version": "5.0.0", + "name": "USCoreGoalCodes", + "title": "US Core Goal Codes", + "status": "active", + "date": "2021-11-22", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Concepts from CPT and LOINC code systems that can be used to indicate the goal.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "1. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n2. This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC ® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + }, + { + "system": "http://loinc.org" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-narrative-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-narrative-status.json new file mode 100644 index 00000000000..3ac49971c9d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-narrative-status.json @@ -0,0 +1,59 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "5.0.0", + "name": "NarrativeStatus", + "title": "US Core Narrative Status", + "status": "active", + "date": "2022-05-13T19:59:55+00:00", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "HL7", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/narrative-status", + "concept": [ + { + "code": "additional", + "display": "additional" + }, + { + "code": "generated", + "display": "generated" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-category.json new file mode 100644 index 00000000000..811da370cac --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-category.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-category", + "version": "5.0.0", + "name": "USCoreObservationCategory", + "title": "US Core Observation Category", + "status": "active", + "date": "2021-11-11", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "HL7 FHIR concepts to classify an observation", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "concept": [ + { + "code": "sdoh", + "display": "SDOH" + } + ] + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-smoking-status-status.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-smoking-status-status.json new file mode 100644 index 00000000000..c0ae017195c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-smoking-status-status.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "5.0.0", + "name": "USCoreObservationSmokingStatusStatus", + "title": "US Core Status for Smoking Status Observation", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/observation-status", + "concept": [ + { + "code": "final" + }, + { + "code": "entered-in-error" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-smokingstatus-max.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-smokingstatus-max.json new file mode 100644 index 00000000000..2e5ce67a09c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-smokingstatus-max.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus-max", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus-max", + "version": "5.0.0", + "name": "USCoreSmokingStatusmaxValueSet", + "title": "US Core Smoking Status Max-Binding", + "status": "active", + "date": "2020-06-29", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Representing a patient’s smoking behavior using concepts from SNOMED CT.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-value-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-value-codes.json new file mode 100644 index 00000000000..c69b36b729e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-observation-value-codes.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "5.0.0", + "name": "USCoreObservationValueCodes", + "title": "US Core Observation Value Codes (SNOMED-CT)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-problem-or-health-concern.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-problem-or-health-concern.json new file mode 100644 index 00000000000..239f2bf6e23 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-problem-or-health-concern.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-problem-or-health-concern", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-problem-or-health-concern", + "version": "5.0.0", + "name": "USCoreProblemOrHealthConcern", + "title": "US Core Problem or Health Concern", + "status": "active", + "date": "2022-04-12", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Code set for category codes for *US Core Condition Problems and Health Concerns Profile* consisting of the concepts \"problem\" and \"health-concern\".", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "concept": [ + { + "code": "problem-list-item" + } + ] + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "concept": [ + { + "code": "health-concern" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-procedure-code.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-procedure-code.json new file mode 100644 index 00000000000..929fe95ed20 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-procedure-code.json @@ -0,0 +1,75 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "meta": { + "versionId": "1", + "lastUpdated": "2022-04-27T23:46:02.126Z" + }, + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "5.0.0", + "name": "USCoreProcedureCodes", + "title": "US Core Procedure Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS,CDT and LOINC code systems that can be used to indicate the type of procedure performed.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "1. Current Procedural Terminology (CPT) is copyright 2020 American Medical Association. All rights reserved\n2. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n3. HCPCS Level II Alphanumeric Codes codes are maintained by the US Center for Medicare and Medicaid Services (CMS) available for public use.\n4. The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS) available for public use. CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.\n5. The ADA is the exclusive copyright owner of CDT, the Code on Dental Procedures and Nomenclature (the Code), and the ADA Dental Claim Form. Except as permitted by law, all use, copying or distribution of CDT, or any portion thereof (including the Code on Dental Procedures and Nomenclature) in any product or services (including works prepared for clients by consultants and other professionals), whether in printed, electronic or other format, requires a valid commercial user license from the ADA. CDT ® is a registered trademark of the American Dental Association. All Rights Reserved.\n6. This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC ® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://www.ama-assn.org/go/cpt" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "71388002" + } + ] + }, + { + "system": "http://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets" + }, + { + "system": "http://www.cms.gov/Medicare/Coding/ICD10" + }, + { + "system": "http://www.ada.org/cdt" + }, + { + "system": "http://loinc.org" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-provenance-participant-type.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-provenance-participant-type.json new file mode 100644 index 00000000000..292a7365870 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-provenance-participant-type.json @@ -0,0 +1,53 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "5.0.0", + "name": "USCoreProvenancePaticipantTypeCodes", + "title": "US Core Provenance Participant Type Codes", + "status": "active", + "date": "2019-08-28", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The type of participation a provenance agent played for a given target.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "purpose": "So API consumers can identify the provenance participant type.", + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-provider-role.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-provider-role.json new file mode 100644 index 00000000000..066d900ec0f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-provider-role.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "5.0.0", + "name": "USCoreProviderRoleNucc", + "title": "US Core Provider Role (NUCC)", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-servicerequest-category.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-servicerequest-category.json new file mode 100644 index 00000000000..e5d483f724e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-servicerequest-category.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-servicerequest-category", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-servicerequest-category", + "version": "5.0.0", + "name": "USCoreServiceRequestCategoryCodes", + "title": "US Core ServiceRequest Category Codes", + "status": "active", + "date": "2022-04-15", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "A set of SNOMED CT and LOINC concepts to classify a requested service", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "- This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.\n- This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc\"/>", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags", + "concept": [ + { + "code": "sdoh", + "display": "SDOH" + } + ] + }, + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "386053000", + "display": "Evaluation procedure (procedure)" + }, + { + "code": "410606002", + "display": "Social service procedure (procedure)" + } + ] + }, + { + "valueSet": [ + "http://hl7.org/fhir/ValueSet/servicerequest-category" + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-sexual-orientation.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-sexual-orientation.json new file mode 100644 index 00000000000..178b4a14e8c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-sexual-orientation.json @@ -0,0 +1,77 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-sexual-orientation", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-sexual-orientation", + "version": "5.0.0", + "name": "USCoreSexualOrientation", + "title": "US Core Sexual Orientation", + "status": "active", + "date": "2022-06-01", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Sexual Orientation Value Set includes concepts to describe a person’s sexual orientation (who they are attracted to).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "38628009" + }, + { + "code": "20430005" + }, + { + "code": "42035005" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "OTH", + "display": "Other" + }, + { + "code": "UNK", + "display": "Unknown" + }, + { + "code": "ASKU", + "display": "Asked but no answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-smoking-status-observation-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-smoking-status-observation-codes.json new file mode 100644 index 00000000000..fb991d814bd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-smoking-status-observation-codes.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "5.0.0", + "name": "USCoreSmokingStatusObservationCodes", + "title": "US Core Smoking Status Observation Codes", + "status": "active", + "date": "2019-05-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-survey-codes.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-survey-codes.json new file mode 100644 index 00000000000..7eb7218d689 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-survey-codes.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-survey-codes", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-survey-codes", + "version": "5.0.0", + "name": "USCoreSurveyCodes", + "title": "US Core Survey Codes", + "status": "active", + "date": "2022-03-21", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "This value set includes all LOINC values whose CLASSTYPE is SURVEY in the LOINC database (Refer to [Appendix A](https://loinc.org/kb/users-guide/loinc-database-structure/) of LOINC Users' Guide)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "filter": [ + { + "property": "CLASSTYPE", + "op": "=", + "value": "4" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-tags.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-tags.json new file mode 100644 index 00000000000..b47f6cf8083 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-tags.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-tags", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-tags", + "version": "5.0.0", + "name": "USCoreTagsValueSet", + "title": "US Core Tags ValueSet", + "status": "active", + "date": "2022-04-20", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "Used to tag patient submitted resources for writing and searching from EHRs", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-tags" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-usps-state.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-usps-state.json new file mode 100644 index 00000000000..2592765dc60 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-usps-state.json @@ -0,0 +1,353 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "language": "en-US", + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.40" + } + ], + "version": "5.0.0", + "name": "UspsTwoLetterAlphabeticCodes", + "title": "USPS Two Letter Alphabetic Codes", + "status": "active", + "date": "2019-05-21", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "expansion": { + "identifier": "urn:uuid:9005416f-fd06-4f03-afb0-f4adf963683d", + "timestamp": "2022-05-17T18:58:14.488Z", + "parameter": [ + { + "name": "expansion-source", + "valueUri": "ValueSet/us-core-usps-state" + }, + { + "name": "displayLanguage", + "valueString": "en-US,en;q=0.9" + } + ], + "contains": [ + { + "system": "https://www.usps.com/", + "code": "AL", + "display": "Alabama" + }, + { + "system": "https://www.usps.com/", + "code": "AK", + "display": "Alaska" + }, + { + "system": "https://www.usps.com/", + "code": "AS", + "display": "American Samoa" + }, + { + "system": "https://www.usps.com/", + "code": "AZ", + "display": "Arizona" + }, + { + "system": "https://www.usps.com/", + "code": "AR", + "display": "Arkansas" + }, + { + "system": "https://www.usps.com/", + "code": "CA", + "display": "California" + }, + { + "system": "https://www.usps.com/", + "code": "CO", + "display": "Colorado" + }, + { + "system": "https://www.usps.com/", + "code": "CT", + "display": "Connecticut" + }, + { + "system": "https://www.usps.com/", + "code": "DE", + "display": "Delaware" + }, + { + "system": "https://www.usps.com/", + "code": "DC", + "display": "District of Columbia" + }, + { + "system": "https://www.usps.com/", + "code": "FM", + "display": "Federated States of Micronesia" + }, + { + "system": "https://www.usps.com/", + "code": "FL", + "display": "Florida" + }, + { + "system": "https://www.usps.com/", + "code": "GA", + "display": "Georgia" + }, + { + "system": "https://www.usps.com/", + "code": "GU", + "display": "Guam" + }, + { + "system": "https://www.usps.com/", + "code": "HI", + "display": "Hawaii" + }, + { + "system": "https://www.usps.com/", + "code": "ID", + "display": "Idaho" + }, + { + "system": "https://www.usps.com/", + "code": "IL", + "display": "Illinois" + }, + { + "system": "https://www.usps.com/", + "code": "IN", + "display": "Indiana" + }, + { + "system": "https://www.usps.com/", + "code": "IA", + "display": "Iowa" + }, + { + "system": "https://www.usps.com/", + "code": "KS", + "display": "Kansas" + }, + { + "system": "https://www.usps.com/", + "code": "KY", + "display": "Kentucky" + }, + { + "system": "https://www.usps.com/", + "code": "LA", + "display": "Louisiana" + }, + { + "system": "https://www.usps.com/", + "code": "ME", + "display": "Maine" + }, + { + "system": "https://www.usps.com/", + "code": "MH", + "display": "Marshall Islands" + }, + { + "system": "https://www.usps.com/", + "code": "MD", + "display": "Maryland" + }, + { + "system": "https://www.usps.com/", + "code": "MA", + "display": "Massachusetts" + }, + { + "system": "https://www.usps.com/", + "code": "MI", + "display": "Michigan" + }, + { + "system": "https://www.usps.com/", + "code": "MN", + "display": "Minnesota" + }, + { + "system": "https://www.usps.com/", + "code": "MS", + "display": "Mississippi" + }, + { + "system": "https://www.usps.com/", + "code": "MO", + "display": "Missouri" + }, + { + "system": "https://www.usps.com/", + "code": "MT", + "display": "Montana" + }, + { + "system": "https://www.usps.com/", + "code": "NE", + "display": "Nebraska" + }, + { + "system": "https://www.usps.com/", + "code": "NV", + "display": "Nevada" + }, + { + "system": "https://www.usps.com/", + "code": "NH", + "display": "New Hampshire" + }, + { + "system": "https://www.usps.com/", + "code": "NJ", + "display": "New Jersey" + }, + { + "system": "https://www.usps.com/", + "code": "NM", + "display": "New Mexico" + }, + { + "system": "https://www.usps.com/", + "code": "NY", + "display": "New York" + }, + { + "system": "https://www.usps.com/", + "code": "NC", + "display": "North Carolina" + }, + { + "system": "https://www.usps.com/", + "code": "ND", + "display": "North Dakota" + }, + { + "system": "https://www.usps.com/", + "code": "MP", + "display": "Northern Mariana Islands" + }, + { + "system": "https://www.usps.com/", + "code": "OH", + "display": "Ohio" + }, + { + "system": "https://www.usps.com/", + "code": "OK", + "display": "Oklahoma" + }, + { + "system": "https://www.usps.com/", + "code": "OR", + "display": "Oregon" + }, + { + "system": "https://www.usps.com/", + "code": "PW", + "display": "Palau" + }, + { + "system": "https://www.usps.com/", + "code": "PA", + "display": "Pennsylvania" + }, + { + "system": "https://www.usps.com/", + "code": "PR", + "display": "Puerto Rico" + }, + { + "system": "https://www.usps.com/", + "code": "RI", + "display": "Rhode Island" + }, + { + "system": "https://www.usps.com/", + "code": "SC", + "display": "South Carolina" + }, + { + "system": "https://www.usps.com/", + "code": "SD", + "display": "South Dakota" + }, + { + "system": "https://www.usps.com/", + "code": "TN", + "display": "Tennessee" + }, + { + "system": "https://www.usps.com/", + "code": "TX", + "display": "Texas" + }, + { + "system": "https://www.usps.com/", + "code": "UT", + "display": "Utah" + }, + { + "system": "https://www.usps.com/", + "code": "VT", + "display": "Vermont" + }, + { + "system": "https://www.usps.com/", + "code": "VI", + "display": "Virgin Islands" + }, + { + "system": "https://www.usps.com/", + "code": "VA", + "display": "Virginia" + }, + { + "system": "https://www.usps.com/", + "code": "WA", + "display": "Washington" + }, + { + "system": "https://www.usps.com/", + "code": "WV", + "display": "West Virginia" + }, + { + "system": "https://www.usps.com/", + "code": "WI", + "display": "Wisconsin" + }, + { + "system": "https://www.usps.com/", + "code": "WY", + "display": "Wyoming" + }, + { + "system": "https://www.usps.com/", + "code": "AE", + "display": "Armed Forces Europe, the Middle East, and Canada" + }, + { + "system": "https://www.usps.com/", + "code": "AP", + "display": "Armed Forces Pacific" + }, + { + "system": "https://www.usps.com/", + "code": "AA", + "display": "Armed Forces Americas (except Canada)" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-vital-signs.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-vital-signs.json new file mode 100644 index 00000000000..11a7693a885 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ValueSet-us-core-vital-signs.json @@ -0,0 +1,75 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-vital-signs", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs", + "version": "5.0.0", + "name": "UsCoreVitalSigns", + "title": "US Core Vital Signs ValueSet", + "status": "active", + "experimental": false, + "date": "2020-11-17", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "59576-9" + }, + { + "code": "8289-1" + }, + { + "code": "77606-2" + }, + { + "code": "59408-5" + }, + { + "code": "3150-0" + }, + { + "code": "3151-8" + } + ] + }, + { + "valueSet": [ + "http://hl7.org/fhir/ValueSet/observation-vitalsignresult" + ] + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ig-r4.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ig-r4.json new file mode 100644 index 00000000000..71d8a91cb1b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/ig-r4.json @@ -0,0 +1,5162 @@ +{ + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.core", + "text": { + "status": "empty", + "div": "
Redacted for size
" + }, + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/hl7.fhir.us.core", + "version": "5.0.0", + "name": "USCore", + "title": "US Core Implementation Guide", + "status": "active", + "date": "2022-04-04", + "publisher": "HL7 International - Cross-Group Projects", + "contact": [ + { + "name": "HL7 International - Cross-Group Projects", + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/cgp" + }, + { + "system": "email", + "value": "cgp@lists.HL7.org" + } + ] + } + ], + "description": "The US Core Implementation Guide is based on FHIR Version R4 and defines the minimum conformance requirements for accessing patient data. The Argonaut pilot implementations, ONC 2015 Edition Common Clinical Data Set (CCDS), and ONC U.S. Core Data for Interoperability (USCDI) v1 provided the requirements for this guide. The prior Argonaut search and vocabulary requirements, based on FHIR DSTU2, are updated in this guide to support FHIR Version R4. This guide was used as the basis for further testing and guidance by the Argonaut Project Team to provide additional content and guidance specific to Data Query Access for purpose of ONC Certification testing. These profiles are the foundation for future US Realm FHIR implementation guides. In addition to Argonaut, they are used by DAF-Research, QI-Core, and CIMI. Under the guidance of HL7 and the HL7 US Realm Steering Committee, the content will expand in future versions to meet the needs specific to the US Realm.\nThese requirements were originally developed, balloted, and published in FHIR DSTU2 as part of the Office of the National Coordinator for Health Information Technology (ONC) sponsored Data Access Framework (DAF) project. For more information on how DAF became US Core see the US Core change notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US" + } + ] + } + ], + "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", + "packageId": "hl7.fhir.us.core", + "license": "CC0-1.0", + "fhirVersion": [ + "4.0.1" + ], + "dependsOn": [ + { + "id": "hl7tx", + "uri": "http://terminology.hl7.org/ImplementationGuide/hl7.terminology", + "packageId": "hl7.terminology.r4", + "version": "3.1.0" + }, + { + "id": "hl7_fhir_uv_bulkdata", + "uri": "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata", + "packageId": "hl7.fhir.uv.bulkdata", + "version": "2.0.0" + }, + { + "id": "hl7_fhir_uv_smart_app_launch", + "uri": "http://hl7.org/fhir/smart-app-launch/ImplementationGuide/hl7.fhir.uv.smart-app-launch", + "packageId": "hl7.fhir.uv.smart-app-launch", + "version": "2.0.0" + }, + { + "id": "vsac", + "uri": "http://fhir.org/packages/us.nlm.vsac/ImplementationGuide/us.nlm.vsac", + "packageId": "us.nlm.vsac", + "version": "0.3.0" + }, + { + "id": "hl7_fhir_uv_sdc", + "uri": "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc", + "packageId": "hl7.fhir.uv.sdc", + "version": "3.0.0" + } + ], + "definition": { + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-observation-category" + }, + "name": "US Core Observation Category Extension Codes", + "description": "Set of codes for implementation of the US-Core profiles. These codes are extensions to the [FHIR Observation Category Codes](http://terminology.hl7.org/CodeSystem/observation-category).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-tags" + }, + "name": "US Core Tags CodeSystem", + "description": "Codes used in US Core `meta.tag` and 'category' profiles. The are typically used when there is a need for categorization or workflow hints.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-allergyintolerance" + }, + "name": "US Core AllergyIntolerance Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the AllergyIntolerance resource to record, search, and fetch allergies/adverse reactions associated with a patient pm2. It identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the AllergyIntolerance resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-birthsex" + }, + "name": "US Core Birth Sex Extension", + "description": "A code classifying the person's sex assigned at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc). This extension aligns with the C-CDA Birth Sex Observation (LOINC 76689-9).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-blood-pressure" + }, + "name": "US Core Blood Pressure Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-bmi" + }, + "name": "US Core BMI Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch Body Mass Index (BMI) observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-height" + }, + "name": "US Core Body Height Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body height observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-temperature" + }, + "name": "US Core Body Temperature Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body temperature observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-body-weight" + }, + "name": "US Core Body Weight Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch body weight observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careplan" + }, + "name": "US Core CarePlan Profile", + "description": "This profile sets minimum expectations for the CarePlan resource to record, search, and fetch assessment and plan of treatment data associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-careteam" + }, + "name": "US Core CareTeam Profile", + "description": "This profile sets minimum expectations for the CareTeam resource for identifying the Care Team members associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-condition-encounter-diagnosis" + }, + "name": "US Core Condition Encounter Diagnosis Profile", + "description": "The US Core Condition Encounter Diagnosis Profile is based upon the core FHIR Condition Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Encounter Diagnosis’ requirements. In version 5.0.0, The US Core Condition Profile has been split into the US Core Condition Encounter Diagnosis Profile and US Core Condition Problems and Health Concerns Profile. To promote interoperability and adoption through common implementation, this profile defines constraints and extensions on the Condition resource for the minimal set of data to record, search, and fetch information about an encounter diagnosis. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-condition-problems-health-concerns" + }, + "name": "US Core Condition Problems and Health Concerns Profile", + "description": "The US Core Condition Problems and Health Concerns Profile is based upon the core FHIR Condition Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Problems' and 'Health Concerns' requirements and SDOH 'Problems/Health Concerns' requirements. In version 5.0.0, The US Core Condition Profile has been split into the US Core Condition Encounter Diagnosis Profile and US Core Condition Problems and Health Concerns Profile. To promote interoperability and adoption through common implementation, this profile defines constraints and extensions on the Condition resource for the minimal set of data to record, search, and fetch information about a condition, diagnosis, or other event, situation, issue, or clinical concept that is documented and categorized as a problem or health concern including information about a Social Determinants of Health-related condition. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-lab" + }, + "name": "US Core DiagnosticReport Profile for Laboratory Results Reporting", + "description": "Laboratory results are grouped and summarized using the DiagnosticReport resource which typically reference Observation resource(s). Each Observation resource represents an individual laboratory test and result value or component result values, or a nested panel (such as a microbial susceptibility panel) which references other observations. They can also be presented in report form or as free text. This profile sets minimum expectations for the DiagnosticReport resource to record, search, and fetch laboratory results associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-diagnosticreport-note" + }, + "name": "US Core DiagnosticReport Profile for Report and Note Exchange", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for searching and fetching Diagnostic Reports and Notes using the DiagnosticReport resource. This profile identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the DiagnosticReport when using this profile. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Clinical Notes Guidance to understand the overlap of US Core DiagnosticReport Profile for Report and Note exchange and US Core DocumentReference Profile.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-direct" + }, + "name": "US Core Direct email Extension", + "description": "This email address is associated with a [direct](http://wiki.directproject.org/Addressing+Specification) service. This extension can only be used on contact points where the system = 'email'", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-documentreference" + }, + "name": "US Core DocumentReference Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for searching and fetching patient documents including Clinical Notes using the DocumentReference resource. It identifies the mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the DocumentReference resource when using this profile. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Clinical Notes Guidance to understand the overlap of US Core DocumentReference Profile and US Core DiagnosticReport Profile for Report and Note exchange.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-encounter" + }, + "name": "US Core Encounter Profile", + "description": "This profile sets minimum expectations for the Encounter resource to record, search, and fetch basic encounter information for an individual patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-ethnicity" + }, + "name": "US Core Ethnicity Extension", + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The ethnicity codes used to represent these concepts are based upon the [CDC ethnicity and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 43 reference ethnicity. The ethnicity concepts are grouped by and pre-mapped to the 2 OMB ethnicity categories: - Hispanic or Latino - Not Hispanic or Latino.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-extension-questionnaire-uri" + }, + "name": "US Core Extension Questionnaire URI", + "description": "The location where a non-FHIR questionnaire/survey form can be found. This extension is used when the survey,form, or questionnaire which is being anwered is not a FHIR [Questionnaire](https://www.hl7.org/fhir/questionnaire.html), otherwise the [canonical url](https://www.hl7.org/fhir/references.html#canonical) for the FHIR Questionnaire is used.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-genderIdentity" + }, + "name": "US Core Gender Identity Extension", + "description": "This extension provides concepts to describe the gender a person identifies as.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-goal" + }, + "name": "US Core Goal Profile", + "description": "This profile sets minimum expectations for the Goal resource to record, search, and fetch Goal information associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-head-circumference" + }, + "name": "US Core Head Circumference Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch head circumference observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-heart-rate" + }, + "name": "US Core Heart Rate Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch heart rate observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-immunization" + }, + "name": "US Core Immunization Profile", + "description": "This profile sets minimum expectations for the Immunization resource to record, search, and fetch immunization history associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-implantable-device" + }, + "name": "US Core Implantable Device Profile", + "description": "The US Core Implantable Device Profile is based upon the core FHIR Device Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Unique Device Identifier(s) for a Patient’s Implantable Device(s)’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Device resource to record, search, and fetch UDI information associated with a patient's implantable device(s). It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-location" + }, + "name": "US Core Location Profile", + "description": "This profile sets minimum expectations for the Location resource for recording, searching for and fetching a Location associated with a patient, provider or organization to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medication" + }, + "name": "US Core Medication Profile", + "description": "When referencing a medication, the MedicationRequest resource can either use a code or refer to a Medication resource. This profile sets minimum expectations for the Medication resource to record, search, and fetch medications associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-medicationrequest" + }, + "name": "US Core MedicationRequest Profile", + "description": "The US Core Medication Request Profile is based upon the core FHIR MedicationRequest Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Medications' requirements. The MedicationRequest resource can be used to record a patient’s medication prescription or order. This profile sets minimum expectations for the MedicationRequest resource to record, search, and fetch a patient's medication to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-clinical-test" + }, + "name": "US Core Observation Clinical Test Result Profile", + "description": "The US Core Observation Clinical Test Result Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Report and Note exchange, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Clinical Tests’ requirements. Clinical tests includes non-imaging and non-laboratory tests performed on a patient that results in structured or unstructured (narrative) findings specific to the patient, such as electrocardiogram (ECG), visual acuity exam, macular exam, or graded exercise testing (GXT), to facilitate the diagnosis and management of conditions. The US Core Observation Clinical Test Result Profile profile sets minimum expectations for the Observation resource to record, search, and fetch clinical tests for a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-imaging" + }, + "name": "US Core Observation Imaging Result Profile", + "description": "The US Core Observation Imaging Result Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Report and Note exchange, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Diagnostic Imaging’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch retrieve structured and unstructured (narrative) components of diagnostic imaging test results for a patient. These observations include reasons, findings, and impressions. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-lab" + }, + "name": "US Core Laboratory Result Observation Profile", + "description": "The US Core Laboratory Result Observation Profile is based upon the core FHIR Observation Resource, and, along with the US Core DiagnosticReport Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability (USCDI) v2 ‘Laboratory’ requirements. Laboratory results are grouped and summarized using the DiagnosticReport resource which reference Observation resources. Each Observation resource represents an individual laboratory test and result value, a “nested” panel (such as a microbial susceptibility panel) which references other observations, or rarely a laboratory test with component result values. The US Core Laboratory Result Observation Profile sets minimum expectations for the Observation resource resource to record, search, and fetch laboratory test results associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-sdoh-assessment" + }, + "name": "US Core Observation SDOH Assessment Profile", + "description": "The US Core Observation SDOH Assessment Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'SDOH Assessments' requirements. This profile is based on the US Core Observation Survey Profile and sets minimum expectations for representing responses to assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*. It can be used to represent individual responses, panels of multi-question surveys, and multi-select responses to “check all that apply” questions. It identifies the *additional* core elements, extensions, vocabularies and value sets which SHALL be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-sexual-orientation" + }, + "name": "US Core Observation Sexual Orientation Profile", + "description": "The US Core Observation Sexual Orientation Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'Sexual Orientation' requirements. this profile sets minimum expectations for the Observation resource to record, search, and fetch sexual orientation observations associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-social-history" + }, + "name": "US Core Observation Social History Profile", + "description": "The US Core Observation Social History Profile meets the U.S. Core Data for Interoperability (USCDI) v2 ‘SDOH Assessments’ requirements. To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch retrieve observations that represent simple observations made by an individual about a patient's social history status such as education, food insecurity, etc. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-observation-survey" + }, + "name": "US Core Observation Survey Profile", + "description": "To promote interoperability and adoption through common implementation, the US Core Observation Survey Profile sets minimum expectations for the Observation Resource to record, search, and fetch retrieve observations that represent the questions and responses to form/survey and assessment tools. It can be used to represent individual responses, panels of multi-question surveys, and multi-select responses to “check all that apply” questions. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-organization" + }, + "name": "US Core Organization Profile", + "description": "This profile sets minimum expectations for the Organization resource to searching for and fetching an Organization associated with a patient or provider to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-bmi-for-age" + }, + "name": "US Core Pediatric BMI for Age Observation Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric body mass index (BMI) percentile per age and sex for youth 2-20 observations in FHIR using a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/pediatric-weight-for-height" + }, + "name": "US Core Pediatric Weight for Height Observation Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric weight-for-length per age and gender observations in FHIR with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitioner" + }, + "name": "US Core Practitioner Profile", + "description": "This profile sets minimum expectations for the Practitioner resource to record, search, and fetch basic demographics and other administrative information about an individual practitioner to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-practitionerrole" + }, + "name": "US Core PractitionerRole Profile", + "description": "This profile sets minimum expectations for the PractitionerRole Resource to record, search, and fetch the practitioner role for a practitioner to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases. The requirements for the US Core Practitioner were drawn from the [Argonaut Provider Directory](http://www.fhir.org/guides/argonaut/pd//release1/index.html), [IHE Healthcare Provider Directory](http://ihe.net/uploadedFiles/Documents/ITI/IHE_ITI_Suppl_HPD.pdf) and the [ONC Provider Directory Workshop](https://confluence.oncprojectracking.org/display/PDW/Workshop+Documents).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-procedure" + }, + "name": "US Core Procedure Profile", + "description": "The US Core Procedure Profile is based upon the core FHIR Procedure Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' requirements. This profile sets minimum expectations for the Procedure resource to record, search, and fetch procedures associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-provenance" + }, + "name": "US Core Provenance Profile", + "description": "This profile sets minimum expectations for the Provenance resource to record, search, and fetch Provenance information associated with a record to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. This FHIR Provenance profile here covers the minimal (basic) information to support lineage of information. It provides the floor for standards development for specific uses cases. Prior to reviewing this profile, implementers are encouraged to read the Basic Provenance guidance page which documents several key use cases, specifically, what organization was responsible for the most recent action on the resource.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-pulse-oximetry" + }, + "name": "US Core Pulse Oximetry Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pulse oximetry and inspired oxygen observations with a standard LOINC codes and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-questionnaireresponse" + }, + "name": "US Core QuestionnaireResponse Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the QuestionnaireResponse resource to record, search, and fetch retrieve captures the responses to form/survey and assessment tools such as the *Protocol for Responding to and Assessing Patients’ Assets, Risks, and Experiences (PRAPARE) Survey*. This profile is based on the [Structured Data Capture (SDC) Questionnaire Response Profile](http://hl7.org/fhir/uv/sdc/STU3/StructureDefinition-sdc-questionnaireresponse.html) and identifies the *additional* core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-race" + }, + "name": "US Core Race Extension", + "description": "Concepts classifying the person into a named category of humans sharing common history, traits, geographical origin or nationality. The race codes used to represent these concepts are based upon the [CDC Race and Ethnicity Code Set Version 1.0](http://www.cdc.gov/phin/resources/vocabulary/index.html) which includes over 900 concepts for representing race and ethnicity of which 921 reference race. The race concepts are grouped by and pre-mapped to the 5 OMB race categories:\n\n - American Indian or Alaska Native\n - Asian\n - Black or African American\n - Native Hawaiian or Other Pacific Islander\n - White.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-relatedperson" + }, + "name": "US Core RelatedPerson Profile", + "description": "This profile sets minimum expectations for the RelatedPerson resource to record, search, and fetch related persons associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-respiratory-rate" + }, + "name": "US Core Respiratory Rate Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch respiratory rate observations with a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-smokingstatus" + }, + "name": "US Core Smoking Status Observation Profile", + "description": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and implementers the U.S. Core Data for Interoperability (USCDI) v2 Smoking status' requirements. This profile sets minimum expectations for the Observation resource to record, search, and fetch smoking status data associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-vital-signs" + }, + "name": "US Core Vital Signs Profile", + "description": "To promote interoperability and adoption through common implementation, this profile is based on the base [FHIR Vital Signs Profile](http://hl7.org/fhir/R4/observation-vitalsigns.html) and defines *additional* constraints on the Observation resource to represent vital signs observations. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases. This US Core profiles that are derived from this profile are listed below.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-survey-codes" + }, + "name": "US Core Survey Codes", + "description": "This value set includes all LOINC values whose CLASSTYPE is SURVEY in the LOINC database (Refer to [Appendix A](https://loinc.org/kb/users-guide/loinc-database-structure/) of LOINC Users' Guide)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-tags" + }, + "name": "US Core Tags ValueSet", + "description": "Used to tag patient submitted resources for writing and searching from EHRs", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-client" + }, + "name": "US Core Client CapabilityStatement", + "description": "This Section describes the expected capabilities of the US Core Client which is responsible for creating and initiating the queries for information about an individual patient. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined in the [Conformance Requirements for Server](CapabilityStatement-us-core-server.html). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CapabilityStatement" + } + ], + "reference": { + "reference": "CapabilityStatement/us-core-server" + }, + "name": "US Core Server CapabilityStatement", + "description": "This Section describes the expected capabilities of the US Core Server actor which is responsible for providing responses to the queries submitted by the US Core Requestors. The complete list of FHIR profiles, RESTful operations, and search parameters supported by US Core Servers are defined. Systems implementing this capability statement should meet the ONC 2015 Common Clinical Data Set (CCDS) access requirement for Patient Selection 170.315(g)(7) and Application Access - Data Category Request 170.315(g)(8) and the ONC [U.S. Core Data for Interoperability (USCDI) Version 2 July 2021](https://www.healthit.gov/isa/sites/isa/files/2021-07/USCDI-Version-2-July-2021-Final.pdf). US Core Clients have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/careplan-category" + }, + "name": "US Core CarePlan Category Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core CarePlan Profile. These codes are used as extensions to the FHIR ValueSet.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/condition-category" + }, + "name": "US Core Condition Category Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core Condition Profile. These codes are used as extensions to the FHIR and US Core value sets.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-documentreference-category" + }, + "name": "US Core DocumentReferences Category Codes", + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + } + ], + "reference": { + "reference": "CodeSystem/us-core-provenance-participant-type" + }, + "name": "US Core Provenance Participant Type Extension Codes", + "description": "Set of codes that are needed for implementation of the US-Core Provenance Profile. These codes are used as extensions to the FHIR value sets.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "OperationDefinition" + } + ], + "reference": { + "reference": "OperationDefinition/docref" + }, + "name": "US Core Fetch DocumentReference", + "description": "This operation is used to return all the references to documents related to a patient. \n\n The operation requires a patient id and takes the optional input parameters: \n - start date\n - end date\n - document type \n\n and returns a [Bundle](http://hl7.org/fhir/bundle.html) of type \"searchset\" containing [DocumentReference](http://hl7.org/fhir/documentreference.html) resources for the patient. The DocumentReference resources **SHOULD** conform to the [US Core DocumentReference\n Profiles](http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference). If the server has or can create documents that are related to the patient, and that are available for the given user, the server returns the DocumentReference resources needed to support the records. The principle intended use for this operation is to provide a provider or patient with access to their available document information. \n\n This operation is *different* from a search by patient and type and date range because: \n\n 1. It is used to request a server *generate* a document based on the specified parameters. \n\n 1. If no parameters are specified, the server SHALL return a DocumentReference to the patient's most current CCD \n\n 1. If the server cannot *generate* a document based on the specified parameters, the operation will return an empty search bundle. \n\n This operation is the *same* as a FHIR RESTful search by patient,type and date range because: \n\n 1. References for *existing* documents that meet the requirements of the request SHOULD also be returned unless the client indicates they are only interested in 'on-demand' documents using the *on-demand* parameter.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-clinical-status" + }, + "name": "USCoreAllergyintoleranceClinicalStatus", + "description": "**active | inactive | resolved** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-allergyintolerance-patient" + }, + "name": "USCoreAllergyintolerancePatient", + "description": "**Who the sensitivity is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-category" + }, + "name": "USCoreCareplanCategory", + "description": "**Type of plan** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-date" + }, + "name": "USCoreCareplanDate", + "description": "**Time period plan covers** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-patient" + }, + "name": "USCoreCareplanPatient", + "description": "**Who the care plan is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careplan-status" + }, + "name": "USCoreCareplanStatus", + "description": "**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-patient" + }, + "name": "USCoreCareteamPatient", + "description": "**Who care team is for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-role" + }, + "name": "USCoreCareTeamRole", + "description": "Returns CareTeam resources with a participant role matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-careteam-status" + }, + "name": "USCoreCareteamStatus", + "description": "**proposed | active | suspended | inactive | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-abatement-date" + }, + "name": "USCoreConditionAbatementDate", + "description": "**Date-related abatements (dateTime and period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-asserted-date" + }, + "name": "USCoreConditionAssertedDate", + "description": "Returns conditions with an [assertedDate extension](http://hl7.org/fhir/StructureDefinition/condition-assertedDate) matching the specified date (dateTime).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-category" + }, + "name": "USCoreConditionCategory", + "description": "**The category of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-clinical-status" + }, + "name": "USCoreConditionClinicalStatus", + "description": "**The clinical status of the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-code" + }, + "name": "USCoreConditionCode", + "description": "**Code for the condition** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-encounter" + }, + "name": "USCoreConditionEncounter", + "description": "**Encounter created as part of** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-onset-date" + }, + "name": "USCoreConditionOnsetDate", + "description": "**Date related onsets (dateTime and Period)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-patient" + }, + "name": "USCoreConditionPatient", + "description": "**Who has the condition?** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-condition-recorded-date" + }, + "name": "USCoreConditionRecordedDate", + "description": "**Date record was first recorded** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-patient" + }, + "name": "USCoreDevicePatient", + "description": "**Patient information, if the resource is affixed to a person** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-device-type" + }, + "name": "USCoreDeviceType", + "description": "**The type of the device** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-category" + }, + "name": "USCoreDiagnosticreportCategory", + "description": "**Which diagnostic discipline/department created the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-code" + }, + "name": "USCoreDiagnosticreportCode", + "description": "**The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-date" + }, + "name": "USCoreDiagnosticreportDate", + "description": "**The clinically relevant time of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-patient" + }, + "name": "USCoreDiagnosticreportPatient", + "description": "**The subject of the report if a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-diagnosticreport-status" + }, + "name": "USCoreDiagnosticreportStatus", + "description": "**The status of the report** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-category" + }, + "name": "USCoreDocumentreferenceCategory", + "description": "**Categorization of document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-date" + }, + "name": "USCoreDocumentreferenceDate", + "description": "**When this document reference was created** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-id" + }, + "name": "USCoreDocumentreferenceId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-patient" + }, + "name": "USCoreDocumentreferencePatient", + "description": "**Who/what is the subject of the document** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-period" + }, + "name": "USCoreDocumentreferencePeriod", + "description": "**Time of service that is being documented** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-status" + }, + "name": "USCoreDocumentreferenceStatus", + "description": "**current | superseded | entered-in-error** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-documentreference-type" + }, + "name": "USCoreDocumentreferenceType", + "description": "**Kind of document (LOINC if possible)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-class" + }, + "name": "USCoreEncounterClass", + "description": "**Classification of patient encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-date" + }, + "name": "USCoreEncounterDate", + "description": "**A date within the period the Encounter lasted** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-discharge-disposition" + }, + "name": "USCoreEncounterDischargeDisposition", + "description": "Returns encounters with an discharge-disposition matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-id" + }, + "name": "USCoreEncounterId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-identifier" + }, + "name": "USCoreEncounterIdentifier", + "description": "**Identifier(s) by which this encounter is known** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-location" + }, + "name": "USCoreEncounterLocation", + "description": "**Location the encounter takes place** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-patient" + }, + "name": "USCoreEncounterPatient", + "description": "**The patient or group present at the encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-status" + }, + "name": "USCoreEncounterStatus", + "description": "**planned | arrived | triaged | in-progress | onleave | finished | cancelled +** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-encounter-type" + }, + "name": "USCoreEncounterType", + "description": "**Specific type of encounter** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-ethnicity" + }, + "name": "USCoreEthnicity", + "description": "Returns patients with an ethnicity extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-description" + }, + "name": "USCoreGoalDescription", + "description": "**The code or text describing the goal**\n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-lifecycle-status" + }, + "name": "USCoreGoalLifecycleStatus", + "description": "**proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-patient" + }, + "name": "USCoreGoalPatient", + "description": "**Who this goal is intended for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-goal-target-date" + }, + "name": "USCoreGoalTargetDate", + "description": "**Reach goal on or before** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-date" + }, + "name": "USCoreImmunizationDate", + "description": "**Vaccination (non)-Administration Date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-patient" + }, + "name": "USCoreImmunizationPatient", + "description": "**The patient for the vaccination record** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-immunization-status" + }, + "name": "USCoreImmunizationStatus", + "description": "**Immunization event status** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-city" + }, + "name": "USCoreLocationAddressCity", + "description": "**A city specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-postalcode" + }, + "name": "USCoreLocationAddressPostalcode", + "description": "**A postal code specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address-state" + }, + "name": "USCoreLocationAddressState", + "description": "**A state specified in an address** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-address" + }, + "name": "USCoreLocationAddress", + "description": "**A (part of the) address of the location** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-location-name" + }, + "name": "USCoreLocationName", + "description": "**A portion of the location's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-authoredon" + }, + "name": "USCoreMedicationrequestAuthoredon", + "description": "**Return prescriptions written on this date** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-encounter" + }, + "name": "USCoreMedicationrequestEncounter", + "description": "**Return prescriptions with this encounter identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-intent" + }, + "name": "USCoreMedicationrequestIntent", + "description": "**Returns prescriptions with different intents** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-patient" + }, + "name": "USCoreMedicationrequestPatient", + "description": "**Returns prescriptions for a specific patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-medicationrequest-status" + }, + "name": "USCoreMedicationrequestStatus", + "description": "**Status of the prescription** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-category" + }, + "name": "USCoreObservationCategory", + "description": "**The classification of the type of observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-code" + }, + "name": "USCoreObservationCode", + "description": "**The code of the observation type** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-date" + }, + "name": "USCoreObservationDate", + "description": "**Obtained date/time. If the obtained element is a period, a date that falls in the period** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-patient" + }, + "name": "USCoreObservationPatient", + "description": "**The subject that the observation is about (if patient)** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-observation-status" + }, + "name": "USCoreObservationStatus", + "description": "**The status of the observation** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-address" + }, + "name": "USCoreOrganizationAddress", + "description": "**A server defined search that may match any of the string fields in the Address, including line, city, district, state, country, postalCode, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-organization-name" + }, + "name": "USCoreOrganizationName", + "description": "**A portion of the organization's name or alias** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-birthdate" + }, + "name": "USCorePatientBirthdate", + "description": "**The patient's date of birth** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-family" + }, + "name": "USCorePatientFamily", + "description": "**A portion of the family name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-gender-identity" + }, + "name": "USCorePatientGenderIdentity", + "description": "Returns patients with an gender-identity extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-gender" + }, + "name": "USCorePatientGender", + "description": "**Gender of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-given" + }, + "name": "USCorePatientGiven", + "description": "**A portion of the given name of the patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-id" + }, + "name": "USCorePatientId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-identifier" + }, + "name": "USCorePatientIdentifier", + "description": "**A patient identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-patient-name" + }, + "name": "USCorePatientName", + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-id" + }, + "name": "USCorePractitionerId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-identifier" + }, + "name": "USCorePractitionerIdentifier", + "description": "**A practitioner's Identifier** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitioner-name" + }, + "name": "USCorePractitionerName", + "description": "**A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-practitioner" + }, + "name": "USCorePractitionerrolePractitioner", + "description": "**Practitioner that is able to provide the defined services for the organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-practitionerrole-specialty" + }, + "name": "USCorePractitionerroleSpecialty", + "description": "**The practitioner has this specialty at an organization** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-code" + }, + "name": "USCoreProcedureCode", + "description": "**A code to identify a procedure** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-date" + }, + "name": "USCoreProcedureDate", + "description": "**When the procedure was performed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-patient" + }, + "name": "USCoreProcedurePatient", + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-procedure-status" + }, + "name": "USCoreProcedureStatus", + "description": "**preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-authored" + }, + "name": "USCoreQuestionnaireresponseAuthored", + "description": "**When the questionnaire response was last changed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-id" + }, + "name": "USCoreQuestionnaireresponseId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-patient" + }, + "name": "USCoreQuestionnaireresponsePatient", + "description": "**The patient that is the subject of the questionnaire response** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-questionnaire" + }, + "name": "USCoreQuestionnaireresponseQuestionnaire", + "description": "**The questionnaire the answers are provided for** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-status" + }, + "name": "USCoreQuestionnaireresponseStatus", + "description": "**The status of the questionnaire response** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-questionnaireresponse-tag" + }, + "name": "USCoreQuestionnaireresponseTag", + "description": "**Tags applied to this resource** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-race" + }, + "name": "USCoreRace", + "description": "Returns patients with a race extension matching the specified code.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-relatedperson-id" + }, + "name": "USCoreRelatedpersonId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-relatedperson-patient" + }, + "name": "USCoreRelatedpersonPatient", + "description": "**The patient this related person is related to** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-authored" + }, + "name": "USCoreServicerequestAuthored", + "description": "**Date request signed** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-category" + }, + "name": "USCoreServicerequestCategory", + "description": "**Classification of service** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-code" + }, + "name": "USCoreServicerequestCode", + "description": "**What is being requested/ordered** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-id" + }, + "name": "USCoreServicerequestId", + "description": "**Logical id of this artifact** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-patient" + }, + "name": "USCoreServicerequestPatient", + "description": "**Search by subject - a patient** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "SearchParameter" + } + ], + "reference": { + "reference": "SearchParameter/us-core-servicerequest-status" + }, + "name": "USCoreServicerequestStatus", + "description": "**draft | active | on-hold | revoked | completed | entered-in-error | unknown** \n**NOTE**: This US Core SearchParameter definition extends the usage context of the\n[Conformance expectation extension](http://hl7.org/fhir/R4/extension-capabilitystatement-expectation.html)\n - multipleAnd\n - multipleOr\n - comparator\n - modifier\n - chain", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + "name": "US Core Pediatric Head Occipital-frontal Circumference Percentile Profile", + "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch pediatric head occipital frontal circumference (OFC) percentile observations associated with a patients from birth to 37 Months of age using a standard LOINC code and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies the *additional* mandatory core elements, extensions, vocabularies and value sets which **SHALL** be present in the Observation resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-patient" + }, + "name": "US Core Patient Profile", + "description": "The US Core Patient Profile meets the U.S. Core Data for Interoperability (USCDI) v2 'Patient Demographics' requirements. This profile sets minimum expectations for the Patient resource to record, search, and fetch basic demographics and other administrative information about an individual patient. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + } + ], + "reference": { + "reference": "StructureDefinition/us-core-servicerequest" + }, + "name": "US Core ServiceRequest Profile", + "description": "This profile sets minimum expectations for recording, searching, and fetching using the ServiceRequest resource to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies and value sets **SHALL** be present in the resource when using this profile. It provides the floor for standards development for specific uses cases.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/detailed-ethnicity" + }, + "name": "Detailed ethnicity", + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', 'other, and the 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/detailed-race" + }, + "name": "Detailed Race", + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', 'other, and the 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-discharge-disposition" + }, + "name": "US Core Discharge Disposition", + "description": "[National Uniform Billing Committee](http://www.nubc.org/), manual UB-04, UB form locator 17.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/omb-ethnicity-category" + }, + "name": "OMB Ethnicity Categories", + "description": "The codes for the concepts 'Unknown', 'Asked but no answer', and the ethnicity categories - 'Hispanic or Latino' and 'Not Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/omb-race-category" + }, + "name": "OMB Race Categories", + "description": "The codes for the concepts 'Unknown', 'Asked but Unknown', 'Other Race'* and\nthe codes for the five race categories - 'American Indian' or 'Alaska Native',\n'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific\nIslander', and 'White' - as defined by the [OMB Standards for Maintaining,\nCollecting, and Presenting Federal Data on Race and Ethnicity, Statistical\nPolicy Directive No. 15, as revised, October 30,\n1997](https://www.govinfo.gov/content/pkg/FR-1997-10-30/pdf/97-28653.pdf)\n\n\\* The use of 'Other Race' is discouraged for statistical analysis.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/simple-language" + }, + "name": "Language codes with language and optionally a region modifier", + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/birthsex" + }, + "name": "Birth Sex", + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-clinical-note-type" + }, + "name": "US Core Clinical Note Type", + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-clinical-test-codes" + }, + "name": "US Core Clinical Test Codes", + "description": "Starter set of clinical test LOINC codes identified in Appendix B in U.S. Core Data for Interoperability (USCDI) Task Force 2021 HITAC Phase 3 Recommendations Report Letter", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-common-sdoh-assessments" + }, + "name": "US Core Common SDOH Assessments", + "description": "Common SDOH assessment concepts covering the following categories (Gravity Project SDOH Domains):\n - Food (Food Insecurity)\n - Housing (Housing Instability)\n - Health (Social Connection, Stress)\n - Employment (Employment Status)\n - Care (SDOH Category Unspecified)\n - Transit (Transportation Insecurity)\n - Money (Financial Insecurity)\n - Goods (Material Hardship)\n - Education (SDOH Category Unspecified)\n - Legal (SDOH Category Unspecified)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-condition-code" + }, + "name": "US Core Condition Codes", + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-category" + }, + "name": "US Core Diagnostic Report Category Codes", + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-lab-codes" + }, + "name": "US Core Diagnostic Report Laboratory Codes", + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-diagnosticreport-report-and-note-codes" + }, + "name": "US Core Non Laboratory Codes", + "description": "Non laboratory LOINC concepts such as codes for observations like vital signs, hemodynamics, intake/output, EKG, obstetric ultrasound, cardiac echo and other clinical observations. The codes selected should represent discrete and narrative diagnostic observations and reports", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-category" + }, + "name": "US Core DocumentReference Category", + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-documentreference-type" + }, + "name": "US Core DocumentReference Type", + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-encounter-type" + }, + "name": "US Core Encounter Type", + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and codes from the Current Procedure and Terminology (CPT) found in the following CPT sections:\n- 99201-99499 E/M - 99500-99600 home health (mainly nonphysician, such as newborn care in home) - 99605-99607 medication management - 98966-98968 non physician telephone services\n(subscription to AMA Required)", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-goal-description" + }, + "name": "US Core Goal Codes", + "description": "Concepts from CPT and LOINC code systems that can be used to indicate the goal.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-narrative-status" + }, + "name": "US Core Narrative Status", + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-category" + }, + "name": "US Core Observation Category", + "description": "HL7 FHIR concepts to classify an observation", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smokingstatus-max" + }, + "name": "US Core Smoking Status Max-Binding", + "description": "Representing a patient’s smoking behavior using concepts from SNOMED CT.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-smoking-status-status" + }, + "name": "US Core Status for Smoking Status Observation", + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-observation-value-codes" + }, + "name": "US Core Observation Value Codes (SNOMED-CT)", + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-problem-or-health-concern" + }, + "name": "US Core Problem or Health Concern", + "description": "Code set for category codes for *US Core Condition Problems and Health Concerns Profile* consisting of the concepts \"problem\" and \"health-concern\".", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-procedure-code" + }, + "name": "US Core Procedure Codes", + "description": "Concepts from CPT, SNOMED CT, HCPCS Level II Alphanumeric Codes, ICD-10-PCS,CDT and LOINC code systems that can be used to indicate the type of procedure performed.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-provenance-participant-type" + }, + "name": "US Core Provenance Participant Type Codes", + "description": "The type of participation a provenance agent played for a given target.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-provider-role" + }, + "name": "US Core Provider Role (NUCC)", + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-servicerequest-category" + }, + "name": "US Core ServiceRequest Category Codes", + "description": "A set of SNOMED CT and LOINC concepts to classify a requested service", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-sexual-orientation" + }, + "name": "US Core Sexual Orientation", + "description": "The US Core Sexual Orientation Value Set includes concepts to describe a person’s sexual orientation (who they are attracted to).", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-smoking-status-observation-codes" + }, + "name": "US Core Smoking Status Observation Codes", + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-usps-state" + }, + "name": "USPS Two Letter Alphabetic Codes", + "description": "This value set defines two letter USPS alphabetic codes.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + } + ], + "reference": { + "reference": "ValueSet/us-core-vital-signs" + }, + "name": "US Core Vital Signs ValueSet", + "description": "The vital sign codes from the base FHIR and US Core Vital Signs.", + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-2" + }, + "name": "Device Defib Example", + "description": "This is a Device defib example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-3" + }, + "name": "Device Knee Example", + "description": "This is a Device knee example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/bone-density-report" + }, + "name": "DXA Bone density quantitative measurement panel Example", + "description": "This is a DXA Bone density quantitative measurement panel report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/cardiology-report" + }, + "name": "DiagnosticReport Cardiology Report Example", + "description": "This is a DiagnosticReport cardiology report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/chest-xray-report" + }, + "name": "DiagnosticReport Chest Xray Report Example", + "description": "This is a DiagnosticReport chest xray report example for the *US Core DiagnosticReport Note Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-color" + }, + "name": "10 minute Apgar Color Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-heart-rate" + }, + "name": "10 minute Apgar Heart Rate Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-muscle-tone" + }, + "name": "10 minute Apgar Muscle Tone Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-reflex-irritability" + }, + "name": "10 minute Apgar Reflex Irritability Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse..", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-respiratory-effort" + }, + "name": "10 minute Apgar Respiratory effort Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-score-panel" + }, + "name": "10 Minute Apgar Score Panel Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture surveys assessments as a panel of observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/10-minute-apgar-score" + }, + "name": "10 Minute Apgar Score Example", + "description": "This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-44250-9" + }, + "name": "Ahc-Hrsn Item Example 44250-9", + "description": "This is a Ahc-Hrsn Item Example 44250-9 (Little interest or pleasure in doing things?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-44255-8" + }, + "name": "Ahc-Hrsn Item Example 44255-8", + "description": "This is a Ahc-Hrsn Item Example 44255-8 (Feeling down, depressed, or hopeless?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-68516-4" + }, + "name": "Ahc-Hrsn Item Example 68516-4", + "description": "This is a Ahc-Hrsn Item Example 68516-4 (On average, how many minutes did you usually spend exercising at this level on one of those days?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-68517-2" + }, + "name": "Ahc-Hrsn Item Example 68517-2", + "description": "This is a Ahc-Hrsn Item Example 68517-2 (How many times in the past 12 months have you had 5 or more drinks in a day (males) or 4 or more drinks in a day (females)?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-68524-8" + }, + "name": "Ahc-Hrsn Item Example 68524-8", + "description": "This is a Ahc-Hrsn Item Example 68524-8 (How many times in the past year have you used illegal drugs?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-69858-9" + }, + "name": "Ahc-Hrsn Item Example 69858-9", + "description": "This is a Ahc-Hrsn Item Example 69858-9 (Because of a physical, mental, or emotional condition, do you have serious difficulty concentrating, remembering, or making decisions?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-69861-3" + }, + "name": "Ahc-Hrsn Item Example 69861-3", + "description": "This is a Ahc-Hrsn Item Example 69861-3 (Because of a physical, mental, or emotional condition, do you have difficulty doing errands alone such as visiting a physician's office or shopping?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-76513-1" + }, + "name": "Ahc-Hrsn Item Example 76513-1", + "description": "This is a Ahc-Hrsn Item Example 76513-1 (How hard is it for you to pay for the very basics like food, housing, medical care, and heating?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-89555-7" + }, + "name": "Ahc-Hrsn Item Example 89555-7", + "description": "This is a Ahc-Hrsn Item Example 89555-7 (In the last 30 days, other than the activities you did for work, on average, how many days per week did you engage in moderate exercise (like walking fast, running, jogging, dancing, swimming, biking, or other similar activities)?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-93038-8" + }, + "name": "Ahc-Hrsn Item Example 93038-8", + "description": "This is a Ahc-Hrsn Item Example 93038-8 (Stress means a situation in which a person feels tense, restless, nervous, or anxious, or is unable to sleep at night because his or her mind is troubled all the time. Do you feel this kind of stress these days?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-93159-2" + }, + "name": "Ahc-Hrsn Item Example 93159-2", + "description": "This is a Ahc-Hrsn Item Example 93159-2 (How often do you feel lonely or isolated from those around you?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-95530-2" + }, + "name": "Ahc-Hrsn Item Example 95530-2", + "description": "This is a Ahc-Hrsn Item Example 95530-2 (How many times in the past year have you used prescription drugs for non-medical reasons?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-96780-2" + }, + "name": "Ahc-Hrsn Item Example 96780-2", + "description": "This is a Ahc-Hrsn Item Example 96780-2 (Do you want help finding or keeping work or a job?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-96781-0" + }, + "name": "Ahc-Hrsn Item Example 96781-0", + "description": "This is a Ahc-Hrsn Item Example 96781-0 (If for any reason you need help with day-to-day activities such as bathing, preparing meals, shopping, managing finances, etc., do you get the help you need?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-96782-8" + }, + "name": "Ahc-Hrsn Item Example 96782-8", + "description": "This is a Ahc-Hrsn Item Example 96782-8 (Do you want help with school or training? For example, starting or completing job training or getting a high school diploma, GED or equivalent.) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-96842-0" + }, + "name": "Ahc-Hrsn Item Example 96842-0", + "description": "This is a Ahc-Hrsn Item Example 96842-0 (How often have you used any tobacco product in past 12 months?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-item-example-97027-7" + }, + "name": "Ahc-Hrsn Item Example 97027-7", + "description": "This is a Ahc-Hrsn Item Example 97027-7 (Do you speak a language other than English at home?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/AHC-HRSN-panel-example-96777-8" + }, + "name": "Ahc-Hrsn Panel Example 96777-8", + "description": "This is a Ahc-Hrsn Panel Example 96777-8 (Accountable health communities (AHC) health-related social needs screening (HRSN) tool) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/HVS-item-example-88122-7" + }, + "name": "Hvs Item Example 88122-7", + "description": "This is a Hvs Item Example 88122-7 ((I/We) worried whether (my/our) food would run out before (I/we) got money to buy more.) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/HVS-item-example-88123-5" + }, + "name": "Hvs Item Example 88123-5", + "description": "This is a Hvs Item Example 88123-5 (The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more.) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/HVS-item-example-88124-3" + }, + "name": "Hvs Item Example 88124-3", + "description": "This is a Hvs Item Example 88124-3 (Food insecurity risk) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/HVS-panel-example-88121-9" + }, + "name": "Hvs Panel Example 88121-9", + "description": "This is a Hvs Panel Example 88121-9 (Hunger Vital Sign [HVS]) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-54899-0" + }, + "name": "Prapare Item Example 54899-0", + "description": "This is a Prapare Item Example 54899-0 (Preferred language) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-56051-6" + }, + "name": "Prapare Item Example 56051-6", + "description": "This is a Prapare Item Example 56051-6 (Do you consider yourself Hispanic/Latino?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-56799-0" + }, + "name": "Prapare Item Example 56799-0", + "description": "This is a Prapare Item Example 56799-0 (Address) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-63512-8" + }, + "name": "Prapare Item Example 63512-8", + "description": "This is a Prapare Item Example 63512-8 (How many people are living or staying at this address?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-63586-2" + }, + "name": "Prapare Item Example 63586-2", + "description": "This is a Prapare Item Example 63586-2 (What was your best estimate of the total income of all family members from all sources, before taxes, in last year?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-67875-5" + }, + "name": "Prapare Item Example 67875-5", + "description": "This is a Prapare Item Example 67875-5 (Employment status current) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-71802-3" + }, + "name": "Prapare Item Example 71802-3", + "description": "This is a Prapare Item Example 71802-3 (Housing status) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-76437-3" + }, + "name": "Prapare Item Example 76437-3", + "description": "This is a Prapare Item Example 76437-3 (Primary insurance) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-76501-6" + }, + "name": "Prapare Item Example 76501-6", + "description": "This is a Prapare Item Example 76501-6 (Within the last year, have you been afraid of your partner or ex-partner?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-82589-3" + }, + "name": "Prapare Item Example 82589-3", + "description": "This is a Prapare Item Example 82589-3 (Highest level of educ) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93026-3" + }, + "name": "Prapare Item Example 93026-3", + "description": "This is a Prapare Item Example 93026-3 (Do you feel physically and emotionally safe where you currently live?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93027-1" + }, + "name": "Prapare Item Example 93027-1", + "description": "This is a Prapare Item Example 93027-1 (Are you a refugee?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93028-9" + }, + "name": "Prapare Item Example 93028-9", + "description": "This is a Prapare Item Example 93028-9 (In the past year, have you spent more than 2 nights in a row in a jail, prison, detention center, or juvenile correctional facility?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93029-7" + }, + "name": "Prapare Item Example 93029-7", + "description": "This is a Prapare Item Example 93029-7 (How often do you see or talk to people that you care about and feel close to (For example: talking to friends on the phone, visiting friends or family, going to church or club meetings)?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93030-5" + }, + "name": "Prapare Item Example 93030-5", + "description": "This is a Prapare Item Example 93030-5 (Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93033-9" + }, + "name": "Prapare Item Example 93033-9", + "description": "This is a Prapare Item Example 93033-9 (Are you worried about losing your housing?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93034-7" + }, + "name": "Prapare Item Example 93034-7", + "description": "This is a Prapare Item Example 93034-7 (Have you been discharged from the armed forces of the United States?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93035-4" + }, + "name": "Prapare Item Example 93035-4", + "description": "This is a Prapare Item Example 93035-4 (At any point in the past 2 years, has season or migrant farm work been your or your family's main source of income?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-item-example-93038-8" + }, + "name": "Prapare Item Example 93038-8", + "description": "This is a Prapare Item Example 93038-8 (Stress is when someone feels tense, nervous, anxious or can't sleep at night because their mind is troubled. How stressed are you?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-multiselect-item-example-32624-9-answer0" + }, + "name": "Prapare Multiselect-Item Example 32624-9-Answer0", + "description": "This is a Prapare Multiselect-Item Example 32624-9-Answer0 (Race) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-multiselect-item-example-32624-9-answer1" + }, + "name": "Prapare Multiselect-Item Example 32624-9-Answer1", + "description": "This is a Prapare Multiselect-Item Example 32624-9-Answer1 (Race) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-multiselect-item-example-93031-3-answer0" + }, + "name": "Prapare Multiselect-Item Example 93031-3-Answer0", + "description": "This is a Prapare Multiselect-Item Example 93031-3-Answer0 (In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-multiselect-item-example-93031-3-answer1" + }, + "name": "Prapare Multiselect-Item Example 93031-3-Answer1", + "description": "This is a Prapare Multiselect-Item Example 93031-3-Answer1 (In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93025-5" + }, + "name": "Prapare Panel Example 93025-5", + "description": "This is a Prapare Panel Example 93025-5 (Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences [PRAPARE]) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93039-6" + }, + "name": "Prapare Panel Example 93039-6", + "description": "This is a Prapare Panel Example 93039-6 (Optional additional questions) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93040-4" + }, + "name": "Prapare Panel Example 93040-4", + "description": "This is a Prapare Panel Example 93040-4 (Social and emotional health) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93041-2" + }, + "name": "Prapare Panel Example 93041-2", + "description": "This is a Prapare Panel Example 93041-2 (Money and resources) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93042-0" + }, + "name": "Prapare Panel Example 93042-0", + "description": "This is a Prapare Panel Example 93042-0 (Family and home) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/PRAPARE-panel-example-93043-8" + }, + "name": "PRAPARE Panel Example 93043-8", + "description": "This is a Prapare Panel Example 93043-8 (Personal characteristics) for the *US Core Screening Response Observation Profile*", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/66c8856b-ba11-4876-8aa8-467aad8c11a2" + }, + "name": "PractitionerRole_Practitioner_Endpoint_Bundle_Example Example", + "description": "This is a PractitionerRole_Practitioner_Endpoint_Bundle_Example example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + } + ], + "reference": { + "reference": "Procedure/defib-implant" + }, + "name": "Procedure R4 Defib Implant Example", + "description": "This is a Procedure R4 defib implant example for the *US Core Procedure Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "QuestionnaireResponse" + } + ], + "reference": { + "reference": "QuestionnaireResponse/AHC-HRSN-screening-example" + }, + "name": "AHC HRSN Screening Example", + "description": "'An example of an SDC QuestionnaireResponse that represents questions and selected answers from the Accountable health communities (AHC) health-related social needs screening (HRSN) tool in LOINC (code 96777-8). The example is generated using the LHC-Forms SDC Questionnaire App.'", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "QuestionnaireResponse" + } + ], + "reference": { + "reference": "QuestionnaireResponse/PRAPARE-example" + }, + "name": "PRAPARE Example", + "description": "'An example of an US Core QuestionnaireResponse that represents questions and selected answers from the PRAPARE questionnaire represented in LOINC (code 93025-5). The example is generated using the LHC-Forms SDC Questionnaire App.'", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "QuestionnaireResponse" + } + ], + "reference": { + "reference": "QuestionnaireResponse/glascow-coma-score" + }, + "name": "Glascow Coma Score Example", + "description": "'This example of a US Core QuestionnaireResponse illustrate using Questionnaire as a *stand alone* resource. It does not point to the definition of the questions in a FHIR Questionnaire, but represents the answers from a non FHIR survey instrument (in this case a pdf).'", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "QuestionnaireResponse" + } + ], + "reference": { + "reference": "QuestionnaireResponse/hunger-vital-sign-example" + }, + "name": "Hunger Vital Sign [HVS] Example", + "description": "'An example of an SDC QuestionnaireResponse that represents questions and selected answers from the Hunger Vital Sign Example questionnaire represented in LOINC (code 88122-7). The example is generated using the LHC-Forms SDC Questionnaire App.'", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/acme-lab" + }, + "name": "Acme Lab Example", + "description": "This is a acme lab example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AllergyIntolerance" + } + ], + "reference": { + "reference": "AllergyIntolerance/example" + }, + "name": "AllergyIntolerance Example", + "description": "This is a allergyintolerance example for the *US Core AllergyIntolerance Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/c887e62f-6166-419f-8268-b5ecd6c7b901" + }, + "name": "AllergyIntolerance Provenance Example", + "description": "This is a allergyintolerance provenance example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/blood-pressure" + }, + "name": "Blood Pressure Example", + "description": "This is a blood pressure example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bmi" + }, + "name": "BMI Example", + "description": "This is a BMI example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bp-data-absent" + }, + "name": "BP Data Absent Example", + "description": "This is a bp data absent example for the *Vitalsigns Profile* showing how to reprsesent blood pressure with a missing diastolic measurement.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/capillary-refill-time-nail-bed" + }, + "name": "Capillary refill Time Nail Bed Example", + "description": "This is a Capillary refill Time Nail Bed Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CareTeam" + } + ], + "reference": { + "reference": "CareTeam/example" + }, + "name": "CareTeam Example", + "description": "This is a careteam example for the *US Core CareTeam Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CarePlan" + } + ], + "reference": { + "reference": "CarePlan/colonoscopy" + }, + "name": "Colonoscopy Example", + "description": "This is a colonoscopy example for the *US Core CarePlan Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/condition-SDOH-example" + }, + "name": "SDOH Problem/Health Concern Example", + "description": "This example of a US Core Condition Problems and Health Concerns Profile illustrates its use to capture information about a patient's SDOH Problem/Health Concern.", + "exampleCanonical": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/encounter-diagnosis-example1" + }, + "name": "Encounter Diagnosis Example 1", + "description": "This example of a US Core Condition Encounter Diagnosis Profile illustrates its use to capture information about a patient's encounter diagnosis.", + "exampleCanonical": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/encounter-diagnosis-example2" + }, + "name": "Encounter Diagnosis Example 2", + "description": "This example of a US Core Condition Encounter Diagnosis Profile illustrates its use to capture information about a patient's encounter diagnosis.", + "exampleCanonical": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/cbc" + }, + "name": "CBC Example", + "description": "This is a CBC example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + } + ], + "reference": { + "reference": "DiagnosticReport/metabolic-panel" + }, + "name": "Metabolic Panel Example", + "description": "This is a metabolic panel example for the *US Core DiagnosticReport Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-femur-l-armass-bmd" + }, + "name": "DXA Femur-L ArMass BMD Example", + "description": "This is a DXA Femur-L ArMass BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-femur-l-t-score-bmd" + }, + "name": "DXA Femur-L T-score BMD Example", + "description": "This is a DXA Femur-L T-score BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-femur-l-z-score-bmd" + }, + "name": "DXA Femur-L Z-score BMD Example", + "description": "This is a DXA Femur-L Z-score BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-hip-l-armass-bmd" + }, + "name": "DXA Hip-L ArMass BMD Example", + "description": "This is a DXA Hip-L ArMass BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-hip-l-t-score-bmd" + }, + "name": "DXA Hip-L T-score BMD Example", + "description": "This is a DXA Hip-L T-score BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/dxa-hip-l-z-score-bmd" + }, + "name": "DXA Hip-L Z-score BMD Example", + "description": "This is a DXA Hip-L Z-score BMD Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/ekg-impression" + }, + "name": "EKG impression Example", + "description": "This is a EKG impression Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/ekg-lead" + }, + "name": "EKG lead Example", + "description": "This is a EKG lead Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/1036" + }, + "name": "Encounter 1036 Example", + "description": "This is a encounter 1036 example for the *Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/delivery" + }, + "name": "Encounter Delivery Example", + "description": "This is a patient delivery encounter example for the *Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + } + ], + "reference": { + "reference": "Encounter/example-1" + }, + "name": "Encounter 1 Example", + "description": "This is a encounter 1 example for the *US Core Encounter Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DocumentReference" + } + ], + "reference": { + "reference": "DocumentReference/episode-summary" + }, + "name": "Episode Summary Example", + "description": "This is a episode summary example for the *US Core DocumentReference Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/example-organization-2" + }, + "name": "Organization 2 Example", + "description": "This is a organization 2 example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ServiceRequest" + } + ], + "reference": { + "reference": "ServiceRequest/foodpantry-referral" + }, + "name": "ServiceRequest Example", + "description": "This is a service request example for the *US Core ServiceRequest Profile Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + } + ], + "reference": { + "reference": "Goal/goal-1" + }, + "name": "Goal 1 Example", + "description": "This is a goal 1 example for the *US Core Goal Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + } + ], + "reference": { + "reference": "Goal/goal-sdoh-2" + }, + "name": "Goal 2 Example", + "description": "This is a goal 2 example for the *US Core Goal Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/head-circumference" + }, + "name": "Head Circumference Example", + "description": "This is a head circumference example for the *US Core Head Circumference Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + } + ], + "reference": { + "reference": "Condition/health-concern-example" + }, + "name": "Health Concern Example", + "description": "This example of a US Core Condition Problems and Health Concerns Profile illustrates its use to capture information about a patient's health concern.", + "exampleCanonical": "http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/heart-rate-rhythm" + }, + "name": "Heart rate rhythm Example", + "description": "This is a Heart rate rhythm Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/heart-rate" + }, + "name": "Heart Rate Example", + "description": "This is a heart rate example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/height" + }, + "name": "Height Example", + "description": "This is a height example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + } + ], + "reference": { + "reference": "Location/hl7east" + }, + "name": "HL7East Example", + "description": "This is a HL7East example for the *US Core Location Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Immunization" + } + ], + "reference": { + "reference": "Immunization/imm-1" + }, + "name": "Imm 1 Example", + "description": "This is a imm 1 example for the *US Core Immunization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/jugular-vein-distension" + }, + "name": "Jugular vein distension Example", + "description": "This is a Jugular vein distension Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/length" + }, + "name": "Length Example", + "description": "This is a length example for the *Vitalsigns Profile* which shows how body length (typically used for infants) is represented using 8306-3 -*Body height - lying* as an additional observation code.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + } + ], + "reference": { + "reference": "Location/hospital" + }, + "name": "Hospital Location", + "description": "This is an example hospital location for the *US Core Location Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Media" + } + ], + "reference": { + "reference": "Media/chest-xray" + }, + "name": "Chest Xray Example", + "description": "This is an example Media xray image that is reference by the *US Core DiagnosticReport Note Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Media" + } + ], + "reference": { + "reference": "Media/ekg-strip" + }, + "name": "EKG Strip Image", + "description": "This is an example Media image that is reference by the *US Core DiagnosticReport Note Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/blood-glucose" + }, + "name": "Blood Glucose Example", + "description": "This is a blood glucose example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/bun" + }, + "name": "BUN Example", + "description": "This is a BUN example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/erythrocytes" + }, + "name": "Erythrocytes Example", + "description": "This is a erythrocytes example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/hemoglobin" + }, + "name": "Hemoglobin Example", + "description": "This is a hemoglobin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/mchc" + }, + "name": "MCHC Example", + "description": "This is a MCHC example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/neutrophils" + }, + "name": "Neutrophils Example", + "description": "This is a neutrophils example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/satO2-fiO2" + }, + "name": "Observation SatO2 FiO2 Example", + "description": "This is a observation satO2 fiO2 example for the *US Core Pulse Oximetry Profile* representing a spO2 value with a for a patient on 6 l/min of O2 suppplemental oxygen.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-calcium" + }, + "name": "Serum Calcium Example", + "description": "This is a serum calcium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-chloride" + }, + "name": "Serum Chloride Example", + "description": "This is a serum chloride example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-co2" + }, + "name": "Serum CO2 Example", + "description": "This is a serum CO2 example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-creatinine" + }, + "name": "Serum Creatinine Example", + "description": "This is a serum creatinine example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-potassium" + }, + "name": "Serum Potassium Example", + "description": "This is a serum potassium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-sodium" + }, + "name": "Serum Sodium Example", + "description": "This is a serum sodium example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/serum-total-bilirubin" + }, + "name": "Serum Total Bilirubin Example", + "description": "This is a serum total bilirubin example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/xray-chest-findings" + }, + "name": "Xray Chest Findings Example", + "description": "This example of a US Core Observation Imaging Result Profile illustrates its use to capture information about a patient's radiology study findings.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/xray-chest-impression" + }, + "name": "Xray Chest Impression Example", + "description": "This example of a US Core Observation Imaging Result Profile illustrates its use to capture information about a patient's radiology study impression.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/ofc-percentile" + }, + "name": "OFC Percentile Example", + "description": "This is a OFC percentile example for the *Head Occipital Frontal Circumference Percentile Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/oxygen-saturation" + }, + "name": "Oxygen Saturation Example", + "description": "This is a typical oxygen saturation example for the *US Core Pulse Oximetry Profile* on room air where no oxygen concentration is recorded.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/p-r-interval-ekg-lead" + }, + "name": "P-R interval {EKG lead} Example", + "description": "This is a P-R interval {EKG lead} Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/child-example" + }, + "name": "Patient Child Example", + "description": "This is a patient child example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/example" + }, + "name": "Patient Example", + "description": "This is a patient example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + } + ], + "reference": { + "reference": "Patient/infant-example" + }, + "name": "Patient Infant Example", + "description": "This is a patient infant example for the *US Core Patient Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pediatric-bmi-example" + }, + "name": "Pediatric BMI Example", + "description": "This is a pediatric BMI example for the *Pediatric BMI For Age Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pediatric-wt-example" + }, + "name": "Pediatric Wt Example", + "description": "This is a pediatric wt example for the *Pediatric Weight For Height Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + } + ], + "reference": { + "reference": "Practitioner/practitioner-1" + }, + "name": "Practitioner 1 Example", + "description": "This is a practitioner 1 example for the *US Core Practitioner Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + } + ], + "reference": { + "reference": "Practitioner/practitioner-2" + }, + "name": "Practitioner 2 Example", + "description": "This is a practitioner 2 example for the *US Core Practitioner Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/pulse-intensity-palpation" + }, + "name": "Pulse intensity Palpation Example", + "description": "This is a Pulse intensity Palpation Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/q-t-interval-ekg-lead" + }, + "name": "Q-T interval {EKG lead} Example", + "description": "This is a Q-T interval {EKG lead} Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/qrs-dur-ekg-lead" + }, + "name": "QRS dur {EKG lead} Example", + "description": "This is a QRS dur {EKG lead} Example for the *Clinical Test Result Observation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + } + ], + "reference": { + "reference": "Procedure/rehab" + }, + "name": "Rehab Example", + "description": "This is a rehab example for the *US Core Procedure Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "RelatedPerson" + } + ], + "reference": { + "reference": "RelatedPerson/shaw-niece" + }, + "name": "Patient Niece Example", + "description": "This is a patient niece example for the *US Core RelatedPerson Profile Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/respiratory-rate" + }, + "name": "Respiratory Rate Example", + "description": "This is a respiratory rate example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + } + ], + "reference": { + "reference": "Organization/saint-luke-w-endpoint" + }, + "name": "Saint Luke W Endpoint Example", + "description": "This is a saint luke w endpoint example for the *US Core Organization Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/self-tylenol" + }, + "name": "Self Tylenol Example", + "description": "This is a self tylenol example for the *MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/sexual-orientation-example" + }, + "name": "Sexual Orientation Observation Example", + "description": "This is an sexual orientation example for the *US Core Observation Sexual Orientation Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/socialhistory-assessment-example" + }, + "name": "Social History Assessment Example", + "description": "This is a Social History Assessment Example for the *US Core Observation Social History Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/some-day-smoker" + }, + "name": "Some Day Smoker Example", + "description": "This is a some day smoker example for the *US Core Smokingstatus Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/temperature" + }, + "name": "Temperature Example", + "description": "This is a temperature example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + } + ], + "reference": { + "reference": "Device/udi-1" + }, + "name": "UDI 1 Example", + "description": "This is a UDI 1 example for the *US Core Implantable Device Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/urobilinogen" + }, + "name": "Urobilinogen Example", + "description": "This is a urobilinogen example for the *US Core Observation Lab Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + } + ], + "reference": { + "reference": "Medication/uscore-med1" + }, + "name": "Uscore Med1 Example", + "description": "This is a uscore med1 example for the *US Core Medication Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + } + ], + "reference": { + "reference": "Medication/uscore-med2" + }, + "name": "Uscore Med2 Example", + "description": "This is a uscore med2 example for the *US Core Medication Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo1" + }, + "name": "Uscore MO1 Example", + "description": "This is a uscore mo1 example for the *US Core MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + } + ], + "reference": { + "reference": "MedicationRequest/uscore-mo2" + }, + "name": "Uscore MO2 Example", + "description": "This is a uscore MO2 example for the *US Core MedicationRequest Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Bundle" + } + ], + "reference": { + "reference": "Bundle/uscore-mo3" + }, + "name": "Uscore MO3 Example", + "description": "This is a uscore mo3 example for the *Bundle Profile*.", + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + } + ], + "reference": { + "reference": "Observation/weight" + }, + "name": "Weight Example", + "description": "This is a weight example for the *Vitalsigns Profile*.", + "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight" + } + ], + "page": { + "nameUrl": "toc.html", + "title": "Table of Contents", + "generation": "html", + "page": [ + { + "nameUrl": "index.html", + "title": "Home", + "generation": "markdown" + }, + { + "nameUrl": "conformance.html", + "title": "Conformance", + "generation": "markdown", + "page": [ + { + "nameUrl": "general-requirements.html", + "title": "General Requirements", + "generation": "markdown" + }, + { + "nameUrl": "must-support.html", + "title": "Must Support", + "generation": "markdown", + "page": [ + { + "nameUrl": "observation-summary.html", + "title": "Observation Summary Table", + "generation": "markdown" + } + ] + } + ] + }, + { + "nameUrl": "guidance.html", + "title": "Guidance", + "generation": "markdown", + "page": [ + { + "nameUrl": "uscdi.html", + "title": "USCDI", + "generation": "markdown" + }, + { + "nameUrl": "general-guidance.html", + "title": "General Guidance", + "generation": "markdown" + }, + { + "nameUrl": "clinical-notes.html", + "title": "Clinical Notes", + "generation": "markdown" + }, + { + "nameUrl": "medication-list.html", + "title": "Medication List", + "generation": "markdown" + }, + { + "nameUrl": "basic-provenance.html", + "title": "Basic Provenance", + "generation": "markdown" + }, + { + "nameUrl": "sdoh.html", + "title": "Social Determinants of Health (SDOH)", + "generation": "markdown" + }, + { + "nameUrl": "changes-between-versions.html", + "title": "Changes Between Versions", + "generation": "markdown" + }, + { + "nameUrl": "future-of-US-core.html", + "title": "Future of US Core", + "generation": "markdown" + } + ] + }, + { + "nameUrl": "profiles-and-extensions.html", + "title": "Profiles and Extensions", + "generation": "markdown" + }, + { + "nameUrl": "capability-statements.html", + "title": "Capability Statements", + "generation": "markdown" + }, + { + "nameUrl": "search-parameters-and-operations.html", + "title": "Search Parameters and Operations", + "generation": "markdown" + }, + { + "nameUrl": "terminology.html", + "title": "Terminology", + "generation": "markdown" + }, + { + "nameUrl": "security.html", + "title": "Security", + "generation": "markdown" + }, + { + "nameUrl": "examples.html", + "title": "Examples", + "generation": "markdown" + }, + { + "nameUrl": "downloads.html", + "title": "Downloads", + "generation": "markdown" + }, + { + "nameUrl": "changes.html", + "title": "Change Log", + "generation": "markdown" + } + ] + }, + "parameter": [ + { + "code": "path-resource", + "value": "input/resources" + }, + { + "code": "path-resource", + "value": "fsh-generated/resources" + }, + { + "code": "path-pages", + "value": "input/pagecontent" + }, + { + "code": "path-pages", + "value": "input/intro-notes" + }, + { + "code": "path-pages", + "value": "fsh-generated/includes" + }, + { + "code": "path-resource", + "value": "input/capabilities" + }, + { + "code": "path-resource", + "value": "input/examples" + }, + { + "code": "path-resource", + "value": "input/extensions" + }, + { + "code": "path-resource", + "value": "input/models" + }, + { + "code": "path-resource", + "value": "input/operations" + }, + { + "code": "path-resource", + "value": "input/profiles" + }, + { + "code": "path-resource", + "value": "input/vocabulary" + }, + { + "code": "path-resource", + "value": "input/testing" + }, + { + "code": "path-resource", + "value": "input/history" + }, + { + "code": "path-pages", + "value": "template/config" + }, + { + "code": "path-pages", + "value": "input/images" + }, + { + "code": "path-tx-cache", + "value": "input-cache/txcache" + } + ] + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/package.json b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/package.json new file mode 100644 index 00000000000..d7ffc1bfbbf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/main/resources/hl7/fhir/us/core/500/package/package.json @@ -0,0 +1,36 @@ +{ + "name": "hl7.fhir.us.core", + "version": "5.0.0", + "tools-version": 3, + "type": "IG", + "date": "20220513195936", + "license": "CC0-1.0", + "canonical": "http://hl7.org/fhir/us/core", + "url": "http://hl7.org/fhir/us/core/STU5", + "title": "US Core Implementation Guide", + "description": "The US Core Implementation Guide is based on FHIR Version R4 and defines the minimum conformance requirements for accessing patient data. The Argonaut pilot implementations, ONC 2015 Edition Common Clinical Data Set (CCDS), and ONC U.S. Core Data for Interoperability (USCDI) v1 provided the requirements for this guide. The prior Argonaut search and vocabulary requirements, based on FHIR DSTU2, are updated in this guide to support FHIR Version R4. This guide was used as the basis for further testing and guidance by the Argonaut Project Team to provide additional content and guidance specific to Data Query Access for purpose of ONC Certification testing. These profiles are the foundation for future US Realm FHIR implementation guides. In addition to Argonaut, they are used by DAF-Research, QI-Core, and CIMI. Under the guidance of HL7 and the HL7 US Realm Steering Committee, the content will expand in future versions to meet the needs specific to the US Realm.\nThese requirements were originally developed, balloted, and published in FHIR DSTU2 as part of the Office of the National Coordinator for Health Information Technology (ONC) sponsored Data Access Framework (DAF) project. For more information on how DAF became US Core see the US Core change notes. (built Fri, May 13, 2022 19:59+0000+00:00)", + "fhirVersions": [ + "4.0.1" + ], + "dependencies": { + "hl7.fhir.r4.core": "4.0.1", + "hl7.terminology.r4": "3.1.0", + "hl7.fhir.uv.bulkdata": "2.0.0", + "hl7.fhir.uv.smart-app-launch": "2.0.0", + "us.nlm.vsac": "0.3.0", + "hl7.fhir.uv.sdc": "3.0.0" + }, + "author": "HL7 International - Cross-Group Projects", + "maintainers": [ + { + "name": "HL7 International - Cross-Group Projects", + "email": "cgp@lists.HL7.org", + "url": "http://www.hl7.org/Special/committees/cgp" + } + ], + "directories": { + "lib": "package", + "example": "example" + }, + "jurisdiction": "urn:iso:std:iso:3166#US" +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProfileTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProfileTest.java index 91e95434f34..f14ccb0e480 100644 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProfileTest.java +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v311/ProfileTest.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2020 + * (C) Copyright IBM Corp. 2020, 2022 * * SPDX-License-Identifier: Apache-2.0 */ @@ -10,14 +10,13 @@ import static org.testng.Assert.assertEquals; import static org.testng.Assert.fail; -import java.io.BufferedReader; -import java.io.IOException; import java.io.Reader; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; +import org.testng.ITest; import org.testng.annotations.Factory; import org.testng.annotations.Test; @@ -25,25 +24,30 @@ import com.ibm.fhir.model.parser.FHIRParser; import com.ibm.fhir.model.resource.OperationOutcome.Issue; import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.registry.test.ExampleIndex; import com.ibm.fhir.validation.FHIRValidator; /** * Runs through the Profile index for 3.1.1 */ -public class ProfileTest { +public class ProfileTest implements ITest { - private static final String INDEX = "./src/test/resources/JSON/311/index.txt"; + private static final String EXAMPLES_PATH = "JSON/311/"; - private String path = null; + private static final String INDEX_FILE_NAME = ".index.json"; + private static final String TEST_RESOURCES_PATH = "src/test/resources/"; - public ProfileTest() { - // No Operation - } + private final String path; public ProfileTest(String path) { this.path = path; } + @Override + public String getTestName() { + return path.substring(TEST_RESOURCES_PATH.length()); + } + @Test public void testUSCoreValidation() throws Exception { try (Reader r = Files.newBufferedReader(Paths.get(path))) { @@ -64,14 +68,8 @@ public void testUSCoreValidation() throws Exception { @Factory public Object[] createInstances() { List result = new ArrayList<>(); - - try (BufferedReader br = Files.newBufferedReader(Paths.get(INDEX))) { - String line; - while ((line = br.readLine()) != null) { - result.add(new ProfileTest(line)); - } - } catch (IOException e) { - e.printStackTrace(); + for (ExampleIndex.Entry entry : ExampleIndex.readIndex(EXAMPLES_PATH + INDEX_FILE_NAME)) { + result.add(new ProfileTest(TEST_RESOURCES_PATH + EXAMPLES_PATH + entry.getFileName())); } return result.toArray(); } diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProfileTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProfileTest.java index a6da6c93175..ea635e33af1 100644 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProfileTest.java +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v400/ProfileTest.java @@ -1,5 +1,5 @@ /* - * (C) Copyright IBM Corp. 2020 + * (C) Copyright IBM Corp. 2020, 2022 * * SPDX-License-Identifier: Apache-2.0 */ @@ -10,14 +10,13 @@ import static org.testng.Assert.assertEquals; import static org.testng.Assert.fail; -import java.io.BufferedReader; -import java.io.IOException; import java.io.Reader; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; +import org.testng.ITest; import org.testng.annotations.Factory; import org.testng.annotations.Test; @@ -25,25 +24,30 @@ import com.ibm.fhir.model.parser.FHIRParser; import com.ibm.fhir.model.resource.OperationOutcome.Issue; import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.registry.test.ExampleIndex; import com.ibm.fhir.validation.FHIRValidator; /** - * Runs through the Profile index for 4.0.0 + * Runs through the Profile index for US Core 4.0.0 */ -public class ProfileTest { +public class ProfileTest implements ITest { - private static final String INDEX = "./src/test/resources/JSON/400/index.txt"; + private static final String EXAMPLES_PATH = "JSON/400/"; - private String path = null; + private static final String INDEX_FILE_NAME = ".index.json"; + private static final String TEST_RESOURCES_PATH = "src/test/resources/"; - public ProfileTest() { - // No Operation - } + private final String path; public ProfileTest(String path) { this.path = path; } + @Override + public String getTestName() { + return path.substring(TEST_RESOURCES_PATH.length()); + } + @Test public void testUSCoreValidation() throws Exception { try (Reader r = Files.newBufferedReader(Paths.get(path))) { @@ -56,24 +60,16 @@ public void testUSCoreValidation() throws Exception { }); assertEquals(countErrors(issues), 0); } catch (Exception e) { - System.out.println("Exception with " + path); - fail(e.toString()); + fail("Exception with " + path, e); } } @Factory public Object[] createInstances() { List result = new ArrayList<>(); - - try (BufferedReader br = Files.newBufferedReader(Paths.get(INDEX))) { - String line; - while ((line = br.readLine()) != null) { - result.add(new ProfileTest(line)); - } - } catch (IOException e) { - e.printStackTrace(); + for (ExampleIndex.Entry entry : ExampleIndex.readIndex(EXAMPLES_PATH + INDEX_FILE_NAME)) { + result.add(new ProfileTest(TEST_RESOURCES_PATH + EXAMPLES_PATH + entry.getFileName())); } return result.toArray(); } - } \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ConformanceTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ConformanceTest.java new file mode 100644 index 00000000000..f6dfb0908e2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ConformanceTest.java @@ -0,0 +1,655 @@ +/* + * (C) Copyright IBM Corp. 2019, 2022 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v500; + +import static com.ibm.fhir.model.type.String.string; +import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_FALSE; +import static com.ibm.fhir.path.evaluator.FHIRPathEvaluator.SINGLETON_TRUE; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countInformation; +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countWarnings; +import static org.testng.Assert.assertEquals; + +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.Reader; +import java.util.Collection; +import java.util.List; + +import org.testng.Assert; +import org.testng.annotations.Test; + +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.parser.FHIRParser; +import com.ibm.fhir.model.patch.exception.FHIRPatchException; +import com.ibm.fhir.model.resource.Bundle; +import com.ibm.fhir.model.resource.CarePlan; +import com.ibm.fhir.model.resource.Condition; +import com.ibm.fhir.model.resource.Observation; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Patient; +import com.ibm.fhir.model.resource.Provenance; +import com.ibm.fhir.model.resource.Provenance.Agent; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.model.type.Address; +import com.ibm.fhir.model.type.Code; +import com.ibm.fhir.model.type.CodeableConcept; +import com.ibm.fhir.model.type.Coding; +import com.ibm.fhir.model.type.Extension; +import com.ibm.fhir.model.type.HumanName; +import com.ibm.fhir.model.type.Identifier; +import com.ibm.fhir.model.type.Instant; +import com.ibm.fhir.model.type.Narrative; +import com.ibm.fhir.model.type.Reference; +import com.ibm.fhir.model.type.Uri; +import com.ibm.fhir.model.type.code.AdministrativeGender; +import com.ibm.fhir.model.type.code.IssueSeverity; +import com.ibm.fhir.path.FHIRPathNode; +import com.ibm.fhir.path.evaluator.FHIRPathEvaluator; +import com.ibm.fhir.path.exception.FHIRPathException; +import com.ibm.fhir.path.util.FHIRPathUtil; +import com.ibm.fhir.validation.FHIRValidator; +import com.ibm.fhir.validation.exception.FHIRValidationException; + +public class ConformanceTest { + private static final String US_CORE_PATIENT = "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"; + + @Test + public void testConformsToWithEmptyContext() throws Exception { + try (InputStream in = ConformanceTest.class.getClassLoader().getResourceAsStream("JSON/500/tests/us-core-patient.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + assertEquals(issues.size(), 2); + } + } + + @Test + public void testUSCoreMedicationRequest() throws Exception { + // This test is used to diagnose and test MedicationRequest which throws an error. + try (Reader r = new InputStreamReader(getClass().getClassLoader().getResourceAsStream("JSON/500/MedicationRequest-uscore-mo2.json"))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(item); + } + }); + Assert.assertEquals(countErrors(issues), 0); + } catch (Exception e) { + throw e; + } + } + + @Test + public void testUSCorePulseOximetry() throws Exception { + /** + * This test is used to diagnose and test Code 'L/min' is invalid + */ + try (Reader r = new InputStreamReader(getClass().getClassLoader().getResourceAsStream("JSON/500/Observation-satO2-fiO2.json"))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(item); + } + }); + Assert.assertEquals(countErrors(issues), 0); + } catch (Exception e) { + throw e; + } + } + + @Test + public void testUSCoreCarePlan() throws Exception { + InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/500/tests/us-core-careplan.json"); + CarePlan carePlan = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(carePlan); + issues.forEach(System.out::println); + assertEquals(issues.size(), 0); + } + + @Test + public void testUSCoreValidation1() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/500/tests/us-core-patient-no-name-asserted.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + Assert.assertEquals(countErrors(issues), 1); + } + } + + @Test + public void testUSCoreValidation2() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/500/tests/us-core-patient-no-name-not-asserted.json")) { + Patient patient = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(patient); + issues.forEach(System.out::println); + Assert.assertEquals(countErrors(issues), 0); + } + } + + @Test + public void testUSCoreValidation5() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/500/tests/Pamela954_Johns824_4818eca9-c6d2-4fa0-a234-7244e620391e.json")) { + Bundle bundle = FHIRParser.parser(Format.JSON).parse(in); + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(bundle); + issues.stream() + .filter(issue -> issue.getSeverity().equals(IssueSeverity.ERROR)) + .forEach(System.out::println); + Assert.assertEquals(countErrors(issues), 0); + } + } + + @Test + public void testUSCoreValidation6() throws Exception { + try (InputStream in = getClass().getClassLoader().getResourceAsStream("JSON/500/tests/1.json")) { + Observation observation = FHIRParser.parser(Format.JSON).parse(in); + List issues = FHIRValidator.validator().validate(observation); + Assert.assertEquals(countErrors(issues), 0); + } + } + + /** + * Test the FHIRPath 'conformsTo' function on a valid US Core Ethnicity Extension + */ + @Test + public void testUSCoreEthnicityExtension1() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2169-1")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + Assert.assertEquals(result, SINGLETON_TRUE); + Assert.assertEquals(issues.size(), 0); + } + + /** + * Test the FHIRPath 'conformsTo' function on a US Core Ethnicity Extension with an invalid detailed ethnicity code + */ + @Test + public void testUSCoreEthnicityExtension2() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + Assert.assertEquals(result, SINGLETON_FALSE); + Assert.assertEquals(issues.size(), 2); + } + + /** + * Test the FHIRValidator on a US Core Patient with a valid US Core Ethnicity Extension + */ + @Test + public void testUSCoreEthnicityExtension3() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2169-1")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, US_CORE_PATIENT); + + issues.forEach(System.out::println); + + Assert.assertEquals(countWarnings(issues), 1); + Assert.assertEquals(countErrors(issues), 0); + } + + /** + * Test the FHIRValidator on a US Core Patient with a US Core Ethnicity Extension containing an invalid detailed ethnicity code + */ + @Test + public void testUSCoreEthnicityExtension4() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("2135-2")) + .display(string("Hispanic or Latino")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Colombian")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("Hispanic or Latino - Colombian")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, US_CORE_PATIENT); + + issues.forEach(System.out::println); + + Assert.assertEquals(countWarnings(issues), 1); + Assert.assertEquals(countErrors(issues), 2); + Assert.assertEquals(countInformation(issues), 1); + } + + /** + * Test the FHIRPath 'conformsTo' function on a valid US Core Race Extension + */ + @Test + public void testUSCoreRaceExtension1() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1735-0")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + Assert.assertEquals(result, SINGLETON_TRUE); + Assert.assertEquals(issues.size(), 0); + } + + /** + * Test the FHIRPath 'conformsTo' function on a US Core Race Extension with an invalid detailed race code + */ + @Test + public void testUSCoreRaceExtension2() throws Exception { + Extension extension = Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build(); + + System.out.println(extension); + + FHIRPathEvaluator evaluator = FHIRPathEvaluator.evaluator(); + Collection result = evaluator.evaluate(extension, "conformsTo('http://hl7.org/fhir/us/core/StructureDefinition/us-core-race')"); + System.out.println("result: " + result); + + List issues = evaluator.getEvaluationContext().getIssues(); + issues.forEach(System.out::println); + + Assert.assertEquals(result, SINGLETON_FALSE); + Assert.assertEquals(issues.size(), 2); + } + + /** + * Test the FHIRValidator on a US Core Patient with a valid US Core Race Extension + */ + @Test + public void testUSCoreRaceExtension3() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1735-0")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, US_CORE_PATIENT); + + issues.forEach(System.out::println); + + Assert.assertEquals(countWarnings(issues), 1); + Assert.assertEquals(countErrors(issues), 0); + } + + /** + * Test the FHIRValidator on a US Core Patient with a US Core Race Extension containing an invalid detailed race code + */ + @Test + public void testUSCoreRaceExtension4() throws Exception { + Patient patient = Patient.builder() + .extension(Extension.builder() + .extension(Extension.builder() + .url("ombCategory") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("1002-5")) + .display(string("American Indian or Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("detailed") + .value(Coding.builder() + .system(Uri.of("urn:oid:2.16.840.1.113883.6.238")) + .code(Code.of("xxx")) + .display(string("Alaska Native")) + .build()) + .build()) + .extension(Extension.builder() + .url("text") + .value(string("American Indian or Alaska Native - Alaska Native")) + .build()) + .url("http://hl7.org/fhir/us/core/StructureDefinition/us-core-race") + .build()) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(patient, US_CORE_PATIENT); + + issues.forEach(System.out::println); + + Assert.assertEquals(countWarnings(issues), 1); + Assert.assertEquals(countErrors(issues), 2); + Assert.assertEquals(countInformation(issues), 1); + } + + @Test + void testConditionWithMultipleCategory() throws FHIRValidationException { + Condition condition = Condition.builder() + .text(Narrative.EMPTY) + .clinicalStatus(CodeableConcept.builder() + .coding(Coding.builder() + .system(Uri.of("http://terminology.hl7.org/CodeSystem/condition-clinical")) + .code(Code.of("active")) + .build()) + .build()) + .subject(Reference.builder() + .display("ref") + .build()) + .code(CodeableConcept.builder() + .coding(Coding.builder() + .system(Uri.of("http://snomed.info/sct")) + .code(Code.of("404684003")) + .build()) + .build()) + .category(CodeableConcept.builder() + .text("test") + .build()) + .category(CodeableConcept.builder() + .coding(Coding.builder() + .system(Uri.of("http://hl7.org/fhir/us/core/STU4/CodeSystem-condition-category.html")) + .code(Code.of("health-concern")) + .build()) + .build()) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(condition, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"); + + issues.forEach(System.out::println); + + Assert.assertEquals(countErrors(issues), 0); + // warning 1: us-core-1: A code in Condition.category SHOULD be from US Core Condition Category Codes value set. + // causedBy + // warning 2: Membership check was not performed: value set 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code' is empty or could not be expanded + Assert.assertEquals(countWarnings(issues), 2); + } + + @Test + void testProvenanceWithMultipleAgent() throws FHIRValidationException, FHIRPathException, FHIRPatchException { + Provenance provenance = Provenance.builder() + .text(Narrative.EMPTY) + .target(Reference.builder() + .reference("Observation/123") + .build()) + .recorded(Instant.now()) + .agent(Agent.builder() + .who(Reference.builder() + .reference("Patient/123") + .build()) + .build()) + .agent(Agent.builder() + .who(Reference.builder() + .reference("Practitioner/abc") + .build()) + .build()) + .agent(Agent.builder() + .who(Reference.builder() + .reference("Device/xyz") + .build()) + .onBehalfOf(Reference.builder() + .reference("RelatedPerson/bleh") + .build()) + .build()) + .build(); + + FHIRValidator validator = FHIRValidator.validator(); + List issues = validator.validate(provenance, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"); + + issues.forEach(System.out::println); + + Assert.assertEquals(countErrors(issues), 1); + Assert.assertEquals(countWarnings(issues), 0); + + Reference refToAdd = Reference.builder() + .reference("Organization/fix") + .build(); + provenance = FHIRPathUtil.add(provenance, "Provenance.agent[1]", "onBehalfOf", refToAdd); + issues = validator.validate(provenance, "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"); + Assert.assertEquals(countErrors(issues), 0); + } + + /** + * Ensures that we can validate patient addresses against the USPS Two Letter Alphabetic Codes + */ + @Test + public void testUSCoreValidateAddress() throws Exception { + FHIRValidator validator = FHIRValidator.validator(); + Patient patient = Patient.builder() + .text(Narrative.EMPTY) + .identifier(Identifier.builder() + .system(Uri.of("http://someuri.org")) + .value(string("someValue")) + .build()) + .name(HumanName.builder() + .given(string("John")) + .family(string("Doe")) + .build()) + .gender(AdministrativeGender.MALE) + .address(Address.builder() + .line("test") + .build()) + .build(); + + // no state = no warning or info messages + List issues = validator.validate(patient, US_CORE_PATIENT); + Assert.assertEquals(countWarnings(issues), 0); + Assert.assertEquals(countInformation(issues), 0); + + // invalid state = info messages about the unexpected code + patient = FHIRPathUtil.add(patient, "address[0]", "state", string("bogus")); + System.out.println(patient); + issues = validator.validate(patient, US_CORE_PATIENT); + issues.forEach(System.out::println); + Assert.assertEquals(countWarnings(issues), 0); + Assert.assertEquals(countInformation(issues), 2); + Assert.assertEquals(issues.get(0).getDetails().getText().getValue(), "Code 'bogus' is not a valid member of ValueSet " + + "with URL=http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state and version=4.1.0"); + + // valid state = no warning or info messages + patient = FHIRPathUtil.replace(patient, "address[0].state", string("WI")); + System.out.println(patient); + issues = validator.validate(patient, US_CORE_PATIENT); + issues.forEach(System.out::println); + Assert.assertEquals(countWarnings(issues), 0); + Assert.assertEquals(countInformation(issues), 0); + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ProfileTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ProfileTest.java new file mode 100644 index 00000000000..f089c0c7ee2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ProfileTest.java @@ -0,0 +1,76 @@ +/* + * (C) Copyright IBM Corp. 2020, 2022 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v500; + +import static com.ibm.fhir.validation.util.FHIRValidationUtil.countErrors; +import static org.testng.Assert.assertEquals; +import static org.testng.Assert.fail; + +import java.io.Reader; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.ArrayList; +import java.util.List; + +import org.testng.ITest; +import org.testng.annotations.Factory; +import org.testng.annotations.Test; + +import com.ibm.fhir.model.format.Format; +import com.ibm.fhir.model.parser.FHIRParser; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.registry.test.ExampleIndex; +import com.ibm.fhir.validation.FHIRValidator; + +/** + * Runs through the Profile index for US Core 5.0.0 + */ +public class ProfileTest implements ITest { + + private static final String EXAMPLES_PATH = "JSON/500/"; + + private static final String INDEX_FILE_NAME = ".index.json"; + private static final String TEST_RESOURCES_PATH = "src/test/resources/"; + + + private final String path; + + public ProfileTest(String path) { + this.path = path; + } + + @Override + public String getTestName() { + return path.substring(TEST_RESOURCES_PATH.length()); + } + + @Test + public void testUSCoreValidation() throws Exception { + try (Reader r = Files.newBufferedReader(Paths.get(path))) { + Resource resource = FHIRParser.parser(Format.JSON).parse(r); + List issues = FHIRValidator.validator().validate(resource); + issues.forEach(item -> { + if (item.getSeverity().getValue().equals("error")) { + System.out.println(path + " " + item); + } + }); + assertEquals(countErrors(issues), 0); + } catch (Exception e) { + fail("Exception with " + path, e); + } + } + + @Factory + public Object[] createInstances() { + List result = new ArrayList<>(); + for (ExampleIndex.Entry entry : ExampleIndex.readIndex(EXAMPLES_PATH + INDEX_FILE_NAME)) { + result.add(new ProfileTest(TEST_RESOURCES_PATH + EXAMPLES_PATH + entry.getFileName())); + } + return result.toArray(); + } +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ProviderTest.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ProviderTest.java new file mode 100644 index 00000000000..ff462fd3f2b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/test/v500/ProviderTest.java @@ -0,0 +1,92 @@ +/* + * (C) Copyright IBM Corp. 2021 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.ig.us.core.test.v500; + +import static com.ibm.fhir.path.util.FHIRPathUtil.compile; +import static org.testng.Assert.assertEquals; +import static org.testng.Assert.assertFalse; +import static org.testng.Assert.assertNotNull; + +import java.util.ArrayList; +import java.util.List; + +import org.testng.annotations.Test; + +import com.ibm.fhir.ig.us.core.USCore500ResourceProvider; +import com.ibm.fhir.model.annotation.Constraint; +import com.ibm.fhir.model.resource.OperationOutcome.Issue; +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.model.resource.StructureDefinition; +import com.ibm.fhir.model.type.Extension; +import com.ibm.fhir.model.type.code.IssueSeverity; +import com.ibm.fhir.model.util.ModelSupport; +import com.ibm.fhir.profile.ProfileSupport; +import com.ibm.fhir.registry.FHIRRegistry; +import com.ibm.fhir.registry.resource.FHIRRegistryResource; +import com.ibm.fhir.registry.spi.FHIRRegistryResourceProvider; +import com.ibm.fhir.validation.FHIRValidator; + +/** + * Tests that the Provider executes properly. + */ +public class ProviderTest { + @Test + public void testRegistry() { + StructureDefinition definition = FHIRRegistry.getInstance() + .getResource("http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age", StructureDefinition.class); + assertNotNull(definition); + assertEquals(definition.getVersion().getValue(), "5.0.0"); + } + + @Test + public void testUSCoreResourceProvider() { + FHIRRegistryResourceProvider provider = new USCore500ResourceProvider(); + assertEquals(provider.getRegistryResources().size(), 194); + } + + @Test + public void testValidateResources() throws Exception { + FHIRRegistryResourceProvider provider = new USCore500ResourceProvider(); + + List exceptions = new ArrayList<>(); + List issues = new ArrayList<>(); + + FHIRValidator validator = FHIRValidator.validator(); + + for (FHIRRegistryResource registryResource : provider.getRegistryResources()) { + try { + Resource resource = registryResource.getResource(); + issues.addAll(validator.validate(resource)); + } catch (Exception e) { + exceptions.add(e); + } + } + + assertEquals(exceptions.size(), 0); + assertFalse(issues.stream().anyMatch(issue -> IssueSeverity.ERROR.equals(issue.getSeverity()))); + } + + @Test + public static void testConstraintGenerator() throws Exception { + FHIRRegistryResourceProvider provider = new USCore500ResourceProvider(); + for (FHIRRegistryResource registryResource : provider.getRegistryResources()) { + if (StructureDefinition.class.equals(registryResource.getResourceType())) { + assertEquals(registryResource.getVersion().toString(), "5.0.0"); + String url = registryResource.getUrl() + "|5.0.0"; + System.out.println(url); + Class type = ModelSupport.isResourceType(registryResource.getType()) ? ModelSupport.getResourceType(registryResource.getType()) : Extension.class; + for (Constraint constraint : ProfileSupport.getConstraints(url, type)) { + System.out.println(" " + constraint); + if (!Constraint.LOCATION_BASE.equals(constraint.location())) { + compile(constraint.location()); + } + compile(constraint.expression()); + } + } + } + } +} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/CapabilitiesToConfigGeneratorMain.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/CapabilitiesToConfigGeneratorMain.java index 58e791578bb..cd41be1b476 100644 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/CapabilitiesToConfigGeneratorMain.java +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/CapabilitiesToConfigGeneratorMain.java @@ -40,7 +40,7 @@ public class CapabilitiesToConfigGeneratorMain { * @return */ public String[] versions() { - return new String[] { "311", "400" }; + return new String[] { "311", "400", "500" }; } public JsonObject adaptCapabilityStatement(CapabilityStatement statement, String version) { diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/ResourceProcessor.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/ResourceProcessor.java similarity index 85% rename from conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/ResourceProcessor.java rename to conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/ResourceProcessor.java index 925beec1e77..bfb063cc517 100644 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/ResourceProcessor.java +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/ResourceProcessor.java @@ -1,10 +1,10 @@ /* - * (C) Copyright IBM Corp. 2020, 2021 + * (C) Copyright IBM Corp. 2021, 2022 * * SPDX-License-Identifier: Apache-2.0 */ -package com.ibm.fhir.ig.us.core.tool.v311; +package com.ibm.fhir.ig.us.core.tool; import java.io.BufferedReader; import java.io.File; @@ -32,12 +32,22 @@ */ public class ResourceProcessor { public static void main(String[] args) throws Exception { + if (args.length < 1) { + throw new IllegalArgumentException("Please specify one or more version qualifiers (e.g. '4.0.0 5.0.0')"); + } + + for (String packageVersion : args) { + updateInPlace(packageVersion.replace(".", "")); + } + } + + private static void updateInPlace(String version) throws Exception { Map writerConfig = Collections.singletonMap(JsonGenerator.PRETTY_PRINTING, true); JsonReaderFactory jsonReaderFactory = Json.createReaderFactory(null); JsonWriterFactory jsonWriterFactory = Json.createWriterFactory(writerConfig); JsonBuilderFactory jsonBuilderFactory = Json.createBuilderFactory(null); - File dir = new File("src/main/resources/hl7/fhir/us/core/311/package/"); + File dir = new File("src/main/resources/hl7/fhir/us/core/" + version + "/package/"); for (File file : dir.listFiles()) { String fileName = file.getName(); if (!fileName.endsWith(".json") || file.isDirectory() @@ -64,7 +74,7 @@ public static void main(String[] args) throws Exception { if (!jsonObject.containsKey("version")) { System.out.println("file: " + file + " does not have a version"); - jsonObjectBuilder.add("version", "3.1.1"); + jsonObjectBuilder.add("version", version); } jsonObject = jsonObjectBuilder.build(); diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/SearchParameterAugmenter.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/SearchParameterAugmenter.java similarity index 85% rename from conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/SearchParameterAugmenter.java rename to conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/SearchParameterAugmenter.java index 6709b695774..bf60199553e 100644 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/SearchParameterAugmenter.java +++ b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/SearchParameterAugmenter.java @@ -3,7 +3,7 @@ * * SPDX-License-Identifier: Apache-2.0 */ -package com.ibm.fhir.ig.us.core.tool.v400; +package com.ibm.fhir.ig.us.core.tool; import java.io.BufferedWriter; import java.nio.charset.Charset; @@ -41,15 +41,30 @@ public class SearchParameterAugmenter { private static final FHIRGenerator generator = FHIRGenerator.generator(Format.JSON, false); public static void main(String[] args) throws Exception { + if (args.length < 1) { + throw new IllegalArgumentException("Please specify one or more version qualifiers (e.g. '4.0.0 5.0.0')"); + } + + for (String packageVersion : args) { + updateInPlace(packageVersion); + } + } + + public static void updateInPlace(String version) throws Exception { Collection tokenParams = FHIRRegistry.getInstance().getSearchParameters("token"); for (SearchParameter searchParameter : tokenParams) { if (searchParameter.getUrl() != null && searchParameter.getUrl().hasValue() - && searchParameter.getUrl().getValue().startsWith("http://hl7.org/fhir/SearchParameter") - && searchParameter.getVersion().getValue() != "4.0.0") { + && searchParameter.getUrl().getValue().startsWith("http://hl7.org/fhir/SearchParameter")) { continue; // skip the parameters defined in the base spec } + if (searchParameter.getVersion() == null || !searchParameter.getVersion().hasValue()) { + System.err.println("Found a SearchParameter that has no version string: " + searchParameter); + } else if (!version.equals(searchParameter.getVersion().getValue())) { + continue; // handle a single version at a time + } + List base = searchParameter.getBase(); if (base.size() != 1 || base.get(0).getValueAsEnum() == ResourceType.RESOURCE) { continue; // too complicated to handle this case right now @@ -79,7 +94,8 @@ public static void main(String[] args) throws Exception { "' already has an implicity system extension and it doesn't match '" + implicitSystem + "'"); } - Path path = Paths.get("src/main/resources/hl7/fhir/us/core/400/package/SearchParameter-" + String packageVersion = version.replace(".", ""); + Path path = Paths.get("src/main/resources/hl7/fhir/us/core/" + packageVersion + "/package/SearchParameter-" + searchParameter.getId() + ".json"); BufferedWriter writer = Files.newBufferedWriter(path, Charset.forName("UTF-8")); generator.generate(searchParameter, writer); diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/SearchParameterAugmenter.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/SearchParameterAugmenter.java deleted file mode 100644 index 16a688da68d..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v311/SearchParameterAugmenter.java +++ /dev/null @@ -1,123 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2021, 2022 - * - * SPDX-License-Identifier: Apache-2.0 - */ -package com.ibm.fhir.ig.us.core.tool.v311; - -import java.io.BufferedWriter; -import java.nio.charset.Charset; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.Collection; -import java.util.List; -import java.util.Set; -import java.util.stream.Collectors; - -import com.ibm.fhir.core.FHIRConstants; -import com.ibm.fhir.core.ResourceType; -import com.ibm.fhir.model.format.Format; -import com.ibm.fhir.model.generator.FHIRGenerator; -import com.ibm.fhir.model.resource.SearchParameter; -import com.ibm.fhir.model.resource.ValueSet; -import com.ibm.fhir.model.resource.ValueSet.Compose.Include; -import com.ibm.fhir.model.type.Canonical; -import com.ibm.fhir.model.type.ElementDefinition; -import com.ibm.fhir.model.type.Extension; -import com.ibm.fhir.model.type.Uri; -import com.ibm.fhir.model.type.code.BindingStrength; -import com.ibm.fhir.model.type.code.FHIRDefinedType; -import com.ibm.fhir.model.type.code.ResourceTypeCode; -import com.ibm.fhir.profile.ProfileSupport; -import com.ibm.fhir.registry.FHIRRegistry; - -/** - * A utility for adding the http://ibm.com/fhir/extension/implicit-system extension - * to search parameters which always reference code values with a particular system - */ -public class SearchParameterAugmenter { - private static final String IMPLICIT_SYSTEM_EXT_URL = FHIRConstants.EXT_BASE + "implicit-system"; - private static final FHIRGenerator generator = FHIRGenerator.generator(Format.JSON, false); - - public static void main(String[] args) throws Exception { - Collection tokenParams = FHIRRegistry.getInstance().getSearchParameters("token"); - - for (SearchParameter searchParameter : tokenParams) { - if (searchParameter.getUrl() != null && searchParameter.getUrl().hasValue() - && searchParameter.getUrl().getValue().startsWith("http://hl7.org/fhir/SearchParameter") - && searchParameter.getVersion().getValue() != "3.1.1") { - continue; // skip the parameters defined in the base spec - } - - List base = searchParameter.getBase(); - if (base.size() != 1 || base.get(0).getValueAsEnum() == ResourceType.RESOURCE) { - continue; // too complicated to handle this case right now - } - - String implicitSystem = getImplicitSystem(searchParameter); - - if (implicitSystem != null) { - System.out.println(searchParameter.getId() + ": " + implicitSystem); - - String currentValue = searchParameter.getExtension().stream() - .filter(e -> IMPLICIT_SYSTEM_EXT_URL.equals(e.getUrl()) && e.getValue() != null) - .reduce((a, b) -> { - throw new IllegalStateException("Multiple existing extension values: " + a + ", " + b); - }) - .map(e -> e.getValue().as(Uri.class).getValue()) - .orElse(null); - - if (currentValue == null) { - searchParameter = searchParameter.toBuilder() - .extension(buildImplicitSystemExtension(implicitSystem)) - .build(); - } else if (currentValue.equals(implicitSystem)){ - continue; - } else { - throw new IllegalStateException("Existing SearchParameter '" + searchParameter.getId() + - "' already has an implicity system extension and it doesn't match '" + implicitSystem + "'"); - } - - Path path = Paths.get("src/main/resources/hl7/fhir/us/core/311/package/SearchParameter-" - + searchParameter.getId() + ".json"); - BufferedWriter writer = Files.newBufferedWriter(path, Charset.forName("UTF-8")); - generator.generate(searchParameter, writer); - } - } - } - - private static String getImplicitSystem(SearchParameter searchParameter) { - String system = null; - ElementDefinition def = ProfileSupport.getElementDefinition(searchParameter.getExpression().getValue()); - - if (def != null && - def.getBinding() != null && - def.getType().size() == 1 && - FHIRDefinedType.CODE.getValue().equals(def.getType().get(0).getCode().getValue()) && - BindingStrength.Value.REQUIRED == def.getBinding().getStrength().getValueAsEnum()) { - Canonical valueSetRef = def.getBinding().getValueSet(); - ValueSet valueSet = FHIRRegistry.getInstance().getResource(valueSetRef.getValue(), ValueSet.class); - - if (valueSet.getCompose() != null) { - Set systems = valueSet.getCompose().getInclude().stream().collect(Collectors.toSet()); - if (systems.size() == 1) { - Uri systemUri = systems.iterator().next().getSystem(); - if (systemUri != null) { - system = systemUri.getValue(); - } - } - } - } - return system; - } - - public static Extension buildImplicitSystemExtension(String implicitSystemValue) { - if (implicitSystemValue == null) return null; - - return Extension.builder() - .url(IMPLICIT_SYSTEM_EXT_URL) - .value(Uri.of(implicitSystemValue)) - .build(); - } -} diff --git a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/ResourceProcessor.java b/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/ResourceProcessor.java deleted file mode 100644 index bc9ca43d40d..00000000000 --- a/conformance/fhir-ig-us-core/src/test/java/com/ibm/fhir/ig/us/core/tool/v400/ResourceProcessor.java +++ /dev/null @@ -1,78 +0,0 @@ -/* - * (C) Copyright IBM Corp. 2021 - * - * SPDX-License-Identifier: Apache-2.0 - */ - -package com.ibm.fhir.ig.us.core.tool.v400; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; -import java.io.FileWriter; -import java.util.Collections; -import java.util.Map; - -import jakarta.json.Json; -import jakarta.json.JsonBuilderFactory; -import jakarta.json.JsonObject; -import jakarta.json.JsonObjectBuilder; -import jakarta.json.JsonReader; -import jakarta.json.JsonReaderFactory; -import jakarta.json.JsonWriter; -import jakarta.json.JsonWriterFactory; -import jakarta.json.stream.JsonGenerator; - -/** - * This class fixes two issues with the packaged US Core artifacts: - *
    - *
  1. The provided structure definitions contain invalid XHTML
  2. - *
  3. The provided structure definitions do not contain a version element
  4. - *
- */ -public class ResourceProcessor { - public static void main(String[] args) throws Exception { - Map writerConfig = Collections.singletonMap(JsonGenerator.PRETTY_PRINTING, true); - JsonReaderFactory jsonReaderFactory = Json.createReaderFactory(null); - JsonWriterFactory jsonWriterFactory = Json.createWriterFactory(writerConfig); - JsonBuilderFactory jsonBuilderFactory = Json.createBuilderFactory(null); - - File dir = new File("src/main/resources/hl7/fhir/us/core/400/package/"); - for (File file : dir.listFiles()) { - String fileName = file.getName(); - if (!fileName.endsWith(".json") || file.isDirectory() - || fileName.startsWith(".index.json") - || fileName.startsWith("package.json") - ) { - continue; - } - JsonObject jsonObject = null; - try (BufferedReader reader = new BufferedReader(new FileReader(file))) { - JsonReader jsonReader = jsonReaderFactory.createReader(reader); - jsonObject = jsonReader.readObject(); - - JsonObjectBuilder jsonObjectBuilder = jsonBuilderFactory.createObjectBuilder(jsonObject); - - JsonObject text = jsonObject.getJsonObject("text"); - if (text != null) { - // Replace the generated text with some [much smaller] generic placeholder - JsonObjectBuilder textBuilder = jsonBuilderFactory.createObjectBuilder(); - textBuilder.add("status", "empty"); - textBuilder.add("div", "
Redacted for size
"); - jsonObjectBuilder.add("text", textBuilder); - } - - if (!jsonObject.containsKey("version")) { - System.out.println("file: " + file + " does not have a version"); - jsonObjectBuilder.add("version", "4.0.0"); - } - - jsonObject = jsonObjectBuilder.build(); - } - try (FileWriter writer = new FileWriter(file)) { - JsonWriter jsonWriter = jsonWriterFactory.createWriter(writer); - jsonWriter.write(jsonObject); - } - } - } -} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/.index.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/.index.json new file mode 100644 index 00000000000..c97340002eb --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/.index.json @@ -0,0 +1,428 @@ +{ + "index-version": 1, + "files": [ + { + "filename": "Condition-example.json", + "resourceType": "Condition", + "id": "example" + }, + { + "filename": "Observation-serum-calcium.json", + "resourceType": "Observation", + "id": "serum-calcium" + }, + { + "filename": "DiagnosticReport-metabolic-panel.json", + "resourceType": "DiagnosticReport", + "id": "metabolic-panel" + }, + { + "filename": "Location-hl7east.json", + "resourceType": "Location", + "id": "hl7east" + }, + { + "filename": "Observation-temperature.json", + "resourceType": "Observation", + "id": "temperature" + }, + { + "filename": "Observation-urine-wbcs.json", + "resourceType": "Observation", + "id": "urine-wbcs" + }, + { + "filename": "Observation-urine-ph.json", + "resourceType": "Observation", + "id": "urine-ph" + }, + { + "filename": "Procedure-defib-implant.json", + "resourceType": "Procedure", + "id": "defib-implant" + }, + { + "filename": "Observation-urine-cells.json", + "resourceType": "Observation", + "id": "urine-cells" + }, + { + "filename": "DiagnosticReport-cardiology-report.json", + "resourceType": "DiagnosticReport", + "id": "cardiology-report" + }, + { + "filename": "Observation-vitals-panel.json", + "resourceType": "Observation", + "id": "vitals-panel" + }, + { + "filename": "Observation-bmi.json", + "resourceType": "Observation", + "id": "bmi" + }, + { + "filename": "CareTeam-example.json", + "resourceType": "CareTeam", + "id": "example" + }, + { + "filename": "Observation-blood-glucose.json", + "resourceType": "Observation", + "id": "blood-glucose" + }, + { + "filename": "Observation-urobilinogen.json", + "resourceType": "Observation", + "id": "urobilinogen" + }, + { + "filename": "Observation-urine-epi-cells.json", + "resourceType": "Observation", + "id": "urine-epi-cells" + }, + { + "filename": "DiagnosticReport-urinalysis.json", + "resourceType": "DiagnosticReport", + "id": "urinalysis" + }, + { + "filename": "Observation-urine-clarity.json", + "resourceType": "Observation", + "id": "urine-clarity" + }, + { + "filename": "AllergyIntolerance-example.json", + "resourceType": "AllergyIntolerance", + "id": "example" + }, + { + "filename": "DiagnosticReport-chest-xray-report.json", + "resourceType": "DiagnosticReport", + "id": "chest-xray-report" + }, + { + "filename": "Patient-child-example.json", + "resourceType": "Patient", + "id": "child-example" + }, + { + "filename": "Observation-ofc-percentile.json", + "resourceType": "Observation", + "id": "ofc-percentile" + }, + { + "filename": "Observation-height.json", + "resourceType": "Observation", + "id": "height" + }, + { + "filename": "Encounter-example-1.json", + "resourceType": "Encounter", + "id": "example-1" + }, + { + "filename": "Device-udi-1.json", + "resourceType": "Device", + "id": "udi-1" + }, + { + "filename": "Observation-urine-nitrite.json", + "resourceType": "Observation", + "id": "urine-nitrite" + }, + { + "filename": "Observation-neutrophils.json", + "resourceType": "Observation", + "id": "neutrophils" + }, + { + "filename": "Observation-urine-hemoglobin.json", + "resourceType": "Observation", + "id": "urine-hemoglobin" + }, + { + "filename": "CarePlan-colonoscopy.json", + "resourceType": "CarePlan", + "id": "colonoscopy" + }, + { + "filename": "Observation-urine-bacteria.json", + "resourceType": "Observation", + "id": "urine-bacteria" + }, + { + "filename": "Observation-urine-ketone.json", + "resourceType": "Observation", + "id": "urine-ketone" + }, + { + "filename": "Observation-urine-protein.json", + "resourceType": "Observation", + "id": "urine-protein" + }, + { + "filename": "Observation-urine-leukocyte-esterase.json", + "resourceType": "Observation", + "id": "urine-leukocyte-esterase" + }, + { + "filename": "Observation-weight.json", + "resourceType": "Observation", + "id": "weight" + }, + { + "filename": "Device-udi-2.json", + "resourceType": "Device", + "id": "udi-2" + }, + { + "filename": "Observation-urine-glucose.json", + "resourceType": "Observation", + "id": "urine-glucose" + }, + { + "filename": "Practitioner-practitioner-2.json", + "resourceType": "Practitioner", + "id": "practitioner-2" + }, + { + "filename": "Observation-serum-creatinine.json", + "resourceType": "Observation", + "id": "serum-creatinine" + }, + { + "filename": "Observation-bun.json", + "resourceType": "Observation", + "id": "bun" + }, + { + "filename": "Immunization-imm-1.json", + "resourceType": "Immunization", + "id": "imm-1" + }, + { + "filename": "Observation-urine-rbcs.json", + "resourceType": "Observation", + "id": "urine-rbcs" + }, + { + "filename": "Medication-uscore-med1.json", + "resourceType": "Medication", + "id": "uscore-med1" + }, + { + "filename": "Observation-urine-bilirubin.json", + "resourceType": "Observation", + "id": "urine-bilirubin" + }, + { + "filename": "Observation-urine-color.json", + "resourceType": "Observation", + "id": "urine-color" + }, + { + "filename": "Observation-mchc.json", + "resourceType": "Observation", + "id": "mchc" + }, + { + "filename": "Procedure-rehab.json", + "resourceType": "Procedure", + "id": "rehab" + }, + { + "filename": "Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json", + "resourceType": "Bundle", + "id": "66c8856b-ba11-4876-8aa8-467aad8c11a2", + "type": "searchset" + }, + { + "filename": "DiagnosticReport-cbc.json", + "resourceType": "DiagnosticReport", + "id": "cbc" + }, + { + "filename": "Organization-example-organization-2.json", + "resourceType": "Organization", + "id": "example-organization-2" + }, + { + "filename": "Encounter-1036.json", + "resourceType": "Encounter", + "id": "1036" + }, + { + "filename": "Patient-infant-example.json", + "resourceType": "Patient", + "id": "infant-example" + }, + { + "filename": "Observation-heart-rate.json", + "resourceType": "Observation", + "id": "heart-rate" + }, + { + "filename": "Observation-serum-chloride.json", + "resourceType": "Observation", + "id": "serum-chloride" + }, + { + "filename": "Observation-blood-pressure.json", + "resourceType": "Observation", + "id": "blood-pressure" + }, + { + "filename": "Observation-pediatric-bmi-example.json", + "resourceType": "Observation", + "id": "pediatric-bmi-example" + }, + { + "filename": "MedicationRequest-uscore-mo1.json", + "resourceType": "MedicationRequest", + "id": "uscore-mo1" + }, + { + "filename": "Observation-some-day-smoker.json", + "resourceType": "Observation", + "id": "some-day-smoker" + }, + { + "filename": "Observation-satO2-fiO2.json", + "resourceType": "Observation", + "id": "satO2-fiO2" + }, + { + "filename": "Practitioner-practitioner-1.json", + "resourceType": "Practitioner", + "id": "practitioner-1" + }, + { + "filename": "DocumentReference-episode-summary.json", + "resourceType": "DocumentReference", + "id": "episode-summary" + }, + { + "filename": "Observation-bp-data-absent.json", + "resourceType": "Observation", + "id": "bp-data-absent" + }, + { + "filename": "Condition-hc1.json", + "resourceType": "Condition", + "id": "hc1" + }, + { + "filename": "Organization-saint-luke-w-endpoint.json", + "resourceType": "Organization", + "id": "saint-luke-w-endpoint" + }, + { + "filename": "MedicationRequest-uscore-mo2.json", + "resourceType": "MedicationRequest", + "id": "uscore-mo2" + }, + { + "filename": "Bundle-uscore-mo3.json", + "resourceType": "Bundle", + "id": "uscore-mo3", + "type": "searchset" + }, + { + "filename": "Observation-oxygen-saturation.json", + "resourceType": "Observation", + "id": "oxygen-saturation" + }, + { + "filename": "Observation-urine-sediment.json", + "resourceType": "Observation", + "id": "urine-sediment" + }, + { + "filename": "Goal-goal-1.json", + "resourceType": "Goal", + "id": "goal-1" + }, + { + "filename": "Observation-serum-sodium.json", + "resourceType": "Observation", + "id": "serum-sodium" + }, + { + "filename": "Observation-length.json", + "resourceType": "Observation", + "id": "length" + }, + { + "filename": "Medication-uscore-med2.json", + "resourceType": "Medication", + "id": "uscore-med2" + }, + { + "filename": "Observation-hemoglobin.json", + "resourceType": "Observation", + "id": "hemoglobin" + }, + { + "filename": "Observation-serum-potassium.json", + "resourceType": "Observation", + "id": "serum-potassium" + }, + { + "filename": "Observation-usg.json", + "resourceType": "Observation", + "id": "usg" + }, + { + "filename": "Patient-example.json", + "resourceType": "Patient", + "id": "example" + }, + { + "filename": "Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json", + "resourceType": "Bundle", + "id": "c887e62f-6166-419f-8268-b5ecd6c7b901", + "type": "searchset" + }, + { + "filename": "Observation-serum-total-bilirubin.json", + "resourceType": "Observation", + "id": "serum-total-bilirubin" + }, + { + "filename": "MedicationRequest-self-tylenol.json", + "resourceType": "MedicationRequest", + "id": "self-tylenol" + }, + { + "filename": "Observation-pediatric-wt-example.json", + "resourceType": "Observation", + "id": "pediatric-wt-example" + }, + { + "filename": "Observation-respiratory-rate.json", + "resourceType": "Observation", + "id": "respiratory-rate" + }, + { + "filename": "Device-udi-3.json", + "resourceType": "Device", + "id": "udi-3" + }, + { + "filename": "Observation-erythrocytes.json", + "resourceType": "Observation", + "id": "erythrocytes" + }, + { + "filename": "Organization-acme-lab.json", + "resourceType": "Organization", + "id": "acme-lab" + }, + { + "filename": "Observation-serum-co2.json", + "resourceType": "Observation", + "id": "serum-co2" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/index.txt b/conformance/fhir-ig-us-core/src/test/resources/JSON/311/index.txt deleted file mode 100644 index 5199450b85e..00000000000 --- a/conformance/fhir-ig-us-core/src/test/resources/JSON/311/index.txt +++ /dev/null @@ -1,84 +0,0 @@ -./src/test/resources/JSON/311/AllergyIntolerance-example.json -./src/test/resources/JSON/311/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json -./src/test/resources/JSON/311/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json -./src/test/resources/JSON/311/Bundle-uscore-mo3.json -./src/test/resources/JSON/311/CarePlan-colonoscopy.json -./src/test/resources/JSON/311/CareTeam-example.json -./src/test/resources/JSON/311/Condition-example.json -./src/test/resources/JSON/311/Condition-hc1.json -./src/test/resources/JSON/311/Device-udi-1.json -./src/test/resources/JSON/311/Device-udi-2.json -./src/test/resources/JSON/311/Device-udi-3.json -./src/test/resources/JSON/311/DiagnosticReport-cardiology-report.json -./src/test/resources/JSON/311/DiagnosticReport-cbc.json -./src/test/resources/JSON/311/DiagnosticReport-chest-xray-report.json -./src/test/resources/JSON/311/DiagnosticReport-metabolic-panel.json -./src/test/resources/JSON/311/DiagnosticReport-urinalysis.json -./src/test/resources/JSON/311/DocumentReference-episode-summary.json -./src/test/resources/JSON/311/Encounter-1036.json -./src/test/resources/JSON/311/Encounter-example-1.json -./src/test/resources/JSON/311/Goal-goal-1.json -./src/test/resources/JSON/311/Immunization-imm-1.json -./src/test/resources/JSON/311/Location-hl7east.json -./src/test/resources/JSON/311/Medication-uscore-med1.json -./src/test/resources/JSON/311/Medication-uscore-med2.json -./src/test/resources/JSON/311/MedicationRequest-self-tylenol.json -./src/test/resources/JSON/311/MedicationRequest-uscore-mo1.json -./src/test/resources/JSON/311/MedicationRequest-uscore-mo2.json -./src/test/resources/JSON/311/Observation-blood-glucose.json -./src/test/resources/JSON/311/Observation-blood-pressure.json -./src/test/resources/JSON/311/Observation-bmi.json -./src/test/resources/JSON/311/Observation-bp-data-absent.json -./src/test/resources/JSON/311/Observation-bun.json -./src/test/resources/JSON/311/Observation-erythrocytes.json -./src/test/resources/JSON/311/Observation-heart-rate.json -./src/test/resources/JSON/311/Observation-height.json -./src/test/resources/JSON/311/Observation-hemoglobin.json -./src/test/resources/JSON/311/Observation-length.json -./src/test/resources/JSON/311/Observation-mchc.json -./src/test/resources/JSON/311/Observation-neutrophils.json -./src/test/resources/JSON/311/Observation-ofc-percentile.json -./src/test/resources/JSON/311/Observation-oxygen-saturation.json -./src/test/resources/JSON/311/Observation-pediatric-bmi-example.json -./src/test/resources/JSON/311/Observation-pediatric-wt-example.json -./src/test/resources/JSON/311/Observation-respiratory-rate.json -./src/test/resources/JSON/311/Observation-satO2-fiO2.json -./src/test/resources/JSON/311/Observation-serum-calcium.json -./src/test/resources/JSON/311/Observation-serum-chloride.json -./src/test/resources/JSON/311/Observation-serum-co2.json -./src/test/resources/JSON/311/Observation-serum-creatinine.json -./src/test/resources/JSON/311/Observation-serum-potassium.json -./src/test/resources/JSON/311/Observation-serum-sodium.json -./src/test/resources/JSON/311/Observation-serum-total-bilirubin.json -./src/test/resources/JSON/311/Observation-some-day-smoker.json -./src/test/resources/JSON/311/Observation-temperature.json -./src/test/resources/JSON/311/Observation-urine-bacteria.json -./src/test/resources/JSON/311/Observation-urine-bilirubin.json -./src/test/resources/JSON/311/Observation-urine-cells.json -./src/test/resources/JSON/311/Observation-urine-clarity.json -./src/test/resources/JSON/311/Observation-urine-color.json -./src/test/resources/JSON/311/Observation-urine-epi-cells.json -./src/test/resources/JSON/311/Observation-urine-glucose.json -./src/test/resources/JSON/311/Observation-urine-hemoglobin.json -./src/test/resources/JSON/311/Observation-urine-ketone.json -./src/test/resources/JSON/311/Observation-urine-leukocyte-esterase.json -./src/test/resources/JSON/311/Observation-urine-nitrite.json -./src/test/resources/JSON/311/Observation-urine-ph.json -./src/test/resources/JSON/311/Observation-urine-protein.json -./src/test/resources/JSON/311/Observation-urine-rbcs.json -./src/test/resources/JSON/311/Observation-urine-sediment.json -./src/test/resources/JSON/311/Observation-urine-wbcs.json -./src/test/resources/JSON/311/Observation-urobilinogen.json -./src/test/resources/JSON/311/Observation-usg.json -./src/test/resources/JSON/311/Observation-vitals-panel.json -./src/test/resources/JSON/311/Observation-weight.json -./src/test/resources/JSON/311/Organization-acme-lab.json -./src/test/resources/JSON/311/Organization-example-organization-2.json -./src/test/resources/JSON/311/Organization-saint-luke-w-endpoint.json -./src/test/resources/JSON/311/Patient-child-example.json -./src/test/resources/JSON/311/Patient-example.json -./src/test/resources/JSON/311/Patient-infant-example.json -./src/test/resources/JSON/311/Practitioner-practitioner-1.json -./src/test/resources/JSON/311/Practitioner-practitioner-2.json -./src/test/resources/JSON/311/Procedure-defib-implant.json -./src/test/resources/JSON/311/Procedure-rehab.json \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/.index.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/.index.json new file mode 100644 index 00000000000..99ec797fd17 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/.index.json @@ -0,0 +1,428 @@ +{ + "index-version": 1, + "files": [ + { + "filename": "Condition-example.json", + "resourceType": "Condition", + "id": "example" + }, + { + "filename": "DiagnosticReport-metabolic-panel.json", + "resourceType": "DiagnosticReport", + "id": "metabolic-panel" + }, + { + "filename": "Observation-serum-calcium.json", + "resourceType": "Observation", + "id": "serum-calcium" + }, + { + "filename": "Location-hl7east.json", + "resourceType": "Location", + "id": "hl7east" + }, + { + "filename": "Observation-temperature.json", + "resourceType": "Observation", + "id": "temperature" + }, + { + "filename": "Observation-urine-wbcs.json", + "resourceType": "Observation", + "id": "urine-wbcs" + }, + { + "filename": "Observation-urine-ph.json", + "resourceType": "Observation", + "id": "urine-ph" + }, + { + "filename": "Procedure-defib-implant.json", + "resourceType": "Procedure", + "id": "defib-implant" + }, + { + "filename": "DiagnosticReport-cardiology-report.json", + "resourceType": "DiagnosticReport", + "id": "cardiology-report" + }, + { + "filename": "Observation-urine-cells.json", + "resourceType": "Observation", + "id": "urine-cells" + }, + { + "filename": "Observation-bmi.json", + "resourceType": "Observation", + "id": "bmi" + }, + { + "filename": "CareTeam-example.json", + "resourceType": "CareTeam", + "id": "example" + }, + { + "filename": "Observation-blood-glucose.json", + "resourceType": "Observation", + "id": "blood-glucose" + }, + { + "filename": "Observation-urobilinogen.json", + "resourceType": "Observation", + "id": "urobilinogen" + }, + { + "filename": "DiagnosticReport-urinalysis.json", + "resourceType": "DiagnosticReport", + "id": "urinalysis" + }, + { + "filename": "Observation-urine-epi-cells.json", + "resourceType": "Observation", + "id": "urine-epi-cells" + }, + { + "filename": "Observation-urine-clarity.json", + "resourceType": "Observation", + "id": "urine-clarity" + }, + { + "filename": "AllergyIntolerance-example.json", + "resourceType": "AllergyIntolerance", + "id": "example" + }, + { + "filename": "DiagnosticReport-chest-xray-report.json", + "resourceType": "DiagnosticReport", + "id": "chest-xray-report" + }, + { + "filename": "Patient-child-example.json", + "resourceType": "Patient", + "id": "child-example" + }, + { + "filename": "Observation-ofc-percentile.json", + "resourceType": "Observation", + "id": "ofc-percentile" + }, + { + "filename": "Observation-height.json", + "resourceType": "Observation", + "id": "height" + }, + { + "filename": "Encounter-example-1.json", + "resourceType": "Encounter", + "id": "example-1" + }, + { + "filename": "Device-udi-1.json", + "resourceType": "Device", + "id": "udi-1" + }, + { + "filename": "Observation-urine-nitrite.json", + "resourceType": "Observation", + "id": "urine-nitrite" + }, + { + "filename": "Observation-neutrophils.json", + "resourceType": "Observation", + "id": "neutrophils" + }, + { + "filename": "Observation-urine-hemoglobin.json", + "resourceType": "Observation", + "id": "urine-hemoglobin" + }, + { + "filename": "CarePlan-colonoscopy.json", + "resourceType": "CarePlan", + "id": "colonoscopy" + }, + { + "filename": "Observation-urine-bacteria.json", + "resourceType": "Observation", + "id": "urine-bacteria" + }, + { + "filename": "Observation-urine-ketone.json", + "resourceType": "Observation", + "id": "urine-ketone" + }, + { + "filename": "Observation-urine-protein.json", + "resourceType": "Observation", + "id": "urine-protein" + }, + { + "filename": "Observation-urine-leukocyte-esterase.json", + "resourceType": "Observation", + "id": "urine-leukocyte-esterase" + }, + { + "filename": "Observation-weight.json", + "resourceType": "Observation", + "id": "weight" + }, + { + "filename": "Device-udi-2.json", + "resourceType": "Device", + "id": "udi-2" + }, + { + "filename": "Observation-urine-glucose.json", + "resourceType": "Observation", + "id": "urine-glucose" + }, + { + "filename": "Practitioner-practitioner-2.json", + "resourceType": "Practitioner", + "id": "practitioner-2" + }, + { + "filename": "Observation-serum-creatinine.json", + "resourceType": "Observation", + "id": "serum-creatinine" + }, + { + "filename": "Observation-bun.json", + "resourceType": "Observation", + "id": "bun" + }, + { + "filename": "Immunization-imm-1.json", + "resourceType": "Immunization", + "id": "imm-1" + }, + { + "filename": "Observation-urine-rbcs.json", + "resourceType": "Observation", + "id": "urine-rbcs" + }, + { + "filename": "Medication-uscore-med1.json", + "resourceType": "Medication", + "id": "uscore-med1" + }, + { + "filename": "Observation-urine-bilirubin.json", + "resourceType": "Observation", + "id": "urine-bilirubin" + }, + { + "filename": "Observation-urine-color.json", + "resourceType": "Observation", + "id": "urine-color" + }, + { + "filename": "Observation-mchc.json", + "resourceType": "Observation", + "id": "mchc" + }, + { + "filename": "Procedure-rehab.json", + "resourceType": "Procedure", + "id": "rehab" + }, + { + "filename": "DiagnosticReport-cbc.json", + "resourceType": "DiagnosticReport", + "id": "cbc" + }, + { + "filename": "Organization-example-organization-2.json", + "resourceType": "Organization", + "id": "example-organization-2" + }, + { + "filename": "Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json", + "resourceType": "Bundle", + "id": "66c8856b-ba11-4876-8aa8-467aad8c11a2", + "type": "searchset" + }, + { + "filename": "Encounter-1036.json", + "resourceType": "Encounter", + "id": "1036" + }, + { + "filename": "Patient-infant-example.json", + "resourceType": "Patient", + "id": "infant-example" + }, + { + "filename": "Observation-heart-rate.json", + "resourceType": "Observation", + "id": "heart-rate" + }, + { + "filename": "Observation-serum-chloride.json", + "resourceType": "Observation", + "id": "serum-chloride" + }, + { + "filename": "Observation-blood-pressure.json", + "resourceType": "Observation", + "id": "blood-pressure" + }, + { + "filename": "Observation-pediatric-bmi-example.json", + "resourceType": "Observation", + "id": "pediatric-bmi-example" + }, + { + "filename": "MedicationRequest-uscore-mo1.json", + "resourceType": "MedicationRequest", + "id": "uscore-mo1" + }, + { + "filename": "Observation-satO2-fiO2.json", + "resourceType": "Observation", + "id": "satO2-fiO2" + }, + { + "filename": "Observation-some-day-smoker.json", + "resourceType": "Observation", + "id": "some-day-smoker" + }, + { + "filename": "DocumentReference-episode-summary.json", + "resourceType": "DocumentReference", + "id": "episode-summary" + }, + { + "filename": "Practitioner-practitioner-1.json", + "resourceType": "Practitioner", + "id": "practitioner-1" + }, + { + "filename": "Observation-bp-data-absent.json", + "resourceType": "Observation", + "id": "bp-data-absent" + }, + { + "filename": "Condition-hc1.json", + "resourceType": "Condition", + "id": "hc1" + }, + { + "filename": "Observation-head-circumference.json", + "resourceType": "Observation", + "id": "head-circumference" + }, + { + "filename": "Organization-saint-luke-w-endpoint.json", + "resourceType": "Organization", + "id": "saint-luke-w-endpoint" + }, + { + "filename": "MedicationRequest-uscore-mo2.json", + "resourceType": "MedicationRequest", + "id": "uscore-mo2" + }, + { + "filename": "Bundle-uscore-mo3.json", + "resourceType": "Bundle", + "id": "uscore-mo3", + "type": "searchset" + }, + { + "filename": "Observation-oxygen-saturation.json", + "resourceType": "Observation", + "id": "oxygen-saturation" + }, + { + "filename": "Goal-goal-1.json", + "resourceType": "Goal", + "id": "goal-1" + }, + { + "filename": "Observation-urine-sediment.json", + "resourceType": "Observation", + "id": "urine-sediment" + }, + { + "filename": "Observation-length.json", + "resourceType": "Observation", + "id": "length" + }, + { + "filename": "Observation-serum-sodium.json", + "resourceType": "Observation", + "id": "serum-sodium" + }, + { + "filename": "Medication-uscore-med2.json", + "resourceType": "Medication", + "id": "uscore-med2" + }, + { + "filename": "Observation-hemoglobin.json", + "resourceType": "Observation", + "id": "hemoglobin" + }, + { + "filename": "Patient-example.json", + "resourceType": "Patient", + "id": "example" + }, + { + "filename": "Observation-serum-potassium.json", + "resourceType": "Observation", + "id": "serum-potassium" + }, + { + "filename": "Observation-usg.json", + "resourceType": "Observation", + "id": "usg" + }, + { + "filename": "Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json", + "resourceType": "Bundle", + "id": "c887e62f-6166-419f-8268-b5ecd6c7b901", + "type": "searchset" + }, + { + "filename": "Observation-serum-total-bilirubin.json", + "resourceType": "Observation", + "id": "serum-total-bilirubin" + }, + { + "filename": "MedicationRequest-self-tylenol.json", + "resourceType": "MedicationRequest", + "id": "self-tylenol" + }, + { + "filename": "Observation-pediatric-wt-example.json", + "resourceType": "Observation", + "id": "pediatric-wt-example" + }, + { + "filename": "Observation-respiratory-rate.json", + "resourceType": "Observation", + "id": "respiratory-rate" + }, + { + "filename": "Device-udi-3.json", + "resourceType": "Device", + "id": "udi-3" + }, + { + "filename": "Observation-erythrocytes.json", + "resourceType": "Observation", + "id": "erythrocytes" + }, + { + "filename": "Organization-acme-lab.json", + "resourceType": "Organization", + "id": "acme-lab" + }, + { + "filename": "Observation-serum-co2.json", + "resourceType": "Observation", + "id": "serum-co2" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/index.txt b/conformance/fhir-ig-us-core/src/test/resources/JSON/400/index.txt deleted file mode 100644 index 9882e6068b8..00000000000 --- a/conformance/fhir-ig-us-core/src/test/resources/JSON/400/index.txt +++ /dev/null @@ -1,84 +0,0 @@ -./src/test/resources/JSON/400/AllergyIntolerance-example.json -./src/test/resources/JSON/400/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json -./src/test/resources/JSON/400/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json -./src/test/resources/JSON/400/Bundle-uscore-mo3.json -./src/test/resources/JSON/400/CarePlan-colonoscopy.json -./src/test/resources/JSON/400/CareTeam-example.json -./src/test/resources/JSON/400/Condition-example.json -./src/test/resources/JSON/400/Condition-hc1.json -./src/test/resources/JSON/400/Device-udi-1.json -./src/test/resources/JSON/400/Device-udi-2.json -./src/test/resources/JSON/400/Device-udi-3.json -./src/test/resources/JSON/400/DiagnosticReport-cardiology-report.json -./src/test/resources/JSON/400/DiagnosticReport-cbc.json -./src/test/resources/JSON/400/DiagnosticReport-chest-xray-report.json -./src/test/resources/JSON/400/DiagnosticReport-metabolic-panel.json -./src/test/resources/JSON/400/DiagnosticReport-urinalysis.json -./src/test/resources/JSON/400/DocumentReference-episode-summary.json -./src/test/resources/JSON/400/Encounter-1036.json -./src/test/resources/JSON/400/Encounter-example-1.json -./src/test/resources/JSON/400/Goal-goal-1.json -./src/test/resources/JSON/400/Immunization-imm-1.json -./src/test/resources/JSON/400/Location-hl7east.json -./src/test/resources/JSON/400/Medication-uscore-med1.json -./src/test/resources/JSON/400/Medication-uscore-med2.json -./src/test/resources/JSON/400/MedicationRequest-self-tylenol.json -./src/test/resources/JSON/400/MedicationRequest-uscore-mo1.json -./src/test/resources/JSON/400/MedicationRequest-uscore-mo2.json -./src/test/resources/JSON/400/Observation-blood-glucose.json -./src/test/resources/JSON/400/Observation-blood-pressure.json -./src/test/resources/JSON/400/Observation-bmi.json -./src/test/resources/JSON/400/Observation-bp-data-absent.json -./src/test/resources/JSON/400/Observation-bun.json -./src/test/resources/JSON/400/Observation-erythrocytes.json -./src/test/resources/JSON/400/Observation-head-circumference.json -./src/test/resources/JSON/400/Observation-heart-rate.json -./src/test/resources/JSON/400/Observation-height.json -./src/test/resources/JSON/400/Observation-hemoglobin.json -./src/test/resources/JSON/400/Observation-length.json -./src/test/resources/JSON/400/Observation-mchc.json -./src/test/resources/JSON/400/Observation-neutrophils.json -./src/test/resources/JSON/400/Observation-ofc-percentile.json -./src/test/resources/JSON/400/Observation-oxygen-saturation.json -./src/test/resources/JSON/400/Observation-pediatric-bmi-example.json -./src/test/resources/JSON/400/Observation-pediatric-wt-example.json -./src/test/resources/JSON/400/Observation-respiratory-rate.json -./src/test/resources/JSON/400/Observation-satO2-fiO2.json -./src/test/resources/JSON/400/Observation-serum-calcium.json -./src/test/resources/JSON/400/Observation-serum-chloride.json -./src/test/resources/JSON/400/Observation-serum-co2.json -./src/test/resources/JSON/400/Observation-serum-creatinine.json -./src/test/resources/JSON/400/Observation-serum-potassium.json -./src/test/resources/JSON/400/Observation-serum-sodium.json -./src/test/resources/JSON/400/Observation-serum-total-bilirubin.json -./src/test/resources/JSON/400/Observation-some-day-smoker.json -./src/test/resources/JSON/400/Observation-temperature.json -./src/test/resources/JSON/400/Observation-urine-bacteria.json -./src/test/resources/JSON/400/Observation-urine-bilirubin.json -./src/test/resources/JSON/400/Observation-urine-cells.json -./src/test/resources/JSON/400/Observation-urine-clarity.json -./src/test/resources/JSON/400/Observation-urine-color.json -./src/test/resources/JSON/400/Observation-urine-epi-cells.json -./src/test/resources/JSON/400/Observation-urine-glucose.json -./src/test/resources/JSON/400/Observation-urine-hemoglobin.json -./src/test/resources/JSON/400/Observation-urine-ketone.json -./src/test/resources/JSON/400/Observation-urine-leukocyte-esterase.json -./src/test/resources/JSON/400/Observation-urine-nitrite.json -./src/test/resources/JSON/400/Observation-urine-ph.json -./src/test/resources/JSON/400/Observation-urine-protein.json -./src/test/resources/JSON/400/Observation-urine-rbcs.json -./src/test/resources/JSON/400/Observation-urine-sediment.json -./src/test/resources/JSON/400/Observation-urine-wbcs.json -./src/test/resources/JSON/400/Observation-urobilinogen.json -./src/test/resources/JSON/400/Observation-usg.json -./src/test/resources/JSON/400/Observation-weight.json -./src/test/resources/JSON/400/Organization-acme-lab.json -./src/test/resources/JSON/400/Organization-example-organization-2.json -./src/test/resources/JSON/400/Organization-saint-luke-w-endpoint.json -./src/test/resources/JSON/400/Patient-child-example.json -./src/test/resources/JSON/400/Patient-example.json -./src/test/resources/JSON/400/Patient-infant-example.json -./src/test/resources/JSON/400/Practitioner-practitioner-1.json -./src/test/resources/JSON/400/Practitioner-practitioner-2.json -./src/test/resources/JSON/400/Procedure-defib-implant.json -./src/test/resources/JSON/400/Procedure-rehab.json \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/.index.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/.index.json new file mode 100644 index 00000000000..32f49dbb5d4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/.index.json @@ -0,0 +1,793 @@ +{ + "index-version": 1, + "files": [ + { + "filename": "Location-hl7east.json", + "resourceType": "Location", + "id": "hl7east" + }, + { + "filename": "Observation-AHC-HRSN-item-example-68524-8.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-68524-8" + }, + { + "filename": "Goal-goal-sdoh-2.json", + "resourceType": "Goal", + "id": "goal-sdoh-2" + }, + { + "filename": "Observation-socialhistory-assessment-example.json", + "resourceType": "Observation", + "id": "socialhistory-assessment-example" + }, + { + "filename": "Observation-AHC-HRSN-item-example-96842-0.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-96842-0" + }, + { + "filename": "Procedure-defib-implant.json", + "resourceType": "Procedure", + "id": "defib-implant" + }, + { + "filename": "Observation-HVS-item-example-88123-5.json", + "resourceType": "Observation", + "id": "HVS-item-example-88123-5" + }, + { + "filename": "Observation-PRAPARE-multiselect-item-example-93031-3-answer1.json", + "resourceType": "Observation", + "id": "PRAPARE-multiselect-item-example-93031-3-answer1" + }, + { + "filename": "Observation-bmi.json", + "resourceType": "Observation", + "id": "bmi" + }, + { + "filename": "Observation-blood-glucose.json", + "resourceType": "Observation", + "id": "blood-glucose" + }, + { + "filename": "QuestionnaireResponse-AHC-HRSN-screening-example.json", + "resourceType": "QuestionnaireResponse", + "id": "AHC-HRSN-screening-example" + }, + { + "filename": "Media-ekg-strip.json", + "resourceType": "Media", + "id": "ekg-strip" + }, + { + "filename": "Observation-AHC-HRSN-item-example-93159-2.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-93159-2" + }, + { + "filename": "Observation-AHC-HRSN-item-example-96780-2.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-96780-2" + }, + { + "filename": "Observation-dxa-hip-l-armass-bmd.json", + "resourceType": "Observation", + "id": "dxa-hip-l-armass-bmd" + }, + { + "filename": "Observation-AHC-HRSN-item-example-97027-7.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-97027-7" + }, + { + "filename": "Observation-PRAPARE-multiselect-item-example-93031-3-answer0.json", + "resourceType": "Observation", + "id": "PRAPARE-multiselect-item-example-93031-3-answer0" + }, + { + "filename": "Observation-ofc-percentile.json", + "resourceType": "Observation", + "id": "ofc-percentile" + }, + { + "filename": "RelatedPerson-shaw-niece.json", + "resourceType": "RelatedPerson", + "id": "shaw-niece" + }, + { + "filename": "Observation-height.json", + "resourceType": "Observation", + "id": "height" + }, + { + "filename": "Observation-AHC-HRSN-item-example-44255-8.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-44255-8" + }, + { + "filename": "Observation-PRAPARE-item-example-76501-6.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-76501-6" + }, + { + "filename": "Observation-PRAPARE-multiselect-item-example-32624-9-answer0.json", + "resourceType": "Observation", + "id": "PRAPARE-multiselect-item-example-32624-9-answer0" + }, + { + "filename": "Observation-PRAPARE-item-example-63586-2.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-63586-2" + }, + { + "filename": "Observation-PRAPARE-item-example-93029-7.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93029-7" + }, + { + "filename": "Observation-weight.json", + "resourceType": "Observation", + "id": "weight" + }, + { + "filename": "Observation-AHC-HRSN-item-example-96781-0.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-96781-0" + }, + { + "filename": "Observation-PRAPARE-panel-example-93043-8.json", + "resourceType": "Observation", + "id": "PRAPARE-panel-example-93043-8" + }, + { + "filename": "Observation-PRAPARE-item-example-56051-6.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-56051-6" + }, + { + "filename": "Practitioner-practitioner-2.json", + "resourceType": "Practitioner", + "id": "practitioner-2" + }, + { + "filename": "Observation-sexual-orientation-example.json", + "resourceType": "Observation", + "id": "sexual-orientation-example" + }, + { + "filename": "Observation-10-minute-apgar-reflex-irritability.json", + "resourceType": "Observation", + "id": "10-minute-apgar-reflex-irritability" + }, + { + "filename": "Observation-AHC-HRSN-item-example-76513-1.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-76513-1" + }, + { + "filename": "QuestionnaireResponse-hunger-vital-sign-example.json", + "resourceType": "QuestionnaireResponse", + "id": "hunger-vital-sign-example" + }, + { + "filename": "Medication-uscore-med1.json", + "resourceType": "Medication", + "id": "uscore-med1" + }, + { + "filename": "Observation-mchc.json", + "resourceType": "Observation", + "id": "mchc" + }, + { + "filename": "Organization-example-organization-2.json", + "resourceType": "Organization", + "id": "example-organization-2" + }, + { + "filename": "Encounter-1036.json", + "resourceType": "Encounter", + "id": "1036" + }, + { + "filename": "Observation-xray-chest-impression.json", + "resourceType": "Observation", + "id": "xray-chest-impression" + }, + { + "filename": "Patient-infant-example.json", + "resourceType": "Patient", + "id": "infant-example" + }, + { + "filename": "Observation-capillary-refill-time-nail-bed.json", + "resourceType": "Observation", + "id": "capillary-refill-time-nail-bed" + }, + { + "filename": "Observation-PRAPARE-item-example-93026-3.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93026-3" + }, + { + "filename": "Observation-PRAPARE-panel-example-93040-4.json", + "resourceType": "Observation", + "id": "PRAPARE-panel-example-93040-4" + }, + { + "filename": "Observation-blood-pressure.json", + "resourceType": "Observation", + "id": "blood-pressure" + }, + { + "filename": "Observation-pediatric-bmi-example.json", + "resourceType": "Observation", + "id": "pediatric-bmi-example" + }, + { + "filename": "DiagnosticReport-bone-density-report.json", + "resourceType": "DiagnosticReport", + "id": "bone-density-report" + }, + { + "filename": "MedicationRequest-uscore-mo1.json", + "resourceType": "MedicationRequest", + "id": "uscore-mo1" + }, + { + "filename": "Observation-AHC-HRSN-item-example-95530-2.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-95530-2" + }, + { + "filename": "Observation-HVS-item-example-88122-7.json", + "resourceType": "Observation", + "id": "HVS-item-example-88122-7" + }, + { + "filename": "DocumentReference-episode-summary.json", + "resourceType": "DocumentReference", + "id": "episode-summary" + }, + { + "filename": "Observation-HVS-panel-example-88121-9.json", + "resourceType": "Observation", + "id": "HVS-panel-example-88121-9" + }, + { + "filename": "Observation-qrs-dur-ekg-lead.json", + "resourceType": "Observation", + "id": "qrs-dur-ekg-lead" + }, + { + "filename": "Observation-bp-data-absent.json", + "resourceType": "Observation", + "id": "bp-data-absent" + }, + { + "filename": "Observation-xray-chest-findings.json", + "resourceType": "Observation", + "id": "xray-chest-findings" + }, + { + "filename": "Observation-p-r-interval-ekg-lead.json", + "resourceType": "Observation", + "id": "p-r-interval-ekg-lead" + }, + { + "filename": "Observation-q-t-interval-ekg-lead.json", + "resourceType": "Observation", + "id": "q-t-interval-ekg-lead" + }, + { + "filename": "MedicationRequest-uscore-mo2.json", + "resourceType": "MedicationRequest", + "id": "uscore-mo2" + }, + { + "filename": "Observation-oxygen-saturation.json", + "resourceType": "Observation", + "id": "oxygen-saturation" + }, + { + "filename": "Goal-goal-1.json", + "resourceType": "Goal", + "id": "goal-1" + }, + { + "filename": "Observation-HVS-item-example-88124-3.json", + "resourceType": "Observation", + "id": "HVS-item-example-88124-3" + }, + { + "filename": "Observation-serum-sodium.json", + "resourceType": "Observation", + "id": "serum-sodium" + }, + { + "filename": "Observation-hemoglobin.json", + "resourceType": "Observation", + "id": "hemoglobin" + }, + { + "filename": "QuestionnaireResponse-PRAPARE-example.json", + "resourceType": "QuestionnaireResponse", + "id": "PRAPARE-example" + }, + { + "filename": "Observation-AHC-HRSN-item-example-96782-8.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-96782-8" + }, + { + "filename": "Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json", + "resourceType": "Bundle", + "id": "c887e62f-6166-419f-8268-b5ecd6c7b901", + "type": "searchset" + }, + { + "filename": "Observation-PRAPARE-multiselect-item-example-32624-9-answer1.json", + "resourceType": "Observation", + "id": "PRAPARE-multiselect-item-example-32624-9-answer1" + }, + { + "filename": "MedicationRequest-self-tylenol.json", + "resourceType": "MedicationRequest", + "id": "self-tylenol" + }, + { + "filename": "Observation-10-minute-apgar-score-panel.json", + "resourceType": "Observation", + "id": "10-minute-apgar-score-panel" + }, + { + "filename": "Observation-PRAPARE-item-example-93035-4.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93035-4" + }, + { + "filename": "Observation-pediatric-wt-example.json", + "resourceType": "Observation", + "id": "pediatric-wt-example" + }, + { + "filename": "Observation-respiratory-rate.json", + "resourceType": "Observation", + "id": "respiratory-rate" + }, + { + "filename": "Device-udi-3.json", + "resourceType": "Device", + "id": "udi-3" + }, + { + "filename": "Observation-erythrocytes.json", + "resourceType": "Observation", + "id": "erythrocytes" + }, + { + "filename": "QuestionnaireResponse-glascow-coma-score.json", + "resourceType": "QuestionnaireResponse", + "id": "glascow-coma-score" + }, + { + "filename": "Observation-PRAPARE-item-example-67875-5.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-67875-5" + }, + { + "filename": "Encounter-delivery.json", + "resourceType": "Encounter", + "id": "delivery" + }, + { + "filename": "DiagnosticReport-metabolic-panel.json", + "resourceType": "DiagnosticReport", + "id": "metabolic-panel" + }, + { + "filename": "Observation-serum-calcium.json", + "resourceType": "Observation", + "id": "serum-calcium" + }, + { + "filename": "Observation-temperature.json", + "resourceType": "Observation", + "id": "temperature" + }, + { + "filename": "Observation-dxa-femur-l-z-score-bmd.json", + "resourceType": "Observation", + "id": "dxa-femur-l-z-score-bmd" + }, + { + "filename": "DiagnosticReport-cardiology-report.json", + "resourceType": "DiagnosticReport", + "id": "cardiology-report" + }, + { + "filename": "Condition-encounter-diagnosis-example2.json", + "resourceType": "Condition", + "id": "encounter-diagnosis-example2" + }, + { + "filename": "Observation-PRAPARE-item-example-76437-3.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-76437-3" + }, + { + "filename": "Observation-PRAPARE-item-example-93033-9.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93033-9" + }, + { + "filename": "CareTeam-example.json", + "resourceType": "CareTeam", + "id": "example" + }, + { + "filename": "Observation-urobilinogen.json", + "resourceType": "Observation", + "id": "urobilinogen" + }, + { + "filename": "Observation-ekg-impression.json", + "resourceType": "Observation", + "id": "ekg-impression" + }, + { + "filename": "Observation-AHC-HRSN-item-example-68516-4.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-68516-4" + }, + { + "filename": "Observation-PRAPARE-item-example-54899-0.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-54899-0" + }, + { + "filename": "Observation-jugular-vein-distension.json", + "resourceType": "Observation", + "id": "jugular-vein-distension" + }, + { + "filename": "AllergyIntolerance-example.json", + "resourceType": "AllergyIntolerance", + "id": "example" + }, + { + "filename": "DiagnosticReport-chest-xray-report.json", + "resourceType": "DiagnosticReport", + "id": "chest-xray-report" + }, + { + "filename": "Observation-dxa-hip-l-z-score-bmd.json", + "resourceType": "Observation", + "id": "dxa-hip-l-z-score-bmd" + }, + { + "filename": "Patient-child-example.json", + "resourceType": "Patient", + "id": "child-example" + }, + { + "filename": "Observation-10-minute-apgar-respiratory-effort.json", + "resourceType": "Observation", + "id": "10-minute-apgar-respiratory-effort" + }, + { + "filename": "Encounter-example-1.json", + "resourceType": "Encounter", + "id": "example-1" + }, + { + "filename": "Device-udi-1.json", + "resourceType": "Device", + "id": "udi-1" + }, + { + "filename": "ServiceRequest-foodpantry-referral.json", + "resourceType": "ServiceRequest", + "id": "foodpantry-referral" + }, + { + "filename": "Observation-PRAPARE-item-example-71802-3.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-71802-3" + }, + { + "filename": "Observation-pulse-intensity-palpation.json", + "resourceType": "Observation", + "id": "pulse-intensity-palpation" + }, + { + "filename": "Observation-neutrophils.json", + "resourceType": "Observation", + "id": "neutrophils" + }, + { + "filename": "CarePlan-colonoscopy.json", + "resourceType": "CarePlan", + "id": "colonoscopy" + }, + { + "filename": "Observation-ekg-lead.json", + "resourceType": "Observation", + "id": "ekg-lead" + }, + { + "filename": "Condition-health-concern-example.json", + "resourceType": "Condition", + "id": "health-concern-example" + }, + { + "filename": "Observation-PRAPARE-item-example-93034-7.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93034-7" + }, + { + "filename": "Device-udi-2.json", + "resourceType": "Device", + "id": "udi-2" + }, + { + "filename": "Observation-PRAPARE-panel-example-93042-0.json", + "resourceType": "Observation", + "id": "PRAPARE-panel-example-93042-0" + }, + { + "filename": "Observation-PRAPARE-item-example-93027-1.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93027-1" + }, + { + "filename": "Observation-PRAPARE-panel-example-93025-5.json", + "resourceType": "Observation", + "id": "PRAPARE-panel-example-93025-5" + }, + { + "filename": "Observation-serum-creatinine.json", + "resourceType": "Observation", + "id": "serum-creatinine" + }, + { + "filename": "Condition-encounter-diagnosis-example1.json", + "resourceType": "Condition", + "id": "encounter-diagnosis-example1" + }, + { + "filename": "Observation-PRAPARE-panel-example-93041-2.json", + "resourceType": "Observation", + "id": "PRAPARE-panel-example-93041-2" + }, + { + "filename": "Observation-bun.json", + "resourceType": "Observation", + "id": "bun" + }, + { + "filename": "Immunization-imm-1.json", + "resourceType": "Immunization", + "id": "imm-1" + }, + { + "filename": "Observation-PRAPARE-item-example-56799-0.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-56799-0" + }, + { + "filename": "Observation-dxa-hip-l-t-score-bmd.json", + "resourceType": "Observation", + "id": "dxa-hip-l-t-score-bmd" + }, + { + "filename": "Observation-10-minute-apgar-color.json", + "resourceType": "Observation", + "id": "10-minute-apgar-color" + }, + { + "filename": "Procedure-rehab.json", + "resourceType": "Procedure", + "id": "rehab" + }, + { + "filename": "DiagnosticReport-cbc.json", + "resourceType": "DiagnosticReport", + "id": "cbc" + }, + { + "filename": "Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json", + "resourceType": "Bundle", + "id": "66c8856b-ba11-4876-8aa8-467aad8c11a2", + "type": "searchset" + }, + { + "filename": "Observation-AHC-HRSN-item-example-68517-2.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-68517-2" + }, + { + "filename": "Observation-AHC-HRSN-item-example-69858-9.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-69858-9" + }, + { + "filename": "Observation-AHC-HRSN-item-example-89555-7.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-89555-7" + }, + { + "filename": "Observation-AHC-HRSN-item-example-93038-8.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-93038-8" + }, + { + "filename": "Observation-heart-rate.json", + "resourceType": "Observation", + "id": "heart-rate" + }, + { + "filename": "Observation-AHC-HRSN-item-example-69861-3.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-69861-3" + }, + { + "filename": "Observation-PRAPARE-item-example-63512-8.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-63512-8" + }, + { + "filename": "Observation-serum-chloride.json", + "resourceType": "Observation", + "id": "serum-chloride" + }, + { + "filename": "Observation-PRAPARE-item-example-82589-3.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-82589-3" + }, + { + "filename": "Media-chest-xray.json", + "resourceType": "Media", + "id": "chest-xray" + }, + { + "filename": "Observation-PRAPARE-panel-example-93039-6.json", + "resourceType": "Observation", + "id": "PRAPARE-panel-example-93039-6" + }, + { + "filename": "Location-hospital.json", + "resourceType": "Location", + "id": "hospital" + }, + { + "filename": "Observation-PRAPARE-item-example-93028-9.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93028-9" + }, + { + "filename": "Observation-satO2-fiO2.json", + "resourceType": "Observation", + "id": "satO2-fiO2" + }, + { + "filename": "Observation-some-day-smoker.json", + "resourceType": "Observation", + "id": "some-day-smoker" + }, + { + "filename": "Practitioner-practitioner-1.json", + "resourceType": "Practitioner", + "id": "practitioner-1" + }, + { + "filename": "Observation-head-circumference.json", + "resourceType": "Observation", + "id": "head-circumference" + }, + { + "filename": "Organization-saint-luke-w-endpoint.json", + "resourceType": "Organization", + "id": "saint-luke-w-endpoint" + }, + { + "filename": "Observation-10-minute-apgar-heart-rate.json", + "resourceType": "Observation", + "id": "10-minute-apgar-heart-rate" + }, + { + "filename": "Bundle-uscore-mo3.json", + "resourceType": "Bundle", + "id": "uscore-mo3", + "type": "searchset" + }, + { + "filename": "Condition-condition-SDOH-example.json", + "resourceType": "Condition", + "id": "condition-SDOH-example" + }, + { + "filename": "Observation-length.json", + "resourceType": "Observation", + "id": "length" + }, + { + "filename": "Medication-uscore-med2.json", + "resourceType": "Medication", + "id": "uscore-med2" + }, + { + "filename": "Observation-serum-potassium.json", + "resourceType": "Observation", + "id": "serum-potassium" + }, + { + "filename": "Patient-example.json", + "resourceType": "Patient", + "id": "example" + }, + { + "filename": "Observation-serum-total-bilirubin.json", + "resourceType": "Observation", + "id": "serum-total-bilirubin" + }, + { + "filename": "Observation-AHC-HRSN-item-example-44250-9.json", + "resourceType": "Observation", + "id": "AHC-HRSN-item-example-44250-9" + }, + { + "filename": "Observation-dxa-femur-l-t-score-bmd.json", + "resourceType": "Observation", + "id": "dxa-femur-l-t-score-bmd" + }, + { + "filename": "Observation-heart-rate-rhythm.json", + "resourceType": "Observation", + "id": "heart-rate-rhythm" + }, + { + "filename": "Observation-10-minute-apgar-score.json", + "resourceType": "Observation", + "id": "10-minute-apgar-score" + }, + { + "filename": "Organization-acme-lab.json", + "resourceType": "Organization", + "id": "acme-lab" + }, + { + "filename": "Observation-dxa-femur-l-armass-bmd.json", + "resourceType": "Observation", + "id": "dxa-femur-l-armass-bmd" + }, + { + "filename": "Observation-PRAPARE-item-example-93038-8.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93038-8" + }, + { + "filename": "Observation-10-minute-apgar-muscle-tone.json", + "resourceType": "Observation", + "id": "10-minute-apgar-muscle-tone" + }, + { + "filename": "Observation-AHC-HRSN-panel-example-96777-8.json", + "resourceType": "Observation", + "id": "AHC-HRSN-panel-example-96777-8" + }, + { + "filename": "Observation-PRAPARE-item-example-93030-5.json", + "resourceType": "Observation", + "id": "PRAPARE-item-example-93030-5" + }, + { + "filename": "Observation-serum-co2.json", + "resourceType": "Observation", + "id": "serum-co2" + } + ] +} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/AllergyIntolerance-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/AllergyIntolerance-example.json new file mode 100644 index 00000000000..01f9911df3c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/AllergyIntolerance-example.json @@ -0,0 +1 @@ +{"resourceType":"AllergyIntolerance","id":"example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"AllergyIntolerance Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a allergyintolerance example for the *US Core AllergyIntolerance Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"example\"

Profile: US Core AllergyIntolerance Profile

clinicalStatus: Active (AllergyIntolerance Clinical Status Codes#active)

verificationStatus: Confirmed (AllergyIntolerance Verification Status#confirmed)

category: medication

criticality: high

code: sulfonamide antibacterial (SNOMED CT#763875007 \"Product containing sulfonamide (product)\")

patient: Patient/example: Amy V. Shaw \" SHAW\"

Reactions

-ManifestationSeverity
*skin rash (SNOMED CT#271807003)mild
"},"clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical","code":"active"}]},"verificationStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/allergyintolerance-verification","code":"confirmed"}]},"category":["medication"],"criticality":"high","code":{"coding":[{"system":"http://snomed.info/sct","code":"763875007","display":"Product containing sulfonamide (product)"}],"text":"sulfonamide antibacterial"},"patient":{"reference":"Patient/example","display":"Amy V. Shaw"},"reaction":[{"manifestation":[{"coding":[{"system":"http://snomed.info/sct","code":"271807003","display":"skin rash"}],"text":"skin rash"}],"severity":"mild"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json new file mode 100644 index 00000000000..a803c87706b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-66c8856b-ba11-4876-8aa8-467aad8c11a2.json @@ -0,0 +1 @@ +{"resourceType":"Bundle","id":"66c8856b-ba11-4876-8aa8-467aad8c11a2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"PractitionerRole_Practitioner_Endpoint_Bundle_Example Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a PractitionerRole_Practitioner_Endpoint_Bundle_Example example for the *Bundle Profile*."}]},"type":"searchset","total":1,"link":[{"relation":"self","url":"http://52.90.126.238:8080/fhir/baseDstu3/PractitionerRole?_id=PractitionerRole-1&_include=PractitionerRole%3Apractitioner&_include=PractitionerRole%3Aendpoint"}],"entry":[{"fullUrl":"http://52.90.126.238:8080/fhir/baseDstu3/PractitionerRole/PractitionerRole-1","resource":{"resourceType":"PractitionerRole","id":"PractitionerRole-1","meta":{"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PractitionerRole-1\"

Profile: US Core PractitionerRole Profile

practitioner: See above (Practitioner/Practitioner-1011: Brenda Jennings Richard MD)

organization: Organization/acme-lab: Acme Lab \"Acme Labs\"

code: Primary Care Clinic/Center (provider-taxonomy#261QP2300X)

specialty: General Practice Physician (provider-taxonomy#208D00000X)

location: Location/hl7east: Health Level Seven International \"Health Level Seven International - Amherst\"

endpoint:

"},"practitioner":{"reference":"Practitioner/Practitioner-1011","display":"Brenda Jennings Richard MD"},"organization":{"reference":"Organization/acme-lab","display":"Acme Lab"},"code":[{"coding":[{"system":"http://nucc.org/provider-taxonomy","code":"261QP2300X","display":"Primary Care Clinic/Center"}]}],"specialty":[{"coding":[{"system":"http://nucc.org/provider-taxonomy","code":"208D00000X","display":"General Practice Physician"}]}],"location":[{"reference":"Location/hl7east","display":"Health Level Seven International"}],"endpoint":[{"reference":"http://52.90.126.238:8080/fhir/baseDstu3/Endpoint/Endpoint-71","display":"Westwood Physicians Organization ADT"},{"reference":"http://52.90.126.238:8080/fhir/baseDstu3/Endpoint/Endpoint-71","display":"Brenda.Jennings.Richard.MD@direct.example.org"}]},"search":{"mode":"match"}},{"fullUrl":"http://52.90.126.238:8080/fhir/baseDstu3/Practitioner/Practitioner-1011","resource":{"resourceType":"Practitioner","id":"Practitioner-1011","meta":{"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"Practitioner-1011\"

Profile: US Core Practitioner Profile

identifier: id: 000001011 (OFFICIAL), id: 9999991011 (OFFICIAL), id: d46f70565a1042f6a6ece48dd81b408f (OFFICIAL)

name: Brenda Jennings Richard

telecom: ph: 313-555-6868(HOME), ph: 313-555-6443(WORK)

address: 346 W Plum Avenu Dearborn MI 48123

gender: female

birthDate: 1976-11-15

Qualifications

-IdentifierCodeIssuer
*Michigan Medical License: LARA-1011 (OFFICIAL)Medical Doctor (license-type#4305): Michigan Department of Licensing and Regulatory Affairs
"},"identifier":[{"use":"official","system":"http://hl7.org/fhir/sid/us-ssn","value":"000001011"},{"use":"official","system":"http://hl7.org/fhir/sid/us-npi","value":"9999991011"},{"use":"official","system":"http://mihin.org/fhir/cks","value":"d46f70565a1042f6a6ece48dd81b408f"}],"name":[{"family":"Richard","given":["Brenda","Jennings"],"suffix":["MD"]}],"telecom":[{"system":"phone","value":"313-555-6868","use":"home"},{"system":"phone","value":"313-555-6443","use":"work"}],"address":[{"text":"346 W Plum Avenu Dearborn MI 48123","line":["346 W Plum Avenue"],"city":"Dearborn","state":"MI","postalCode":"48126"}],"gender":"female","birthDate":"1976-11-15","qualification":[{"identifier":[{"use":"official","type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MD","display":"Medical License number"}],"text":"Michigan Medical License"},"system":"http://example.org/michigan.gov/fhir/medical-license","value":"LARA-1011","assigner":{"display":"State of Michigan"}}],"code":{"coding":[{"system":"http://example.org/michigan.gov/lara/license-type","code":"4305","display":"Medical Doctor"}]},"issuer":{"display":"Michigan Department of Licensing and Regulatory Affairs"}}]},"search":{"mode":"include"}},{"fullUrl":"http://52.90.126.238:8080/fhir/baseDstu3/Endpoint/Endpoint-71","resource":{"resourceType":"Endpoint","id":"71","text":{"status":"generated","div":"

Generated Narrative

Resource \"71\"

status: active

connectionType: Direct Project (Details: http://terminology.hl7.org/CodeSystem/endpoint-connection-type code direct-project = 'Direct Project', stated as 'null')

name: Brenda.Jennings.Richard.MD@direct.example.org

managingOrganization: Organization/acme-lab \"Acme Labs\"

payloadType: urn:hl7-org:sdwg:ccda-structuredBody:1.1 (unknown#urn:hl7-org:sdwg:ccda-structuredBody:1.1)

payloadMimeType: text/xml

address: Brenda.Jennings.Richard.MD@direct.example.org

"},"status":"active","connectionType":{"system":"http://terminology.hl7.org/CodeSystem/endpoint-connection-type","code":"direct-project"},"name":"Brenda.Jennings.Richard.MD@direct.example.org","managingOrganization":{"reference":"Organization/acme-lab"},"payloadType":[{"coding":[{"system":"urn:oid:1.3.6.1.4.1.19376.1.2.3","code":"urn:hl7-org:sdwg:ccda-structuredBody:1.1"}]}],"payloadMimeType":["text/xml"],"address":"mailto:Brenda.Jennings.Richard.MD@direct.example.org"},"search":{"mode":"include"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json new file mode 100644 index 00000000000..82b9d716d5a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-c887e62f-6166-419f-8268-b5ecd6c7b901.json @@ -0,0 +1 @@ +{"resourceType":"Bundle","id":"c887e62f-6166-419f-8268-b5ecd6c7b901","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"AllergyIntolerance Provenance Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a allergyintolerance provenance example for the *Bundle Profile*."}],"lastUpdated":"2019-07-09T18:49:01.235+00:00"},"type":"searchset","total":1,"link":[{"relation":"self","url":"http://example.org/fhir/AllergyIntolerance?_revinclude=Provenance%3Atarget&patient=Examples"}],"entry":[{"fullUrl":"http://example.org/fhir/AllergyIntolerance/79613","resource":{"resourceType":"AllergyIntolerance","id":"79613","meta":{"versionId":"1","lastUpdated":"2019-07-09T15:26:23.217+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"79613\" Version \"1\" Updated \"2019-07-09 03:26:23+0000\"

Profile: US Core AllergyIntolerance Profile

clinicalStatus: Active (AllergyIntolerance Clinical Status Codes#active)

verificationStatus: Confirmed (AllergyIntolerance Verification Status#confirmed)

category: medication

criticality: high

code: Peanuts (SNOMED CT#762952008)

patient: Patient/example \" SHAW\"

onset: 2017-06-09

Reactions

-ManifestationOnset
*Hives (SNOMED CT#247472004)2017-06-09
"},"clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical","code":"active","display":"Active"}]},"verificationStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/allergyintolerance-verification","code":"confirmed","display":"Confirmed"}]},"category":["medication"],"criticality":"high","code":{"coding":[{"system":"http://snomed.info/sct","code":"762952008","display":"Peanuts"}],"text":"Peanuts"},"patient":{"reference":"Patient/example"},"onsetDateTime":"2017-06-09","reaction":[{"manifestation":[{"coding":[{"system":"http://snomed.info/sct","code":"247472004","display":"Hives"}]}],"onset":"2017-06-09"}]},"search":{"mode":"match"}},{"fullUrl":"http://example.org/fhir/Provenance/79614","resource":{"resourceType":"Provenance","id":"79614","meta":{"versionId":"1","lastUpdated":"2019-07-09T15:26:23.217+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"79614\" Version \"1\" Updated \"2019-07-09 03:26:23+0000\"

Profile: US Core Provenance Profile

target: See above (AllergyIntolerance/79613)

recorded: Jul 9, 2019 3:26:23 PM

agent

type: Author (Provenance participant type#author)

who: Practitioner/practitioner-1 \" BONE\"

onBehalfOf: Organization/saint-luke-w-endpoint \"Saint Luke's Hospital of Kansas City\"

agent

type: Author (Provenance participant type#author)

who: Practitioner/practitioner-2 \" KATHY\"

onBehalfOf: Organization/saint-luke-w-endpoint \"Saint Luke's Hospital of Kansas City\"

"},"target":[{"reference":"AllergyIntolerance/79613"}],"recorded":"2019-07-09T15:26:23.217+00:00","agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author","display":"Author"}]},"who":{"reference":"Practitioner/practitioner-1"},"onBehalfOf":{"reference":"Organization/saint-luke-w-endpoint"}},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author","display":"Author"}]},"who":{"reference":"Practitioner/practitioner-2"},"onBehalfOf":{"reference":"Organization/saint-luke-w-endpoint"}}]},"search":{"mode":"include"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-uscore-mo3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-uscore-mo3.json new file mode 100644 index 00000000000..93bd7503ee7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Bundle-uscore-mo3.json @@ -0,0 +1 @@ +{"resourceType":"Bundle","id":"uscore-mo3","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Uscore MO3 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a uscore mo3 example for the *Bundle Profile*."}]},"type":"searchset","total":1,"link":[{"relation":"self","url":"http://test.fhir.org/r4/MedicationRequest?search-id=4085956e-63b8-402d-b181-325040fdb9&&_id=uscore%2Dmo3&_include=MedicationRequest%3Amedication&_sort=_id"}],"entry":[{"fullUrl":"http://test.fhir.org/r4/MedicationRequest/uscore-mo3","resource":{"resourceType":"MedicationRequest","id":"uscore-mo3","meta":{"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"uscore-mo3\"

Profile: US Core MedicationRequest Profile

status: active

intent: order

medication: See above (Medication/uscore-med2: Nizatidine 15 MG/ML Oral Solution [Axid])

subject: Patient/example: Amy Shaw \" SHAW\"

authoredOn: 2008-04-05

requester: Practitioner/practitioner-1: Ronald Bone, MD \" BONE\"

"},"status":"active","intent":"order","medicationReference":{"reference":"Medication/uscore-med2","display":"Nizatidine 15 MG/ML Oral Solution [Axid]"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"authoredOn":"2008-04-05","requester":{"reference":"Practitioner/practitioner-1","display":"Ronald Bone, MD"}},"search":{"mode":"match"}},{"fullUrl":"/Medication/uscore-med2","resource":{"resourceType":"Medication","id":"uscore-med2","meta":{"versionId":"1","lastUpdated":"2016-11-29T19:45:46Z","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"uscore-med2\" Version \"1\" Updated \"2016-11-29 07:45:46+0000\"

Profile: US Core Medication Profile

code: Nizatidine 15 MG/ML Oral Solution [Axid] (RxNorm#582620)

"},"code":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"582620","display":"Nizatidine 15 MG/ML Oral Solution [Axid]"}],"text":"Nizatidine 15 MG/ML Oral Solution [Axid]"}},"search":{"mode":"include"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/CarePlan-colonoscopy.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/CarePlan-colonoscopy.json new file mode 100644 index 00000000000..c9350086b7f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/CarePlan-colonoscopy.json @@ -0,0 +1 @@ +{"resourceType":"CarePlan","id":"colonoscopy","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Colonoscopy Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a colonoscopy example for the *US Core CarePlan Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan"]},"text":{"status":"additional","div":"
\n Assessment\n
    \n
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. \n
  3. Acute on chronic anemia secondary to #1.
  4. \n
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. \n
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. \n
  9. Other chronic diagnoses as noted above, currently stable.
  10. \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
\n
"},"status":"active","intent":"order","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/careplan-category","code":"assess-plan"}]}],"subject":{"reference":"Patient/example","display":"Amy Shaw"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/CareTeam-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/CareTeam-example.json new file mode 100644 index 00000000000..4a8a8492421 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/CareTeam-example.json @@ -0,0 +1 @@ +{"resourceType":"CareTeam","id":"example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"CareTeam Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a careteam example for the *US Core CareTeam Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"example\"

Profile: US Core CareTeam Profile

status: active

name: US-Core example CareTeam

subject: Patient/example: Amy V. Shaw \" SHAW\"

participant

role: Cardiologist (SNOMED CT#17561000)

member: Practitioner/practitioner-1: Ronald Bone, MD \" BONE\"

participant

role: Primary care provider (SNOMED CT#453231000124104)

member: Practitioner/practitioner-2: Kathy Fielding, MD \" KATHY\"

participant

role: Patient (person) (SNOMED CT#116154003)

member: Patient/example: Amy V. Shaw \" SHAW\"

participant

role: Caregiver (person) (SNOMED CT#133932002)

member: RelatedPerson/shaw-niece: Sarah van Putten \" VAN PUTTEN\"

"},"status":"active","name":"US-Core example CareTeam","subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"participant":[{"role":[{"coding":[{"system":"http://snomed.info/sct","code":"17561000","display":"Cardiologist"}]}],"member":{"reference":"Practitioner/practitioner-1","display":"Ronald Bone, MD"}},{"role":[{"coding":[{"system":"http://snomed.info/sct","code":"453231000124104","display":"Primary care provider"}]}],"member":{"reference":"Practitioner/practitioner-2","display":"Kathy Fielding, MD"}},{"role":[{"coding":[{"system":"http://snomed.info/sct","code":"116154003","display":"Patient (person)"}]}],"member":{"reference":"Patient/example","display":"Amy V. Shaw"}},{"role":[{"coding":[{"system":"http://snomed.info/sct","code":"133932002","display":"Caregiver (person)"}]}],"member":{"reference":"RelatedPerson/shaw-niece","display":"Sarah van Putten"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-condition-SDOH-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-condition-SDOH-example.json new file mode 100644 index 00000000000..1b073122775 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-condition-SDOH-example.json @@ -0,0 +1 @@ +{"resourceType":"Condition","id":"condition-SDOH-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"SDOH Problem/Health Concern Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Condition Problems and Health Concerns Profile illustrates its use to capture information about a patient's SDOH Problem/Health Concern."}],"profile":["http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns"]},"text":{"status":"extensions","div":"

Generated Narrative

Resource \"condition-SDOH-example\"

Profile: US Core Condition Problems and Health Concerns Profile

assertedDate: 2016-08-10

clinicalStatus: Active (Condition Clinical Status Codes#active)

verificationStatus: Confirmed (ConditionVerificationStatus#confirmed)

category: Problem List Item (Condition Category Codes#problem-list-item), Social Determinants Of Health (US Core Tags CodeSystem#sdoh \"SDOH\")

code: Nutrition impaired due to limited access to healthful foods (finding) (SNOMED CT#445281000124101)

subject: Patient/example: Amy V. Shaw \" SHAW\"

recordedDate: 2016-08-10 07:15:07-0800

"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/condition-assertedDate","valueDateTime":"2016-08-10"}],"clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active","display":"Active"}],"text":"Active"},"verificationStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-ver-status","code":"confirmed","display":"Confirmed"}],"text":"Confirmed"},"category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"problem-list-item","display":"Problem List Item"}],"text":"Problem List Item"},{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}],"text":"Social Determinants Of Health"}],"code":{"coding":[{"system":"http://snomed.info/sct","code":"445281000124101","display":"Nutrition impaired due to limited access to healthful foods (finding)"}],"text":"Nutrition impaired due to limited access to healthful foods (finding)"},"subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"recordedDate":"2016-08-10T07:15:07-08:00"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-encounter-diagnosis-example1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-encounter-diagnosis-example1.json new file mode 100644 index 00000000000..ebc052c3d1a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-encounter-diagnosis-example1.json @@ -0,0 +1 @@ +{"resourceType":"Condition","id":"encounter-diagnosis-example1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Encounter Diagnosis Example 1"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Condition Encounter Diagnosis Profile illustrates its use to capture information about a patient's encounter diagnosis."}],"profile":["http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis"]},"text":{"status":"extensions","div":"

Generated Narrative

Resource \"encounter-diagnosis-example1\"

Profile: US Core Condition Encounter Diagnosis Profile

assertedDate: 2015-10-31

clinicalStatus: Resolved (Condition Clinical Status Codes#resolved)

verificationStatus: Confirmed (ConditionVerificationStatus#confirmed)

category: Encounter Diagnosis (Condition Category Codes#encounter-diagnosis)

code: Burnt Ear (SNOMED CT#39065001 \"Burn of ear\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: Encounter/example-1

onset: 2015-10-31

abatement: 2015-12-01

recordedDate: 2015-11-01

"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/condition-assertedDate","valueDateTime":"2015-10-31"}],"clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"resolved"}]},"verificationStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-ver-status","code":"confirmed"}]},"category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis","display":"Encounter Diagnosis"}]}],"code":{"coding":[{"system":"http://snomed.info/sct","code":"39065001","display":"Burn of ear"}],"text":"Burnt Ear"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"reference":"Encounter/example-1"},"onsetDateTime":"2015-10-31","abatementDateTime":"2015-12-01","recordedDate":"2015-11-01"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-encounter-diagnosis-example2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-encounter-diagnosis-example2.json new file mode 100644 index 00000000000..86365db2cf6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-encounter-diagnosis-example2.json @@ -0,0 +1 @@ +{"resourceType":"Condition","id":"encounter-diagnosis-example2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Encounter Diagnosis Example 2"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Condition Encounter Diagnosis Profile illustrates its use to capture information about a patient's encounter diagnosis."}],"profile":["http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-encounter-diagnosis"]},"text":{"status":"extensions","div":"

Generated Narrative

Resource \"encounter-diagnosis-example2\"

Profile: US Core Condition Encounter Diagnosis Profile

assertedDate: 2016-08-10

clinicalStatus: Resolved (Condition Clinical Status Codes#resolved)

verificationStatus: Confirmed (ConditionVerificationStatus#confirmed)

category: Encounter Diagnosis (Condition Category Codes#encounter-diagnosis)

code: Single liveborn, born in hospital (SNOMED CT#442311008 \"Liveborn born in hospital\")

subject: Patient/example: Amy V. Shaw \" SHAW\"

encounter: Encounter/delivery

onset: 2016-08-10

abatement: 2016-08-10

recordedDate: 2016-08-10 07:15:07-0800

"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/condition-assertedDate","valueDateTime":"2016-08-10"}],"clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"resolved","display":"Resolved"}],"text":"Resolved"},"verificationStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-ver-status","code":"confirmed","display":"Confirmed"}],"text":"Confirmed"},"category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis","display":"Encounter Diagnosis"}],"text":"Encounter Diagnosis"}],"code":{"coding":[{"system":"http://snomed.info/sct","code":"442311008","display":"Liveborn born in hospital"}],"text":"Single liveborn, born in hospital"},"subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"encounter":{"reference":"Encounter/delivery"},"onsetDateTime":"2016-08-10","abatementDateTime":"2016-08-10","recordedDate":"2016-08-10T07:15:07-08:00"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-health-concern-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-health-concern-example.json new file mode 100644 index 00000000000..fcad6ae1001 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Condition-health-concern-example.json @@ -0,0 +1 @@ +{"resourceType":"Condition","id":"health-concern-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Health Concern Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Condition Problems and Health Concerns Profile illustrates its use to capture information about a patient's health concern."}],"profile":["http://hl7.org/fhir/us/core//StructureDefinition/us-core-condition-problems-health-concerns"]},"text":{"status":"extensions","div":"

Generated Narrative

Resource \"health-concern-example\"

Profile: US Core Condition Problems and Health Concerns Profile

assertedDate: 2007-12-14

clinicalStatus: Active (Condition Clinical Status Codes#active)

verificationStatus: Confirmed (ConditionVerificationStatus#confirmed)

category: Health Concern (US Core Condition Category Extension Codes#health-concern)

code: Fear of becoming fat (SNOMED CT#247824007)

subject: Patient/example: Amy Shaw \" SHAW\"

onset: 2007-12-14

recordedDate: 2007-12-14 07:15:07-0800

"},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/condition-assertedDate","valueDateTime":"2007-12-14"}],"clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active","display":"Active"}],"text":"Active"},"verificationStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-ver-status","code":"confirmed","display":"Confirmed"}],"text":"Confirmed"},"category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/condition-category","code":"health-concern","display":"Health Concern"}],"text":"Health Concern"}],"code":{"coding":[{"system":"http://snomed.info/sct","code":"247824007","display":"Fear of becoming fat"}],"text":"Fear of becoming fat"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"onsetDateTime":"2007-12-14","recordedDate":"2007-12-14T07:15:07-08:00"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-1.json new file mode 100644 index 00000000000..8c6e50388a9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-1.json @@ -0,0 +1 @@ +{"resourceType":"Device","id":"udi-1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"UDI 1 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a UDI 1 example for the *US Core Implantable Device Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"udi-1\"

Profile: US Core Implantable Device Profile

UdiCarriers

-DeviceIdentifierCarrierHRF
*09504000059118(01)09504000059118(17)141120(10)7654321D(21)10987654d321

status: active

expirationDate: 2014-11-20

lotNumber: 7654321D

serialNumber: 10987654d321

type: Coated femoral stem prosthesis, modular (SNOMED CT#468063009)

patient: Patient/example: Amy Shaw \" SHAW\"

"},"udiCarrier":[{"deviceIdentifier":"09504000059118","carrierHRF":"(01)09504000059118(17)141120(10)7654321D(21)10987654d321"}],"status":"active","expirationDate":"2014-11-20","lotNumber":"7654321D","serialNumber":"10987654d321","type":{"coding":[{"system":"http://snomed.info/sct","code":"468063009","display":"Coated femoral stem prosthesis, modular"}]},"patient":{"reference":"Patient/example","display":"Amy Shaw"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-2.json new file mode 100644 index 00000000000..3a81c9c2118 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-2.json @@ -0,0 +1 @@ +{"resourceType":"Device","id":"udi-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Device Defib Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Device defib example for the *US Core Implantable Device Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"udi-2\"

Profile: US Core Implantable Device Profile

UdiCarriers

-DeviceIdentifierCarrierHRFEntryType
*99863313444316(01)99863313444316(17)220101(10)M320(21)AC221rfid

status: active

manufacturer: ACME Biomedical

expirationDate: 2022-01-01

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Inputudi-label-name

modelNumber: 1.0

type: Implant (SNOMED CT#19257004 \"Defibrillator, device\")

patient: Patient/example: Amy Shaw \" SHAW\"

"},"udiCarrier":[{"deviceIdentifier":"99863313444316","carrierHRF":"(01)99863313444316(17)220101(10)M320(21)AC221","entryType":"rfid"}],"status":"active","manufacturer":"ACME Biomedical","expirationDate":"2022-01-01","lotNumber":"M320","serialNumber":"AC221","deviceName":[{"name":"ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Input","type":"udi-label-name"}],"modelNumber":"1.0","type":{"coding":[{"system":"http://snomed.info/sct","code":"19257004","display":"Defibrillator, device"}],"text":"Implant"},"patient":{"reference":"Patient/example","display":"Amy Shaw"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-3.json new file mode 100644 index 00000000000..0b0eddf5e5f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Device-udi-3.json @@ -0,0 +1 @@ +{"resourceType":"Device","id":"udi-3","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Device Knee Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Device knee example for the *US Core Implantable Device Profile*."}],"versionId":"2","lastUpdated":"2019-04-11T16:21:48.921+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"udi-3\" Version \"2\" Updated \"2019-04-11 04:21:48+0000\"

Profile: US Core Implantable Device Profile

UdiCarriers

-DeviceIdentifierCarrierHRFEntryType
*987979879879(01)987979879879(11)191015(17)220101(10)M320(21)AC221rfid

status: active

manufacturer: ACME Biomedical

manufactureDate: 2015-10-15

expirationDate: 2022-01-01

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Knee Replacement Deviceudi-label-name

modelNumber: 1.0

type: Knee joint prosthesis (SNOMED CT#109228008)

patient: Patient/example: Amy V. Shaw \" SHAW\"

"},"udiCarrier":[{"deviceIdentifier":"987979879879","carrierHRF":"(01)987979879879(11)191015(17)220101(10)M320(21)AC221","entryType":"rfid"}],"status":"active","manufacturer":"ACME Biomedical","manufactureDate":"2015-10-15","expirationDate":"2022-01-01","lotNumber":"M320","serialNumber":"AC221","deviceName":[{"name":"ACME Knee Replacement Device","type":"udi-label-name"}],"modelNumber":"1.0","type":{"coding":[{"system":"http://snomed.info/sct","code":"109228008","display":"Knee joint prosthesis"}],"text":"Knee joint prosthesis"},"patient":{"reference":"Patient/example","display":"Amy V. Shaw"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-bone-density-report.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-bone-density-report.json new file mode 100644 index 00000000000..7dbf9236f69 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-bone-density-report.json @@ -0,0 +1 @@ +{"resourceType":"DiagnosticReport","id":"bone-density-report","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DXA Bone density quantitative measurement panel Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DXA Bone density quantitative measurement panel report example for the *US Core DiagnosticReport Note Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"]},"text":{"status":"generated","div":"

DXA Bone density quantitative measurement panel (Radiology)

SubjectAmy V. Baxter female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When For2021-11-10 07:30:46-0800

Report Details

CodeValueWhen For
DXA Hip-L Z-score BMD-0.19 Z-Score2021-11-10 07:14:41-0800
DXA Hip-L T-score BMD-1.62 T-Score2021-11-10 07:14:41-0800
DXA Hip-L ArMass BMD0.734 g/cm22021-11-10 07:14:41-0800
DXA Femur-L Z-score BMD0.05 Z-Score2021-11-10 07:14:41-0800
DXA Femur-L T-score BMD-1.48 T-Score2021-11-10 07:14:41-0800
DXA Femur-L ArMass BMD0.631 g/cm22021-11-10 07:14:41-0800
"},"status":"final","category":[{"coding":[{"system":"http://loinc.org","code":"LP29684-5","display":"Radiology"}],"text":"Radiology"}],"code":{"coding":[{"system":"http://loinc.org","code":"83311-1","display":"Bone density quantitative measurement by DXA panel"}],"text":"DXA Bone density quantitative measurement panel"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2021-11-10T19:30:46-08:00","result":[{"reference":"Observation/dxa-hip-l-z-score-bmd"},{"reference":"Observation/dxa-hip-l-t-score-bmd"},{"reference":"Observation/dxa-hip-l-armass-bmd"},{"reference":"Observation/dxa-femur-l-z-score-bmd"},{"reference":"Observation/dxa-femur-l-t-score-bmd"},{"reference":"Observation/dxa-femur-l-armass-bmd"}],"presentedForm":[{"contentType":"application/pdf","data":"JVBERi0xLjMKJcTl8uXrp/Og0MTGCjQgMCBvYmoKPDwgL0xlbmd0aCA1IDAgUiAvRmlsdGVyIC9GbGF0ZURlY29kZSA+PgpzdHJlYW0KeAGtmsuOJsdxhff1FGXKtHsos1h5z6R3NrTRTkADXpheDSwYhmhA4vsD+k7krf7hQBw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MCAwMDAwMCBuIAowMDAwMDA3NzA2IDAwMDAwIG4gCjAwMDAwMDcyMzEgMDAwMDAgbiAKMDAwMDAwNzY4NiAwMDAwMCBuIAowMDAwMDA3OTQ3IDAwMDAwIG4gCjAwMDAwMTc4OTYgMDAwMDAgbiAKMDAwMDAxNzkxNyAwMDAwMCBuIAowMDAwMDE3OTQ1IDAwMDAwIG4gCjAwMDAwMTgwMjEgMDAwMDAgbiAKMDAwMDAxODA0OSAwMDAwMCBuIAowMDAwMDE4MDY4IDAwMDAwIG4gCjAwMDAwMTgwOTEgMDAwMDAgbiAKMDAwMDAxODEzMyAwMDAwMCBuIAowMDAwMDE4MTUyIDAwMDAwIG4gCnRyYWlsZXIKPDwgL1NpemUgMjYgL1Jvb3QgMTIgMCBSIC9JbmZvIDEgMCBSIC9JRCBbIDxiOTcyODk5MmQwM2JhZWRhZDc1OTYzZjcxM2NhN2Q2ZD4KPGI5NzI4OTkyZDAzYmFlZGFkNzU5NjNmNzEzY2E3ZDZkPiBdID4+CnN0YXJ0eHJlZgoxODM0NwolJUVPRgo="}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-cardiology-report.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-cardiology-report.json new file mode 100644 index 00000000000..580e5dfb5e5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-cardiology-report.json @@ -0,0 +1 @@ +{"resourceType":"DiagnosticReport","id":"cardiology-report","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DiagnosticReport Cardiology Report Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DiagnosticReport cardiology report example for the *US Core DiagnosticReport Note Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"]},"text":{"status":"generated","div":"

Cardiovascular physiologic and EKG assessment panel (Cardiology)

SubjectAmy V. Baxter female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When For2021-11-10 09:39:30+0000

Report Details

CodeValueWhen For
QRS dur {EKG lead}60 ms2021-11-10 04:48:57-0800
Pulse intensity Palpation1+2021-11-10 04:48:57-0800
P-R interval {EKG lead}0.2 s2021-11-10 04:48:57-0800
Q-T interval {EKG lead}0.4 s2021-11-10 04:48:57-0800
Jugular vein distensionAbsent2021-11-10 04:48:57-0800
Heart rate rhythmRegular (R)2021-11-10 04:48:57-0800
EKG leadII2021-11-10 04:48:57-0800
EKG impressionNormal Sinus Rhythm (NSR)2021-11-10 04:48:57-0800
Capillary refill Time Nail Bed1 s2021-11-10 04:48:57-0800
"},"status":"final","category":[{"coding":[{"system":"http://loinc.org","code":"LP29708-2","display":"Cardiology"}],"text":"Cardiology"}],"code":{"coding":[{"system":"http://loinc.org","code":"45033-8","display":"Cardiovascular physiologic and EKG assessment panel"}],"text":"Cardiovascular physiologic and EKG assessment panel"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2021-11-10T21:39:30.000Z","result":[{"reference":"Observation/qrs-dur-ekg-lead"},{"reference":"Observation/pulse-intensity-palpation"},{"reference":"Observation/p-r-interval-ekg-lead"},{"reference":"Observation/q-t-interval-ekg-lead"},{"reference":"Observation/jugular-vein-distension"},{"reference":"Observation/heart-rate-rhythm"},{"reference":"Observation/ekg-lead"},{"reference":"Observation/ekg-impression"},{"reference":"Observation/capillary-refill-time-nail-bed"}],"media":[{"link":{"reference":"Media/ekg-strip","display":"EKG Strip"}}],"presentedForm":[{"contentType":"application/pdf","url":"http://example.org/pdfdownloads/cardiopanel-report-123.pdf","hash":"RVFILy4uQWdNRQo="}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-cbc.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-cbc.json new file mode 100644 index 00000000000..10aa716370e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-cbc.json @@ -0,0 +1 @@ +{"resourceType":"DiagnosticReport","id":"cbc","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"CBC Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a CBC example for the *US Core DiagnosticReport Lab Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"]},"text":{"status":"generated","div":"

CBC panel - Blood by Automated count (Laboratory)

SubjectAmy V. Baxter female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When For2005-07-05
Reported2005-07-06 11:45:33+1100

Report Details

CodeValueReference RangeWhen For
Neutrophils %40.0 %Normal Range: 37.0 % - 67.0 %2005-07-05
MCHC RBC Auto-mCnc34.7 g/dLNormal Range: 30.0 g/dL - 34.0 g/dL2005-07-05
Hgb Bld-mCnc17.0 g/dLNormal Range: 16.5 g/dL - 21.5 g/dL2005-07-05
RBC # Bld Auto4.58 10*6/uLNormal Range: 4.1 10*6/uL - 6.1 10*6/uL2005-07-05
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB","display":"Laboratory"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"58410-2","display":"CBC panel - Blood by Automated count"}]},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","issued":"2005-07-06T11:45:33+11:00","performer":[{"reference":"Organization/acme-lab","display":"Acme Laboratory, Inc"}],"result":[{"reference":"Observation/neutrophils","display":"NEUTROPHILS"},{"reference":"Observation/mchc","display":"MCHC"},{"reference":"Observation/hemoglobin","display":"HEMOGLOBIN"},{"reference":"Observation/erythrocytes","display":"ERYTHROCYTES"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-chest-xray-report.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-chest-xray-report.json new file mode 100644 index 00000000000..84e6246239f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-chest-xray-report.json @@ -0,0 +1 @@ +{"resourceType":"DiagnosticReport","id":"chest-xray-report","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DiagnosticReport Chest Xray Report Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DiagnosticReport chest xray report example for the *US Core DiagnosticReport Note Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note"]},"text":{"status":"generated","div":"

Portable XR Chest Views (Radiology)

SubjectAmy V. Baxter female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When For2019-02-03 07:43:30+0000
Reported2019-02-04 07:43:30+0000

Report Details

CodeValueWhen For
FindingsLINES AND TUBES: None.\\n LUNGS AND PLEURA:\\n Clear lungs. Normal pulmonary vascularity.\\n No pleural effusion.\\n No pneumothorax.\\n HEART, MEDIASTINUM AND HILA:\\n Heart is normal in size.\\n Normal mediastinal and hilar contour.\\n BONES AND SOFT TISSUES:\\n No acute abnormality.\\n2019-02-03 07:43:30+0000
ImpressionNo acute abnormality2019-02-03 07:43:30+0000
"},"status":"final","category":[{"coding":[{"system":"http://loinc.org","code":"LP29684-5","display":"Radiology"}],"text":"Radiology"}],"code":{"coding":[{"system":"http://loinc.org","code":"30746-2","display":"Portable XR Chest Views"}],"text":"Portable XR Chest Views"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2019-02-03T19:43:30.000Z","issued":"2019-02-04T19:43:30.000Z","performer":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"}],"result":[{"reference":"Observation/xray-chest-findings","display":"Findings"},{"reference":"Observation/xray-chest-impression","display":"Impression"}],"media":[{"link":{"reference":"Media/chest-xray","display":"Chest Xray"}}],"presentedForm":[{"contentType":"application/xhtml","data":"PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0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IGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg=="}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-metabolic-panel.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-metabolic-panel.json new file mode 100644 index 00000000000..bdfef5a634e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DiagnosticReport-metabolic-panel.json @@ -0,0 +1 @@ +{"resourceType":"DiagnosticReport","id":"metabolic-panel","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Metabolic Panel Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a metabolic panel example for the *US Core DiagnosticReport Lab Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab"]},"text":{"status":"generated","div":"

Comprehensive metabolic 2000 panel - Serum or Plasma (Laboratory)

SubjectAmy V. Baxter female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (USUAL))
When For2005-07-04
Reported2005-07-06 11:45:33+1100

Report Details

CodeValueReference RangeWhen For
Bilirub SerPl-mCnc8.6 mg/dLNormal Range: 2.0 mg/dL - 7.0 mg/dL2005-07-07
Sodium SerPl-sCnc137.0 mmol/LNormal Range: 135.0 mmol/L - 145.0 mmol/L2005-07-05
Potassium SerPl-sCnc5.4 mmol/LNormal Range: 3.5 mmol/L - 5.5 mmol/L2005-07-05
Creat SerPl-mCnc1.0 mg/dLNormal Range: 0.2 mg/dL - 0.6 mg/dL2005-07-05
CO2 SerPl-sCnc24.0 mmol/LNormal Range: 22.0 mmol/L - 29.0 mmol/L2005-07-05
Chloride SerPl-sCnc105.0 mmol/LNormal Range: 95.0 mmol/L - 105.0 mmol/L2005-07-05
Calcium SerPl-mCnc7.7 mg/dLNormal Range: 8.5 mg/dL - 10.5 mg/dL2005-07-05
BUN SerPl-mCnc10.0 mg/dLNormal Range: 5.0 mg/dL - 20.0 mg/dL2005-07-05
Glucose Bld-mCnc76.0 mg/dLNormal Range: 40.0 mg/dL - 109.0 mg/dL2005-07-05
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0074","code":"LAB","display":"Laboratory"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"24323-8","display":"Comprehensive metabolic 2000 panel - Serum or Plasma"}]},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-04","issued":"2005-07-06T11:45:33+11:00","performer":[{"reference":"Organization/acme-lab","display":"Acme Laboratory, Inc"}],"result":[{"reference":"Observation/serum-total-bilirubin","display":"TOTAL BILIRUBIN"},{"reference":"Observation/serum-sodium","display":"SODIUM"},{"reference":"Observation/serum-potassium","display":"Potassium"},{"reference":"Observation/serum-creatinine","display":"CREATININE"},{"reference":"Observation/serum-co2","display":"TOTAL CO2"},{"reference":"Observation/serum-chloride","display":"CHLORIDE"},{"reference":"Observation/serum-calcium","display":"CALCIUM"},{"reference":"Observation/bun","display":"BUN"},{"reference":"Observation/blood-glucose","display":"GLUCOSE"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DocumentReference-episode-summary.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DocumentReference-episode-summary.json new file mode 100644 index 00000000000..3a91847b9bd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/DocumentReference-episode-summary.json @@ -0,0 +1 @@ +{"resourceType":"DocumentReference","id":"episode-summary","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Episode Summary Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a episode summary example for the *US Core DocumentReference Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"episode-summary\"

Profile: US Core DocumentReference Profile

identifier: id: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document (LOINC#34133-9 \"Summary of episode note\")

category: Clinical Note (US Core DocumentReferences Category Codes#clinical-note)

subject: Patient/example: Amy Shaw \" SHAW\"

date: Mar 9, 2016 3:29:46 PM

author: Practitioner/practitioner-1: Ronald Bone, MD \" BONE\"

description: Pulmonology clinic acute visit

content

format: Documents following C-CDA constraints using a structured body (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:hl7-org:sdwg:ccda-structuredBody:2.1 = 'urn:hl7-org:sdwg:ccda-structuredBody:2.1', stated as 'Documents following C-CDA constraints using a structured body')

Contexts

-Period
*2004-12-23 08:00:00+1100 --> 2004-12-23 08:01:00+1100
"},"identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:oid:2.16.840.1.113883.19.5.99999.1"}],"status":"current","type":{"coding":[{"system":"http://loinc.org","code":"34133-9","display":"Summary of episode note"}],"text":"CCD Document"},"category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category","code":"clinical-note","display":"Clinical Note"}],"text":"Clinical Note"}],"subject":{"reference":"Patient/example","display":"Amy Shaw"},"date":"2016-03-09T15:29:46Z","author":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone, MD"}],"description":"Pulmonology clinic acute visit","content":[{"attachment":{"contentType":"text/plain","url":"/Binary/1-note","title":"Uri where the data can be found: [base]/Binary/1-note"},"format":{"system":"urn:oid:1.3.6.1.4.1.19376.1.2.3","code":"urn:hl7-org:sdwg:ccda-structuredBody:2.1","display":"Documents following C-CDA constraints using a structured body"}}],"context":{"period":{"start":"2004-12-23T08:00:00+11:00","end":"2004-12-23T08:01:00+11:00"}}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-1036.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-1036.json new file mode 100644 index 00000000000..c36a5a3fcc1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-1036.json @@ -0,0 +1 @@ +{"resourceType":"Encounter","id":"1036","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Encounter 1036 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a encounter 1036 example for the *Encounter Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"1036\"

Profile: US Core Encounter Profile

status: in-progress

class: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')

type: Unknown (qualifier value) (SNOMED CT#261665006)

subject: Patient/example \" SHAW\"

Hospitalizations

-DischargeDisposition
*Discharged to Home (patient-discharge#01)

Locations

-Location
*Location/hospital: Holy Family Hospital \"Holy Family Hospital\"
"},"status":"in-progress","class":{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"IMP","display":"inpatient encounter"},"type":[{"coding":[{"system":"http://snomed.info/sct","code":"261665006","display":"Unknown (qualifier value)"}],"text":"Unknown (qualifier value)"}],"subject":{"reference":"Patient/example"},"hospitalization":{"dischargeDisposition":{"coding":[{"system":"http://www.nubc.org/patient-discharge","code":"01","display":"Discharged to Home"}]}},"location":[{"location":{"reference":"Location/hospital","display":"Holy Family Hospital"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-delivery.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-delivery.json new file mode 100644 index 00000000000..f15ce21ee25 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-delivery.json @@ -0,0 +1 @@ +{"resourceType":"Encounter","id":"delivery","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Encounter Delivery Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a patient delivery encounter example for the *Encounter Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"delivery\"

Profile: US Core Encounter Profile

status: finished

class: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')

type: Normal delivery procedure (procedure) (SNOMED CT#177184002)

subject: Patient/example: Amy V. Shaw \" SHAW\"

Locations

-Location
*Location/hospital: Holy Family Hospital \"Holy Family Hospital\"
"},"status":"finished","class":{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"IMP","display":"inpatient encounter"},"type":[{"coding":[{"system":"http://snomed.info/sct","code":"177184002","display":"Normal delivery procedure (procedure)"}],"text":"Normal delivery procedure (procedure)"}],"subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"location":[{"location":{"reference":"Location/hospital","display":"Holy Family Hospital"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-example-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-example-1.json new file mode 100644 index 00000000000..649faff2977 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Encounter-example-1.json @@ -0,0 +1 @@ +{"resourceType":"Encounter","id":"example-1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Encounter 1 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a encounter 1 example for the *US Core Encounter Profile*."}],"lastUpdated":"2017-05-26T11:56:57.250-04:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"example-1\" Updated \"2017-05-26 11:56:57-0400\"

Profile: US Core Encounter Profile

status: finished

class: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')

type: Office Visit (Current Procedural Terminology (CPT®)#99201)

subject: Patient/example \" SHAW\"

period: 2015-11-01 05:00:14-0500 --> 2015-11-01 06:00:14-0500

"},"status":"finished","class":{"system":"http://terminology.hl7.org/CodeSystem/v3-ActCode","code":"AMB","display":"ambulatory"},"type":[{"coding":[{"system":"http://www.ama-assn.org/go/cpt","code":"99201"}],"text":"Office Visit"}],"subject":{"reference":"Patient/example"},"period":{"start":"2015-11-01T17:00:14-05:00","end":"2015-11-01T18:00:14-05:00"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Goal-goal-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Goal-goal-1.json new file mode 100644 index 00000000000..0ba67ab2ab2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Goal-goal-1.json @@ -0,0 +1 @@ +{"resourceType":"Goal","id":"goal-1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Goal 1 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a goal 1 example for the *US Core Goal Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"goal-1\"

Profile: US Core Goal Profile

lifecycleStatus: active

description: Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs ()

subject: Patient/example: Amy Shaw \" SHAW\"

Targets

-Due[x]
*2016-04-05
"},"lifecycleStatus":"active","description":{"text":"Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"target":[{"dueDate":"2016-04-05"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Goal-goal-sdoh-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Goal-goal-sdoh-2.json new file mode 100644 index 00000000000..f82f4c4bdf0 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Goal-goal-sdoh-2.json @@ -0,0 +1 @@ +{"resourceType":"Goal","id":"goal-sdoh-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Goal 2 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a goal 2 example for the *US Core Goal Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"goal-sdoh-2\"

Profile: US Core Goal Profile

lifecycleStatus: active

description: In paid employment (SNOMED CT#406156006)

subject: Patient/example: Amy Shaw \" SHAW\"

Targets

-Due[x]
*2022-02-01
"},"lifecycleStatus":"active","description":{"coding":[{"system":"http://snomed.info/sct","code":"406156006","display":"In paid employment"}],"text":"In paid employment"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"target":[{"dueDate":"2022-02-01"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Immunization-imm-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Immunization-imm-1.json new file mode 100644 index 00000000000..4e9dd1541ce --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Immunization-imm-1.json @@ -0,0 +1 @@ +{"resourceType":"Immunization","id":"imm-1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Imm 1 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a imm 1 example for the *US Core Immunization Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"imm-1\"

Profile: US Core Immunization Profile

status: completed

vaccineCode: influenza, high-dose, quadrivalent (PH_VaccinesAdministeredCVX_CDC_NIP#197; National drug codes#49281012165 \"FLUZONE High-Dose Quadrivalent Northern Hemisphere, 10 SYRINGE, GLASS in 1 PACKAGE (49281-121-65) > .7 mL in 1 SYRINGE, GLASS (49281-121-88) (package)\")

patient: Patient/example: Amy Shaw \" SHAW\"

occurrence: 2020-11-19 12:46:57-0800

primarySource: false

"},"status":"completed","vaccineCode":{"coding":[{"system":"http://hl7.org/fhir/sid/cvx","code":"197","display":"influenza, high-dose, quadrivalent"},{"system":"http://hl7.org/fhir/sid/ndc","code":"49281012165","display":"FLUZONE High-Dose Quadrivalent Northern Hemisphere, 10 SYRINGE, GLASS in 1 PACKAGE (49281-121-65) > .7 mL in 1 SYRINGE, GLASS (49281-121-88) (package)"}],"text":"influenza, high-dose, quadrivalent"},"patient":{"reference":"Patient/example","display":"Amy Shaw"},"occurrenceDateTime":"2020-11-19T12:46:57-08:00","primarySource":false} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Location-hl7east.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Location-hl7east.json new file mode 100644 index 00000000000..78473c32f12 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Location-hl7east.json @@ -0,0 +1 @@ +{"resourceType":"Location","id":"hl7east","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"HL7East Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a HL7East example for the *US Core Location Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-location"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"hl7east\"

Profile: US Core Location Profile

identifier: id: 29

status: active

name: Health Level Seven International - Amherst

description: HL7 Headquarters - East

telecom: ph: (+1) 734-677-7777

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

Positions

-LongitudeLatitude
*-72.51985442.373222

managingOrganization: : Health Level Seven International

"},"identifier":[{"system":"http://www.acme.org/location","value":"29"}],"status":"active","name":"Health Level Seven International - Amherst","description":"HL7 Headquarters - East","telecom":[{"system":"phone","value":"(+1) 734-677-7777"}],"address":{"line":["3300 Washtenaw Avenue, Suite 227"],"city":"Amherst","state":"MA","postalCode":"01002","country":"USA"},"position":{"longitude":-72.519854,"latitude":42.373222},"managingOrganization":{"display":"Health Level Seven International"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Location-hospital.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Location-hospital.json new file mode 100644 index 00000000000..b2358aea4ea --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Location-hospital.json @@ -0,0 +1 @@ +{"resourceType":"Location","id":"hospital","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Hospital Location"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is an example hospital location for the *US Core Location Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-location"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"hospital\"

Profile: US Core Location Profile

status: active

name: Holy Family Hospital

telecom: ph: 9786870156

address: 70 EAST STREET METHUEN MA 01844 US

managingOrganization: http://example.org/fhir/Organization/holy-healthcare: Holy Healthcare

"},"status":"active","name":"Holy Family Hospital","telecom":[{"system":"phone","value":"9786870156"}],"address":{"line":["70 EAST STREET"],"city":"METHUEN","state":"MA","postalCode":"01844","country":"US"},"managingOrganization":{"reference":"http://example.org/fhir/Organization/holy-healthcare","display":"Holy Healthcare"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Media-chest-xray.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Media-chest-xray.json new file mode 100644 index 00000000000..0b34478981f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Media-chest-xray.json @@ -0,0 +1 @@ +{"resourceType":"Media","id":"chest-xray","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Chest Xray Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is an example Media xray image that is reference by the *US Core DiagnosticReport Note Profile*."}]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"chest-xray\"

status: completed

type: Image (Media Type#image)

modality: Plain chest X-ray (procedure) (SNOMED CT#399208008)

subject: Patient/example \" SHAW\"

created: 2019-02-04 07:43:30+0000

issued: Feb 4, 2019 7:43:30 PM

"},"status":"completed","type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/media-type","code":"image","display":"Image"}]},"modality":{"coding":[{"system":"http://snomed.info/sct","code":"399208008","display":"Plain chest X-ray (procedure)"}]},"subject":{"reference":"Patient/example"},"createdDateTime":"2019-02-04T19:43:30.000Z","issued":"2019-02-04T19:43:30.000Z","content":{"id":"a1","contentType":"image/jpeg","url":"http://example.org/fhir/Binary/A12345","creation":"2019-02-04T19:43:30.000Z"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Media-ekg-strip.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Media-ekg-strip.json new file mode 100644 index 00000000000..1eb7375d5b7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Media-ekg-strip.json @@ -0,0 +1 @@ +{"resourceType":"Media","id":"ekg-strip","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"EKG Strip Image"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is an example Media image that is reference by the *US Core DiagnosticReport Note Profile*."}]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"ekg-strip\"

status: completed

type: Image (Media Type#image)

subject: Patient/example \" SHAW\"

created: 2017-12-17

issued: Nov 11, 2021 2:17:58 AM

"},"status":"completed","type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/media-type","code":"image","display":"Image"}]},"subject":{"reference":"Patient/example"},"createdDateTime":"2017-12-17","issued":"2021-11-10T18:17:58-08:00","content":{"contentType":"image/png","data":"iVBORw0KGgoAAAANSUhEUgAAAp8AAAChCAYAAACBB9T8AAAKxWlDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU+kSgP97b3ohQCACUkLvSCeAlNADKEgHGyEJJJQQEoKKDRVxBSsqIqgs4KqIgqtSZC2IBdui2PsGWRTUdbFgQ+Vd4BF23zvvvfMmZ87/ZTL/zPz3/JMzFwAqgSuRZMKqAGSJc6VRwX7MhMQkJr4PQAALSAAADS5PJmFHRoajDCbWv8uHO6g3KjdtR2P9++//VdT4AhkPACgS5RS+jJeF8jFUB3kSaS4AyB7UbrwgVzLKF0frkaIFovxolNPGeXCUU8YYgxnziYnyR1kLAAKFy5WmAUAxQe3MPF4aGocSgLK9mC8So4x+B948IZePMpoX2GRlZY+yAmWLlL/ESftbzBRlTC43TcnjZxkTQoBIJsnkLvo/H8f/lqxM+UQOM1QpQmlIFLqidUH3MrLDlCxOmRkxwSL+mP8YC+UhsRPMk/knTTCfGxCm3Js5M3yCU0VBHGWcXE7MBAtkgdETLM2OUuZKlfqzJ5grncwrz4hV2oUCjjJ+vjAmfoLzRHEzJ1iWER026eOvtEvlUcr6BeJgv8m8QcqzZ8n+cl4RR7k3VxgTojw7d7J+gZg9GVOWoKyNLwgInPSJVfpLcv2UuSSZkUp/QWaw0i7Li1buzUUv5OTeSOUzTOeGRk4wCAAC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ijwQIH/7ynwfwGVeOovZ0HRUQAAAABJRU5ErkJggg==","creation":"2021-11-10"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Medication-uscore-med1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Medication-uscore-med1.json new file mode 100644 index 00000000000..08c039e6bb8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Medication-uscore-med1.json @@ -0,0 +1 @@ +{"resourceType":"Medication","id":"uscore-med1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Uscore Med1 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a uscore med1 example for the *US Core Medication Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"uscore-med1\"

Profile: US Core Medication Profile

code: lisinopril oral 10 mg (RxNorm#206765 \"Prinivil 10 MG Oral Tablet\")

"},"code":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"206765","display":"Prinivil 10 MG Oral Tablet"}],"text":"lisinopril oral 10 mg"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Medication-uscore-med2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Medication-uscore-med2.json new file mode 100644 index 00000000000..cd80b2ef5fc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Medication-uscore-med2.json @@ -0,0 +1 @@ +{"resourceType":"Medication","id":"uscore-med2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Uscore Med2 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a uscore med2 example for the *US Core Medication Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"uscore-med2\"

Profile: US Core Medication Profile

code: Nizatidine 15 MG/ML Oral Solution [Axid] (RxNorm#582620)

"},"code":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"582620","display":"Nizatidine 15 MG/ML Oral Solution [Axid]"}],"text":"Nizatidine 15 MG/ML Oral Solution [Axid]"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-self-tylenol.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-self-tylenol.json new file mode 100644 index 00000000000..3ad51aeaac2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-self-tylenol.json @@ -0,0 +1 @@ +{"resourceType":"MedicationRequest","id":"self-tylenol","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Self Tylenol Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a self tylenol example for the *MedicationRequest Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"self-tylenol\"

Profile: US Core MedicationRequest Profile

identifier: id: 12345689 (OFFICIAL)

status: active

intent: plan

reported: true

medication: Tylenol PM Pill (RxNorm#1187314)

subject: Patient/example: Amy V. Shaw \" SHAW\"

encounter: Encounter/example-1: Office Visit

authoredOn: 2019-06-24

requester: Patient/example: **self-prescribed** \" SHAW\"

"},"identifier":[{"use":"official","system":"http://acme.org/prescriptions","value":"12345689"}],"status":"active","intent":"plan","reportedBoolean":true,"medicationCodeableConcept":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"1187314","display":"Tylenol PM Pill"}],"text":"Tylenol PM Pill"},"subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"encounter":{"reference":"Encounter/example-1","display":"Office Visit"},"authoredOn":"2019-06-24","requester":{"reference":"Patient/example","display":"**self-prescribed**"},"dosageInstruction":[{"text":"Takes 1-2 tablets once daily at bedtime as needed for restless legs"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-uscore-mo1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-uscore-mo1.json new file mode 100644 index 00000000000..ddf16c233c3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-uscore-mo1.json @@ -0,0 +1 @@ +{"resourceType":"MedicationRequest","id":"uscore-mo1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Uscore MO1 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a uscore mo1 example for the *US Core MedicationRequest Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"uscore-mo1\"

Profile: US Core MedicationRequest Profile

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid] (RxNorm#582620)

subject: Patient/example: Amy Shaw \" SHAW\"

authoredOn: 2008-04-05

requester: Practitioner/practitioner-1: Ronald Bone, MD \" BONE\"

dispenseRequest

numberOfRepeatsAllowed: 1

quantity: 480 mL (Details: UCUM code mL = 'mL')

"},"status":"active","intent":"order","medicationCodeableConcept":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"582620","display":"Nizatidine 15 MG/ML Oral Solution [Axid]"}],"text":"Nizatidine 15 MG/ML Oral Solution [Axid]"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"authoredOn":"2008-04-05","requester":{"reference":"Practitioner/practitioner-1","display":"Ronald Bone, MD"},"dosageInstruction":[{"text":"10 mL bid","timing":{"repeat":{"boundsPeriod":{"start":"2008-04-05"}}}}],"dispenseRequest":{"numberOfRepeatsAllowed":1,"quantity":{"value":480,"unit":"mL","system":"http://unitsofmeasure.org","code":"mL"},"expectedSupplyDuration":{"value":30,"unit":"days","system":"http://unitsofmeasure.org","code":"d"}}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-uscore-mo2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-uscore-mo2.json new file mode 100644 index 00000000000..6b162f87369 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/MedicationRequest-uscore-mo2.json @@ -0,0 +1 @@ +{"resourceType":"MedicationRequest","id":"uscore-mo2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Uscore MO2 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a uscore MO2 example for the *US Core MedicationRequest Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"uscore-mo2\"

Profile: US Core MedicationRequest Profile

status: active

intent: order

medication:

Resource \"med2\"

code: Nizatidine 15 MG/ML Oral Solution [Axid] (RxNorm#582620)

subject: Patient/example: Amy Shaw \" SHAW\"

authoredOn: 2008-04-05

requester: Practitioner/practitioner-1: Ronald Bone, MD \" BONE\"

dispenseRequest

numberOfRepeatsAllowed: 1

quantity: 480 mL (Details: UCUM code mL = 'mL')

"},"contained":[{"resourceType":"Medication","id":"med2","code":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"582620","display":"Nizatidine 15 MG/ML Oral Solution [Axid]"}],"text":"Nizatidine 15 MG/ML Oral Solution [Axid]"}}],"status":"active","intent":"order","medicationReference":{"reference":"#med2","display":"Nizatidine 15 MG/ML Oral Solution [Axid]"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"authoredOn":"2008-04-05","requester":{"reference":"Practitioner/practitioner-1","display":"Ronald Bone, MD"},"dosageInstruction":[{"text":"10 mL bid","timing":{"repeat":{"boundsPeriod":{"start":"2008-04-05"}}}}],"dispenseRequest":{"numberOfRepeatsAllowed":1,"quantity":{"value":480,"unit":"mL","system":"http://unitsofmeasure.org","code":"mL"},"expectedSupplyDuration":{"value":30,"unit":"days","system":"http://unitsofmeasure.org","code":"d"}}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-color.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-color.json new file mode 100644 index 00000000000..595b14b2686 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-color.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"10-minute-apgar-color","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"10 minute Apgar Color Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"10-minute-apgar-color\"

Profile: US Core Observation Survey Profile

status: final

category: Survey (Observation Category Codes#survey)

code: Apgar color score (LOINC#32401-2 \"10 minute Apgar Color\")

subject: Patient/infant-example \" EXAMPLE\"

effective: 2016-05-18 10:33:22+0000

performer: Practitioner/practitioner-1: Ronald Bone \" BONE\"

value: 2. Good color all over (LOINC#LA6724-4 \"Good color all over\")

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}],"text":"Survey"}],"code":{"coding":[{"system":"http://loinc.org","code":"32401-2","display":"10 minute Apgar Color"}],"text":"Apgar color score"},"subject":{"reference":"Patient/infant-example"},"effectiveDateTime":"2016-05-18T22:33:22+00:00","performer":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"}],"valueCodeableConcept":{"coding":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue","valueDecimal":2}],"system":"http://loinc.org","code":"LA6724-4","display":"Good color all over"}],"text":"2. Good color all over"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-heart-rate.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-heart-rate.json new file mode 100644 index 00000000000..7443861507f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-heart-rate.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"10-minute-apgar-heart-rate","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"10 minute Apgar Heart Rate Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"10-minute-apgar-heart-rate\"

Profile: US Core Observation Survey Profile

status: final

category: Survey (Observation Category Codes#survey)

code: Apgar respiratory effort score (LOINC#32402-0 \"10 minute Apgar Heart Rate\")

subject: Patient/infant-example \" EXAMPLE\"

effective: 2016-05-18 10:33:22+0000

performer: Practitioner/practitioner-1: Ronald Bone \" BONE\"

value: 2. At least 100 beats per minute (LOINC#LA6718-6 \"At least 100 beats per minute\")

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}],"text":"Survey"}],"code":{"coding":[{"system":"http://loinc.org","code":"32402-0","display":"10 minute Apgar Heart Rate"}],"text":"Apgar respiratory effort score"},"subject":{"reference":"Patient/infant-example"},"effectiveDateTime":"2016-05-18T22:33:22+00:00","performer":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"}],"valueCodeableConcept":{"coding":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue","valueDecimal":2}],"system":"http://loinc.org","code":"LA6718-6","display":"At least 100 beats per minute"}],"text":"2. At least 100 beats per minute"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-muscle-tone.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-muscle-tone.json new file mode 100644 index 00000000000..3c6e58e6071 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-muscle-tone.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"10-minute-apgar-muscle-tone","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"10 minute Apgar Muscle Tone Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"10-minute-apgar-muscle-tone\"

Profile: US Core Observation Survey Profile

status: final

category: Survey (Observation Category Codes#survey)

code: Apgar muscle tone score (LOINC#32403-8 \"10 minute Apgar Muscle Tone\")

subject: Patient/infant-example \" EXAMPLE\"

effective: 2016-05-18 10:33:22+0000

performer: Practitioner/practitioner-1: Ronald Bone \" BONE\"

value: 2. Active motion (LOINC#LA6715-2 \"Active motion\")

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}],"text":"Survey"}],"code":{"coding":[{"system":"http://loinc.org","code":"32403-8","display":"10 minute Apgar Muscle Tone"}],"text":"Apgar muscle tone score"},"subject":{"reference":"Patient/infant-example"},"effectiveDateTime":"2016-05-18T22:33:22Z","performer":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"}],"valueCodeableConcept":{"coding":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue","valueDecimal":2}],"system":"http://loinc.org","code":"LA6715-2","display":"Active motion"}],"text":"2. Active motion"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-reflex-irritability.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-reflex-irritability.json new file mode 100644 index 00000000000..0f2e67c713d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-reflex-irritability.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"10-minute-apgar-reflex-irritability","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"10 minute Apgar Reflex Irritability Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse.."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"10-minute-apgar-reflex-irritability\"

Profile: US Core Observation Survey Profile

status: final

category: Survey (Observation Category Codes#survey)

code: Apgar response to stimulus score (LOINC#32404-6 \"10 minute Apgar Reflex Irritability\")

subject: Patient/infant-example \" EXAMPLE\"

effective: 2016-05-18

performer: Practitioner/practitioner-1: Ronald Bone \" BONE\"

value: 2. Grimace and pulling away, cough, or sneeze during suctioning (LOINC#LA6721-0 \"Grimace and pulling away, cough, or sneeze during suctioning\")

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}],"text":"Survey"}],"code":{"coding":[{"system":"http://loinc.org","code":"32404-6","display":"10 minute Apgar Reflex Irritability"}],"text":"Apgar response to stimulus score"},"subject":{"reference":"Patient/infant-example"},"effectiveDateTime":"2016-05-18","performer":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"}],"valueCodeableConcept":{"coding":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue","valueDecimal":2}],"system":"http://loinc.org","code":"LA6721-0","display":"Grimace and pulling away, cough, or sneeze during suctioning"}],"text":"2. Grimace and pulling away, cough, or sneeze during suctioning"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-respiratory-effort.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-respiratory-effort.json new file mode 100644 index 00000000000..e9a9f7253c4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-respiratory-effort.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"10-minute-apgar-respiratory-effort","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"10 minute Apgar Respiratory effort Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"10-minute-apgar-respiratory-effort\"

Profile: US Core Observation Survey Profile

status: final

category: Survey (Observation Category Codes#survey)

code: Apgar respiratory effort score (LOINC#32405-3 \"10 minute Apgar Respiratory effort\")

subject: Patient/infant-example \" EXAMPLE\"

effective: 2016-05-18 10:33:22+0000

performer: Practitioner/practitioner-1: Ronald Bone \" BONE\"

value: 2. Good, strong cry; normal rate and effort of breathing (LOINC#LA6727-7 \"Good, strong cry; normal rate and effort of breathing\")

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}],"text":"Survey"}],"code":{"coding":[{"system":"http://loinc.org","code":"32405-3","display":"10 minute Apgar Respiratory effort"}],"text":"Apgar respiratory effort score"},"subject":{"reference":"Patient/infant-example"},"effectiveDateTime":"2016-05-18T22:33:22Z","performer":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"}],"valueCodeableConcept":{"coding":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/ordinalValue","valueDecimal":2}],"system":"http://loinc.org","code":"LA6727-7","display":"Good, strong cry; normal rate and effort of breathing"}],"text":"2. Good, strong cry; normal rate and effort of breathing"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-score-panel.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-score-panel.json new file mode 100644 index 00000000000..3bce41e9d6e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-score-panel.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"10-minute-apgar-score-panel","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"10 Minute Apgar Score Panel Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Survey Observation Profile illustrates its use to directly capture surveys assessments as a panel of observations. It is not derived from a FHIR QuestionnaireResponse."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"10-minute-apgar-score-panel\"

Profile: US Core Observation Survey Profile

status: final

category: Survey (Observation Category Codes#survey)

code: 10 minute Apgar Score (LOINC#9271-8; SNOMED CT#169922007 \"Apgar at 10 minutes\")

subject: Patient/infant-example \" EXAMPLE\"

effective: 2016-05-18 10:33:22+0000

performer: Practitioner/practitioner-1: Ronald Bone \" BONE\"

hasMember:

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}],"text":"Survey"}],"code":{"coding":[{"system":"http://loinc.org","code":"9271-8","display":"10 minute Apgar Score"},{"system":"http://snomed.info/sct","code":"169922007","display":"Apgar at 10 minutes"}],"text":"10 minute Apgar Score"},"subject":{"reference":"Patient/infant-example"},"effectiveDateTime":"2016-05-18T22:33:22Z","performer":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"}],"hasMember":[{"reference":"Observation/10-minute-apgar-score"},{"reference":"Observation/10-minute-apgar-respiratory-effort"},{"reference":"Observation/10-minute-apgar-muscle-tone"},{"reference":"Observation/10-minute-apgar-reflex-irritability"},{"reference":"Observation/10-minute-apgar-color"},{"reference":"Observation/10-minute-apgar-heart-rate"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-score.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-score.json new file mode 100644 index 00000000000..8c7af11d161 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-10-minute-apgar-score.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"10-minute-apgar-score","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"10 Minute Apgar Score Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Survey Observation Profile illustrates its use to directly capture individual surveys assessment items as an observations. It is not derived from a FHIR QuestionnaireResponse."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"10-minute-apgar-score\"

Profile: US Core Observation Survey Profile

status: final

category: Survey (Observation Category Codes#survey)

code: 10 minute Apgar Score (LOINC#9271-8)

subject: Patient/infant-example \" EXAMPLE\"

effective: 2016-05-18 10:33:22+0000

performer: Practitioner/practitioner-1: Ronald Bone \" BONE\"

value: 10 score (Details: UCUM code 1 = '1')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}],"text":"Survey"}],"code":{"coding":[{"system":"http://loinc.org","code":"9271-8","display":"10 minute Apgar Score"}],"text":"10 minute Apgar Score"},"subject":{"reference":"Patient/infant-example"},"effectiveDateTime":"2016-05-18T22:33:22Z","performer":[{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"}],"valueQuantity":{"value":10,"unit":"score","system":"http://unitsofmeasure.org","code":"1"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-44250-9.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-44250-9.json new file mode 100644 index 00000000000..19d294ff3d3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-44250-9.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-44250-9","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 44250-9"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 44250-9 (Little interest or pleasure in doing things?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-44250-9\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Little interest or pleasure in doing things? (LOINC#44250-9 \"Little interest or pleasure in doing things in last 2 weeks\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: Not at all (LOINC#LA6568-5)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"44250-9","display":"Little interest or pleasure in doing things in last 2 weeks"}],"text":"Little interest or pleasure in doing things?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA6568-5","display":"Not at all"}],"text":"Not at all"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-44255-8.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-44255-8.json new file mode 100644 index 00000000000..bb115777d9d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-44255-8.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-44255-8","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 44255-8"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 44255-8 (Feeling down, depressed, or hopeless?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-44255-8\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Feeling down, depressed, or hopeless? (LOINC#44255-8 \"Feeling down, depressed, or hopeless in last 2 weeks\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: Not at all (LOINC#LA6568-5)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"44255-8","display":"Feeling down, depressed, or hopeless in last 2 weeks"}],"text":"Feeling down, depressed, or hopeless?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA6568-5","display":"Not at all"}],"text":"Not at all"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68516-4.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68516-4.json new file mode 100644 index 00000000000..68ec160ea28 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68516-4.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-68516-4","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 68516-4"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 68516-4 (On average, how many minutes did you usually spend exercising at this level on one of those days?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-68516-4\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: On average, how many minutes did you usually spend exercising at this level on one of those days? (LOINC#68516-4 \"On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: 60 (LOINC#LA28853-2)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"68516-4","display":"On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise"}],"text":"On average, how many minutes did you usually spend exercising at this level on one of those days?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA28853-2","display":"60"}],"text":"60"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68517-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68517-2.json new file mode 100644 index 00000000000..9a4b63403ba --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68517-2.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-68517-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 68517-2"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 68517-2 (How many times in the past 12 months have you had 5 or more drinks in a day (males) or 4 or more drinks in a day (females)?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-68517-2\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: How many times in the past 12 months have you had 5 or more drinks in a day (males) or 4 or more drinks in a day (females)? (LOINC#68517-2 \"How many times in the past year have you have X or more drinks in a day\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: Never (LOINC#LA6270-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"68517-2","display":"How many times in the past year have you have X or more drinks in a day"}],"text":"How many times in the past 12 months have you had 5 or more drinks in a day (males) or 4 or more drinks in a day (females)?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}],"text":"Never"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68524-8.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68524-8.json new file mode 100644 index 00000000000..7483cda740d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-68524-8.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-68524-8","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 68524-8"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 68524-8 (How many times in the past year have you used illegal drugs?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-68524-8\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: How many times in the past year have you used illegal drugs? (LOINC#68524-8 \"Illegal drug non-med reason past Y nRate\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: Never (LOINC#LA6270-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"68524-8","display":"Illegal drug non-med reason past Y nRate"}],"text":"How many times in the past year have you used illegal drugs?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}],"text":"Never"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-69858-9.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-69858-9.json new file mode 100644 index 00000000000..7aface06603 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-69858-9.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-69858-9","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 69858-9"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 69858-9 (Because of a physical, mental, or emotional condition, do you have serious difficulty concentrating, remembering, or making decisions?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-69858-9\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Because of a physical, mental, or emotional condition, do you have serious difficulty concentrating, remembering, or making decisions? (LOINC#69858-9)

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"69858-9","display":"Because of a physical, mental, or emotional condition, do you have serious difficulty concentrating, remembering, or making decisions?"}],"text":"Because of a physical, mental, or emotional condition, do you have serious difficulty concentrating, remembering, or making decisions?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-69861-3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-69861-3.json new file mode 100644 index 00000000000..8e3f96b2ad4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-69861-3.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-69861-3","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 69861-3"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 69861-3 (Because of a physical, mental, or emotional condition, do you have difficulty doing errands alone such as visiting a physician's office or shopping?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-69861-3\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Because of a physical, mental, or emotional condition, do you have difficulty doing errands alone such as visiting a physician's office or shopping? (LOINC#69861-3)

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"69861-3","display":"Because of a physical, mental, or emotional condition, do you have difficulty doing errands alone such as visiting a physician's office or shopping?"}],"text":"Because of a physical, mental, or emotional condition, do you have difficulty doing errands alone such as visiting a physician's office or shopping?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-76513-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-76513-1.json new file mode 100644 index 00000000000..5703c9a6ba5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-76513-1.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-76513-1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 76513-1"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 76513-1 (How hard is it for you to pay for the very basics like food, housing, medical care, and heating?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-76513-1\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: How hard is it for you to pay for the very basics like food, housing, medical care, and heating? (LOINC#76513-1)

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: Not hard at all (LOINC#LA31980-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"76513-1","display":"How hard is it for you to pay for the very basics like food, housing, medical care, and heating?"}],"text":"How hard is it for you to pay for the very basics like food, housing, medical care, and heating?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA31980-8","display":"Not hard at all"}],"text":"Not hard at all"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-89555-7.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-89555-7.json new file mode 100644 index 00000000000..0372254133f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-89555-7.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-89555-7","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 89555-7"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 89555-7 (In the last 30 days, other than the activities you did for work, on average, how many days per week did you engage in moderate exercise (like walking fast, running, jogging, dancing, swimming, biking, or other similar activities)?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-89555-7\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: In the last 30 days, other than the activities you did for work, on average, how many days per week did you engage in moderate exercise (like walking fast, running, jogging, dancing, swimming, biking, or other similar activities)? (LOINC#89555-7 \"How many days per week did you engage in moderate to strenuous physical activity in the last 30 days\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: 5 (LOINC#LA10137-0)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"89555-7","display":"How many days per week did you engage in moderate to strenuous physical activity in the last 30 days"}],"text":"In the last 30 days, other than the activities you did for work, on average, how many days per week did you engage in moderate exercise (like walking fast, running, jogging, dancing, swimming, biking, or other similar activities)?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA10137-0","display":"5"}],"text":"5"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-93038-8.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-93038-8.json new file mode 100644 index 00000000000..7ca3fbef215 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-93038-8.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-93038-8","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 93038-8"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 93038-8 (Stress means a situation in which a person feels tense, restless, nervous, or anxious, or is unable to sleep at night because his or her mind is troubled all the time. Do you feel this kind of stress these days?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-93038-8\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Stress means a situation in which a person feels tense, restless, nervous, or anxious, or is unable to sleep at night because his or her mind is troubled all the time. Do you feel this kind of stress these days? (LOINC#93038-8 \"Stress level\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: A little bit (LOINC#LA13863-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93038-8","display":"Stress level"}],"text":"Stress means a situation in which a person feels tense, restless, nervous, or anxious, or is unable to sleep at night because his or her mind is troubled all the time. Do you feel this kind of stress these days?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA13863-8","display":"A little bit"}],"text":"A little bit"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-93159-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-93159-2.json new file mode 100644 index 00000000000..2960f33806d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-93159-2.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-93159-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 93159-2"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 93159-2 (How often do you feel lonely or isolated from those around you?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-93159-2\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: How often do you feel lonely or isolated from those around you? (LOINC#93159-2 \"How often do you feel lonely or isolated from those around you [CMS Assessment]\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: Never (LOINC#LA6270-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93159-2","display":"How often do you feel lonely or isolated from those around you [CMS Assessment]"}],"text":"How often do you feel lonely or isolated from those around you?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}],"text":"Never"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-95530-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-95530-2.json new file mode 100644 index 00000000000..20cff5b0f95 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-95530-2.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-95530-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 95530-2"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 95530-2 (How many times in the past year have you used prescription drugs for non-medical reasons?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-95530-2\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: How many times in the past year have you used prescription drugs for non-medical reasons? (LOINC#95530-2 \"Prescription drug use 1Y\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: Never (LOINC#LA6270-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"95530-2","display":"Prescription drug use 1Y"}],"text":"How many times in the past year have you used prescription drugs for non-medical reasons?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}],"text":"Never"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96780-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96780-2.json new file mode 100644 index 00000000000..59dff769816 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96780-2.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-96780-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 96780-2"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 96780-2 (Do you want help finding or keeping work or a job?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-96780-2\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Do you want help finding or keeping work or a job? (LOINC#96780-2 \"Wants help finding or keeping work or a job\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: I do not need or want help (LOINC#LA31983-2)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"96780-2","display":"Wants help finding or keeping work or a job"}],"text":"Do you want help finding or keeping work or a job?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA31983-2","display":"I do not need or want help"}],"text":"I do not need or want help"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96781-0.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96781-0.json new file mode 100644 index 00000000000..9caabbcc9c7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96781-0.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-96781-0","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 96781-0"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 96781-0 (If for any reason you need help with day-to-day activities such as bathing, preparing meals, shopping, managing finances, etc., do you get the help you need?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-96781-0\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: If for any reason you need help with day-to-day activities such as bathing, preparing meals, shopping, managing finances, etc., do you get the help you need? (LOINC#96781-0 \"Able to get help with daily activities when needed\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: I don't need any help (LOINC#LA31976-6)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"96781-0","display":"Able to get help with daily activities when needed"}],"text":"If for any reason you need help with day-to-day activities such as bathing, preparing meals, shopping, managing finances, etc., do you get the help you need?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA31976-6","display":"I don't need any help"}],"text":"I don't need any help"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96782-8.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96782-8.json new file mode 100644 index 00000000000..67cd5ece327 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96782-8.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-96782-8","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 96782-8"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 96782-8 (Do you want help with school or training? For example, starting or completing job training or getting a high school diploma, GED or equivalent.) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-96782-8\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Do you want help with school or training? For example, starting or completing job training or getting a high school diploma, GED or equivalent. (LOINC#96782-8 \"Wants help with school or training\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"96782-8","display":"Wants help with school or training"}],"text":"Do you want help with school or training? For example, starting or completing job training or getting a high school diploma, GED or equivalent."},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96842-0.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96842-0.json new file mode 100644 index 00000000000..f5b3407e4dc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-96842-0.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-96842-0","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 96842-0"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 96842-0 (How often have you used any tobacco product in past 12 months?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-96842-0\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: How often have you used any tobacco product in past 12 months? (LOINC#96842-0 \"Tobacco freq 12Mo\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: Never (LOINC#LA6270-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"96842-0","display":"Tobacco freq 12Mo"}],"text":"How often have you used any tobacco product in past 12 months?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}],"text":"Never"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-97027-7.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-97027-7.json new file mode 100644 index 00000000000..79db9448b5e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-item-example-97027-7.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-item-example-97027-7","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Item Example 97027-7"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Item Example 97027-7 (Do you speak a language other than English at home?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-item-example-97027-7\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Do you speak a language other than English at home? (LOINC#97027-7 \"Speaks a language other than English at home\")

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"97027-7","display":"Speaks a language other than English at home"}],"text":"Do you speak a language other than English at home?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-panel-example-96777-8.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-panel-example-96777-8.json new file mode 100644 index 00000000000..ea175468f16 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-AHC-HRSN-panel-example-96777-8.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"AHC-HRSN-panel-example-96777-8","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Ahc-Hrsn Panel Example 96777-8"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Ahc-Hrsn Panel Example 96777-8 (Accountable health communities (AHC) health-related social needs screening (HRSN) tool) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"AHC-HRSN-panel-example-96777-8\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Accountable health communities (AHC) health-related social needs screening (HRSN) tool (LOINC#96777-8)

subject: Patient/example \" SHAW\"

effective: 2022-03-29 10:38:59+0000

performer: Patient/example \" SHAW\"

hasMember:

derivedFrom: QuestionnaireResponse/AHC-HRSN-screening-example: US Core QuestionnaireResponse AHC HRSN Screening-Example Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"96777-8","display":"Accountable health communities (AHC) health-related social needs screening (HRSN) tool"}],"text":"Accountable health communities (AHC) health-related social needs screening (HRSN) tool"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-29T22:38:59.084000+00:00","performer":[{"reference":"Patient/example"}],"hasMember":[{"reference":"Observation/AHC-HRSN-item-example-76513-1"},{"reference":"Observation/AHC-HRSN-item-example-96780-2"},{"reference":"Observation/AHC-HRSN-item-example-96781-0"},{"reference":"Observation/AHC-HRSN-item-example-93159-2"},{"reference":"Observation/AHC-HRSN-item-example-97027-7"},{"reference":"Observation/AHC-HRSN-item-example-96782-8"},{"reference":"Observation/AHC-HRSN-item-example-89555-7"},{"reference":"Observation/AHC-HRSN-item-example-68516-4"},{"reference":"Observation/AHC-HRSN-item-example-68517-2"},{"reference":"Observation/AHC-HRSN-item-example-96842-0"},{"reference":"Observation/AHC-HRSN-item-example-95530-2"},{"reference":"Observation/AHC-HRSN-item-example-68524-8"},{"reference":"Observation/AHC-HRSN-item-example-44250-9"},{"reference":"Observation/AHC-HRSN-item-example-44255-8"},{"reference":"Observation/AHC-HRSN-item-example-93038-8"},{"reference":"Observation/AHC-HRSN-item-example-69858-9"},{"reference":"Observation/AHC-HRSN-item-example-69861-3"}],"derivedFrom":[{"reference":"QuestionnaireResponse/AHC-HRSN-screening-example","display":"US Core QuestionnaireResponse AHC HRSN Screening-Example Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88122-7.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88122-7.json new file mode 100644 index 00000000000..a099516ca55 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88122-7.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"HVS-item-example-88122-7","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Hvs Item Example 88122-7"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Hvs Item Example 88122-7 ((I/We) worried whether (my/our) food would run out before (I/we) got money to buy more.) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"HVS-item-example-88122-7\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: (I/We) worried whether (my/our) food would run out before (I/we) got money to buy more. (LOINC#88122-7)

subject: Patient/example \" SHAW\"

effective: 2020-09-10 09:56:54+0000

performer: Patient/example \" SHAW\"

value: Often true (LOINC#LA28397-0)

derivedFrom: QuestionnaireResponse/hunger-vital-sign-example: US Core QuestionnaireResponse Hunger Vital Sign Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"88122-7","display":"(I/We) worried whether (my/our) food would run out before (I/we) got money to buy more."}],"text":"(I/We) worried whether (my/our) food would run out before (I/we) got money to buy more."},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2020-09-10T21:56:54.671000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA28397-0","display":"Often true"}],"text":"Often true"},"derivedFrom":[{"reference":"QuestionnaireResponse/hunger-vital-sign-example","display":"US Core QuestionnaireResponse Hunger Vital Sign Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88123-5.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88123-5.json new file mode 100644 index 00000000000..70c01d85621 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88123-5.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"HVS-item-example-88123-5","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Hvs Item Example 88123-5"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Hvs Item Example 88123-5 (The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more.) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"HVS-item-example-88123-5\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more. (LOINC#88123-5)

subject: Patient/example \" SHAW\"

effective: 2020-09-10 09:56:54+0000

performer: Patient/example \" SHAW\"

value: Often true (LOINC#LA28397-0)

derivedFrom: QuestionnaireResponse/hunger-vital-sign-example: US Core QuestionnaireResponse Hunger Vital Sign Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"88123-5","display":"The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more."}],"text":"The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more."},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2020-09-10T21:56:54.671000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA28397-0","display":"Often true"}],"text":"Often true"},"derivedFrom":[{"reference":"QuestionnaireResponse/hunger-vital-sign-example","display":"US Core QuestionnaireResponse Hunger Vital Sign Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88124-3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88124-3.json new file mode 100644 index 00000000000..4282be076dc --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-item-example-88124-3.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"HVS-item-example-88124-3","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Hvs Item Example 88124-3"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Hvs Item Example 88124-3 (Food insecurity risk) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"HVS-item-example-88124-3\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Food insecurity risk (LOINC#88124-3 \"Food insecurity risk [HVS]\")

subject: Patient/example \" SHAW\"

effective: 2020-09-10 09:56:54+0000

performer: Patient/example \" SHAW\"

value: At risk (LOINC#LA19952-3)

derivedFrom: QuestionnaireResponse/hunger-vital-sign-example: US Core QuestionnaireResponse Hunger Vital Sign Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"88124-3","display":"Food insecurity risk [HVS]"}],"text":"Food insecurity risk"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2020-09-10T21:56:54.671000+00:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA19952-3","display":"At risk"}],"text":"At risk"},"derivedFrom":[{"reference":"QuestionnaireResponse/hunger-vital-sign-example","display":"US Core QuestionnaireResponse Hunger Vital Sign Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-panel-example-88121-9.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-panel-example-88121-9.json new file mode 100644 index 00000000000..d2335fc3af7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-HVS-panel-example-88121-9.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"HVS-panel-example-88121-9","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Hvs Panel Example 88121-9"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Hvs Panel Example 88121-9 (Hunger Vital Sign [HVS]) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"HVS-panel-example-88121-9\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Hunger Vital Sign [HVS] (LOINC#88121-9)

subject: Patient/example \" SHAW\"

effective: 2020-09-10 09:56:54+0000

performer: Patient/example \" SHAW\"

hasMember:

derivedFrom: QuestionnaireResponse/hunger-vital-sign-example: US Core QuestionnaireResponse Hunger Vital Sign Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"88121-9","display":"Hunger Vital Sign [HVS]"}],"text":"Hunger Vital Sign [HVS]"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2020-09-10T21:56:54.671000+00:00","performer":[{"reference":"Patient/example"}],"hasMember":[{"reference":"Observation/HVS-item-example-88122-7"},{"reference":"Observation/HVS-item-example-88123-5"},{"reference":"Observation/HVS-item-example-88124-3"}],"derivedFrom":[{"reference":"QuestionnaireResponse/hunger-vital-sign-example","display":"US Core QuestionnaireResponse Hunger Vital Sign Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-54899-0.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-54899-0.json new file mode 100644 index 00000000000..ad2096be9fd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-54899-0.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-54899-0","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 54899-0"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 54899-0 (Preferred language) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-54899-0\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Preferred language (LOINC#54899-0)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: English (LOINC#LA43-5)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"54899-0","display":"Preferred language"}],"text":"Preferred language"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA43-5","display":"English"}],"text":"English"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-56051-6.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-56051-6.json new file mode 100644 index 00000000000..936131096d9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-56051-6.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-56051-6","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 56051-6"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 56051-6 (Do you consider yourself Hispanic/Latino?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-56051-6\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Do you consider yourself Hispanic/Latino? (LOINC#56051-6)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"56051-6","display":"Do you consider yourself Hispanic/Latino?"}],"text":"Do you consider yourself Hispanic/Latino?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-56799-0.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-56799-0.json new file mode 100644 index 00000000000..565cbaa198a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-56799-0.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-56799-0","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 56799-0"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 56799-0 (Address) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-56799-0\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Address (LOINC#56799-0)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Broadway

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"56799-0","display":"Address"}],"text":"Address"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueString":"Broadway","derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-63512-8.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-63512-8.json new file mode 100644 index 00000000000..699ecdc81eb --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-63512-8.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-63512-8","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 63512-8"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 63512-8 (How many people are living or staying at this address?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-63512-8\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: How many people are living or staying at this address? (LOINC#63512-8)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: 6

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"63512-8","display":"How many people are living or staying at this address?"}],"text":"How many people are living or staying at this address?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueQuantity":{"value":6},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-63586-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-63586-2.json new file mode 100644 index 00000000000..7e82b62f9fe --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-63586-2.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-63586-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 63586-2"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 63586-2 (What was your best estimate of the total income of all family members from all sources, before taxes, in last year?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-63586-2\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: What was your best estimate of the total income of all family members from all sources, before taxes, in last year? (LOINC#63586-2)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: 25000

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"63586-2","display":"What was your best estimate of the total income of all family members from all sources, before taxes, in last year?"}],"text":"What was your best estimate of the total income of all family members from all sources, before taxes, in last year?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueString":"25000","derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-67875-5.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-67875-5.json new file mode 100644 index 00000000000..57fbe1fad6a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-67875-5.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-67875-5","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 67875-5"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 67875-5 (Employment status current) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-67875-5\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Employment status current (LOINC#67875-5)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Unemployed (LOINC#LA17956-6)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"67875-5","display":"Employment status current"}],"text":"Employment status current"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA17956-6","display":"Unemployed"}],"text":"Unemployed"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-71802-3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-71802-3.json new file mode 100644 index 00000000000..8a00d1e593d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-71802-3.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-71802-3","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 71802-3"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 71802-3 (Housing status) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-71802-3\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Housing status (LOINC#71802-3)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: I do not have housing (staying with others, in a hotel, in a shelter, living outside on the street, on a beach, in a car, or in a park) (LOINC#LA30190-5)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"71802-3","display":"Housing status"}],"text":"Housing status"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA30190-5","display":"I do not have housing (staying with others, in a hotel, in a shelter, living outside on the street, on a beach, in a car, or in a park)"}],"text":"I do not have housing (staying with others, in a hotel, in a shelter, living outside on the street, on a beach, in a car, or in a park)"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-76437-3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-76437-3.json new file mode 100644 index 00000000000..dc6ee82ff34 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-76437-3.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-76437-3","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 76437-3"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 76437-3 (Primary insurance) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-76437-3\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Primary insurance (LOINC#76437-3)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Medicaid (LOINC#LA17849-3)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"76437-3","display":"Primary insurance"}],"text":"Primary insurance"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA17849-3","display":"Medicaid"}],"text":"Medicaid"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-76501-6.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-76501-6.json new file mode 100644 index 00000000000..c7064d0b044 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-76501-6.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-76501-6","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 76501-6"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 76501-6 (Within the last year, have you been afraid of your partner or ex-partner?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-76501-6\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Within the last year, have you been afraid of your partner or ex-partner? (LOINC#76501-6)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"76501-6","display":"Within the last year, have you been afraid of your partner or ex-partner?"}],"text":"Within the last year, have you been afraid of your partner or ex-partner?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-82589-3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-82589-3.json new file mode 100644 index 00000000000..3222fe2ac9e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-82589-3.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-82589-3","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 82589-3"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 82589-3 (Highest level of educ) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-82589-3\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Highest level of educ (LOINC#82589-3)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Less than high school degree (LOINC#LA30191-3)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"82589-3","display":"Highest level of educ"}],"text":"Highest level of educ"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA30191-3","display":"Less than high school degree"}],"text":"Less than high school degree"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93026-3.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93026-3.json new file mode 100644 index 00000000000..be81e634540 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93026-3.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93026-3","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93026-3"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93026-3 (Do you feel physically and emotionally safe where you currently live?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93026-3\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Do you feel physically and emotionally safe where you currently live? (LOINC#93026-3)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93026-3","display":"Do you feel physically and emotionally safe where you currently live?"}],"text":"Do you feel physically and emotionally safe where you currently live?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93027-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93027-1.json new file mode 100644 index 00000000000..2281e3c5d5f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93027-1.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93027-1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93027-1"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93027-1 (Are you a refugee?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93027-1\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Are you a refugee? (LOINC#93027-1)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93027-1","display":"Are you a refugee?"}],"text":"Are you a refugee?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93028-9.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93028-9.json new file mode 100644 index 00000000000..1f9cebeed90 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93028-9.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93028-9","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93028-9"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93028-9 (In the past year, have you spent more than 2 nights in a row in a jail, prison, detention center, or juvenile correctional facility?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93028-9\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: In the past year, have you spent more than 2 nights in a row in a jail, prison, detention center, or juvenile correctional facility? (LOINC#93028-9)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93028-9","display":"In the past year, have you spent more than 2 nights in a row in a jail, prison, detention center, or juvenile correctional facility?"}],"text":"In the past year, have you spent more than 2 nights in a row in a jail, prison, detention center, or juvenile correctional facility?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93029-7.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93029-7.json new file mode 100644 index 00000000000..cb1bf81faeb --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93029-7.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93029-7","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93029-7"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93029-7 (How often do you see or talk to people that you care about and feel close to (For example: talking to friends on the phone, visiting friends or family, going to church or club meetings)?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93029-7\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: How often do you see or talk to people that you care about and feel close to (For example: talking to friends on the phone, visiting friends or family, going to church or club meetings)? (LOINC#93029-7)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: 1 or 2 times a week (LOINC#LA30130-1)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93029-7","display":"How often do you see or talk to people that you care about and feel close to (For example: talking to friends on the phone, visiting friends or family, going to church or club meetings)?"}],"text":"How often do you see or talk to people that you care about and feel close to (For example: talking to friends on the phone, visiting friends or family, going to church or club meetings)?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA30130-1","display":"1 or 2 times a week"}],"text":"1 or 2 times a week"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93030-5.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93030-5.json new file mode 100644 index 00000000000..ce246d047c4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93030-5.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93030-5","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93030-5"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93030-5 (Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93030-5\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living? (LOINC#93030-5 \"Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living\")

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Yes, it has kept me from non-medical meetings, appointments, work, or from getting things that I need (LOINC#LA30134-3)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93030-5","display":"Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living"}],"text":"Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA30134-3","display":"Yes, it has kept me from non-medical meetings, appointments, work, or from getting things that I need"}],"text":"Yes, it has kept me from non-medical meetings, appointments, work, or from getting things that I need"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93033-9.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93033-9.json new file mode 100644 index 00000000000..01743be89b1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93033-9.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93033-9","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93033-9"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93033-9 (Are you worried about losing your housing?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93033-9\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Are you worried about losing your housing? (LOINC#93033-9)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: I choose not to answer this question (LOINC#LA30122-8)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93033-9","display":"Are you worried about losing your housing?"}],"text":"Are you worried about losing your housing?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA30122-8","display":"I choose not to answer this question"}],"text":"I choose not to answer this question"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93034-7.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93034-7.json new file mode 100644 index 00000000000..a5ebe106246 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93034-7.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93034-7","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93034-7"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93034-7 (Have you been discharged from the armed forces of the United States?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93034-7\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Have you been discharged from the armed forces of the United States? (LOINC#93034-7)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: No (LOINC#LA32-8)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93034-7","display":"Have you been discharged from the armed forces of the United States?"}],"text":"Have you been discharged from the armed forces of the United States?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA32-8","display":"No"}],"text":"No"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93035-4.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93035-4.json new file mode 100644 index 00000000000..051b5dc5b50 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93035-4.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93035-4","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93035-4"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93035-4 (At any point in the past 2 years, has season or migrant farm work been your or your family's main source of income?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93035-4\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: At any point in the past 2 years, has season or migrant farm work been your or your family's main source of income? (LOINC#93035-4)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Yes (LOINC#LA33-6)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93035-4","display":"At any point in the past 2 years, has season or migrant farm work been your or your family's main source of income?"}],"text":"At any point in the past 2 years, has season or migrant farm work been your or your family's main source of income?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA33-6","display":"Yes"}],"text":"Yes"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93038-8.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93038-8.json new file mode 100644 index 00000000000..3bb62660fc2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-item-example-93038-8.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-item-example-93038-8","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Item Example 93038-8"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Item Example 93038-8 (Stress is when someone feels tense, nervous, anxious or can't sleep at night because their mind is troubled. How stressed are you?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-item-example-93038-8\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Stress level (LOINC#93038-8)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Somewhat (LOINC#LA13909-9)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93038-8","display":"Stress level"}],"text":"Stress level"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA13909-9","display":"Somewhat"}],"text":"Somewhat"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-32624-9-answer0.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-32624-9-answer0.json new file mode 100644 index 00000000000..dd1e8e8fdb2 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-32624-9-answer0.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-multiselect-item-example-32624-9-answer0","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Multiselect-Item Example 32624-9-Answer0"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Multiselect-Item Example 32624-9-Answer0 (Race) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-multiselect-item-example-32624-9-answer0\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Race (LOINC#32624-9)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: White (LOINC#LA4457-3)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"32624-9","display":"Race"}],"text":"Race"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA4457-3","display":"White"}],"text":"White"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-32624-9-answer1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-32624-9-answer1.json new file mode 100644 index 00000000000..0a4fc7ec663 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-32624-9-answer1.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-multiselect-item-example-32624-9-answer1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Multiselect-Item Example 32624-9-Answer1"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Multiselect-Item Example 32624-9-Answer1 (Race) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-multiselect-item-example-32624-9-answer1\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Race (LOINC#32624-9)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Pacific Islander (LOINC#LA30187-1)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"32624-9","display":"Race"}],"text":"Race"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA30187-1","display":"Pacific Islander"}],"text":"Pacific Islander"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-93031-3-answer0.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-93031-3-answer0.json new file mode 100644 index 00000000000..096a7f94e31 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-93031-3-answer0.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-multiselect-item-example-93031-3-answer0","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Multiselect-Item Example 93031-3-Answer0"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Multiselect-Item Example 93031-3-Answer0 (In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-multiselect-item-example-93031-3-answer0\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: In the past year, have you or any family members you live with been unable to get any of the following when it was really needed? (LOINC#93031-3)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Clothing (LOINC#LA30126-9)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93031-3","display":"In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?"}],"text":"In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA30126-9","display":"Clothing"}],"text":"Clothing"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-93031-3-answer1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-93031-3-answer1.json new file mode 100644 index 00000000000..5a2961c1e50 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-multiselect-item-example-93031-3-answer1.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-multiselect-item-example-93031-3-answer1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Multiselect-Item Example 93031-3-Answer1"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Multiselect-Item Example 93031-3-Answer1 (In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-multiselect-item-example-93031-3-answer1\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: In the past year, have you or any family members you live with been unable to get any of the following when it was really needed? (LOINC#93031-3)

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

value: Child care (LOINC#LA30127-7)

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93031-3","display":"In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?"}],"text":"In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA30127-7","display":"Child care"}],"text":"Child care"},"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93025-5.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93025-5.json new file mode 100644 index 00000000000..f3d6cdb643f --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93025-5.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-panel-example-93025-5","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Panel Example 93025-5"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Panel Example 93025-5 (Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences [PRAPARE]) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-panel-example-93025-5\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences (LOINC#93025-5 \"Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences [PRAPARE]\")

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

hasMember:

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93025-5","display":"Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences [PRAPARE]"}],"text":"Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"hasMember":[{"reference":"Observation/PRAPARE-panel-example-93043-8"},{"reference":"Observation/PRAPARE-panel-example-93042-0"},{"reference":"Observation/PRAPARE-panel-example-93041-2"},{"reference":"Observation/PRAPARE-panel-example-93040-4"},{"reference":"Observation/PRAPARE-panel-example-93039-6"}],"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93039-6.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93039-6.json new file mode 100644 index 00000000000..f65fe057ed3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93039-6.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-panel-example-93039-6","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Panel Example 93039-6"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Panel Example 93039-6 (Optional additional questions) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-panel-example-93039-6\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Optional additional questions (LOINC#93039-6 \"Optional additional questions [PRAPARE]\")

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

hasMember:

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93039-6","display":"Optional additional questions [PRAPARE]"}],"text":"Optional additional questions"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"hasMember":[{"reference":"Observation/PRAPARE-item-example-93028-9"},{"reference":"Observation/PRAPARE-item-example-93027-1"},{"reference":"Observation/PRAPARE-item-example-93026-3"},{"reference":"Observation/PRAPARE-item-example-76501-6"}],"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93040-4.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93040-4.json new file mode 100644 index 00000000000..5feaa972645 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93040-4.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-panel-example-93040-4","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Panel Example 93040-4"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Panel Example 93040-4 (Social and emotional health) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-panel-example-93040-4\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Social and emotional health (LOINC#93040-4 \"Social and emotional health [PRAPARE]\")

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

hasMember:

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93040-4","display":"Social and emotional health [PRAPARE]"}],"text":"Social and emotional health"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"hasMember":[{"reference":"Observation/PRAPARE-item-example-93029-7"},{"reference":"Observation/PRAPARE-item-example-93038-8"}],"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93041-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93041-2.json new file mode 100644 index 00000000000..e527666ded3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93041-2.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-panel-example-93041-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Panel Example 93041-2"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Panel Example 93041-2 (Money and resources) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-panel-example-93041-2\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Money and resources (LOINC#93041-2 \"Money and resources [PRAPARE]\")

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

hasMember:

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93041-2","display":"Money and resources [PRAPARE]"}],"text":"Money and resources"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"hasMember":[{"reference":"Observation/PRAPARE-item-example-82589-3"},{"reference":"Observation/PRAPARE-item-example-67875-5"},{"reference":"Observation/PRAPARE-item-example-76437-3"},{"reference":"Observation/PRAPARE-item-example-63586-2"},{"reference":"Observation/PRAPARE-multiselect-item-example-93031-3-answer0"},{"reference":"Observation/PRAPARE-multiselect-item-example-93031-3-answer1"},{"reference":"Observation/PRAPARE-item-example-93030-5"}],"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93042-0.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93042-0.json new file mode 100644 index 00000000000..1f75501f322 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93042-0.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-panel-example-93042-0","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Prapare Panel Example 93042-0"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Panel Example 93042-0 (Family and home) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"PRAPARE-panel-example-93042-0\"

Profile: US Core Observation SDOH Assessment Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Survey (Observation Category Codes#survey)

code: Family and home (LOINC#93042-0 \"Family and home [PRAPARE]\")

subject: Patient/example \" SHAW\"

effective: 2022-03-28 06:30:40-0700

performer: Patient/example \" SHAW\"

hasMember:

derivedFrom: QuestionnaireResponse/PRAPARE-example: US Core QuestionnaireResponse PRAPARE Example

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93042-0","display":"Family and home [PRAPARE]"}],"text":"Family and home"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"hasMember":[{"reference":"Observation/PRAPARE-item-example-63512-8"},{"reference":"Observation/PRAPARE-item-example-71802-3"},{"reference":"Observation/PRAPARE-item-example-93033-9"},{"reference":"Observation/PRAPARE-item-example-56799-0"}],"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93043-8.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93043-8.json new file mode 100644 index 00000000000..64ab17476eb --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-PRAPARE-panel-example-93043-8.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"PRAPARE-panel-example-93043-8","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"PRAPARE Panel Example 93043-8"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Prapare Panel Example 93043-8 (Personal characteristics) for the *US Core Screening Response Observation Profile*"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sdoh-assessment"]},"text":{"status":"generated","div":""},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"survey","display":"Survey"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"93043-8","display":"Personal characteristics [PRAPARE]"}],"text":"Personal characteristics"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2022-03-28T18:30:40-07:00","performer":[{"reference":"Patient/example"}],"hasMember":[{"reference":"Observation/PRAPARE-item-example-56051-6"},{"reference":"Observation/PRAPARE-multiselect-item-example-32624-9-answer0"},{"reference":"Observation/PRAPARE-multiselect-item-example-32624-9-answer1"},{"reference":"Observation/PRAPARE-item-example-93035-4"},{"reference":"Observation/PRAPARE-item-example-93034-7"},{"reference":"Observation/PRAPARE-item-example-54899-0"}],"derivedFrom":[{"reference":"QuestionnaireResponse/PRAPARE-example","display":"US Core QuestionnaireResponse PRAPARE Example"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-blood-glucose.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-blood-glucose.json new file mode 100644 index 00000000000..710146acacb --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-blood-glucose.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"blood-glucose","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Blood Glucose Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a blood glucose example for the *US Core Observation Lab Profile*."}],"versionId":"1165","lastUpdated":"2016-03-09T15:29:58.328+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"blood-glucose\" Version \"1165\" Updated \"2016-03-09 03:29:58+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Glucose Bld-mCnc (LOINC#2339-0)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 76.0 mg/dL

ReferenceRanges

-LowHighType
*40.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')109.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"2339-0","display":"Glucose Bld-mCnc"}],"text":"Glucose Bld-mCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":76.0,"unit":"mg/dL","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":40.0,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"high":{"value":109.0,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-blood-pressure.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-blood-pressure.json new file mode 100644 index 00000000000..d8983f47116 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-blood-pressure.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"blood-pressure","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Blood Pressure Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a blood pressure example for the *Vitalsigns Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"blood-pressure\"

Profile: US Core Blood Pressure Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: Blood pressure systolic and diastolic (LOINC#85354-9 \"Blood pressure panel with all children optional\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

component

code: Systolic blood pressure (LOINC#8480-6)

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (LOINC#8462-4)

value: 44 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"85354-9","display":"Blood pressure panel with all children optional"}],"text":"Blood pressure systolic and diastolic"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","component":[{"code":{"coding":[{"system":"http://loinc.org","code":"8480-6","display":"Systolic blood pressure"}],"text":"Systolic blood pressure"},"valueQuantity":{"value":109,"unit":"mmHg","system":"http://unitsofmeasure.org","code":"mm[Hg]"}},{"code":{"coding":[{"system":"http://loinc.org","code":"8462-4","display":"Diastolic blood pressure"}],"text":"Diastolic blood pressure"},"valueQuantity":{"value":44,"unit":"mmHg","system":"http://unitsofmeasure.org","code":"mm[Hg]"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bmi.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bmi.json new file mode 100644 index 00000000000..add83d67138 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bmi.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"bmi","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"BMI Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a BMI example for the *Vitalsigns Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-bmi"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"bmi\"

Profile: US Core BMI Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: BMI (LOINC#39156-5 \"Body mass index (BMI) [Ratio]\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

value: 16.2 kg/m2 (Details: UCUM code kg/m2 = 'kg/m2')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"39156-5","display":"Body mass index (BMI) [Ratio]"}],"text":"BMI"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","valueQuantity":{"value":16.2,"unit":"kg/m2","system":"http://unitsofmeasure.org","code":"kg/m2"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bp-data-absent.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bp-data-absent.json new file mode 100644 index 00000000000..d9ef461570a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bp-data-absent.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"bp-data-absent","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"BP Data Absent Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a bp data absent example for the *Vitalsigns Profile* showing how to reprsesent blood pressure with a missing diastolic measurement."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"bp-data-absent\"

Profile: US Core Blood Pressure Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: Blood pressure systolic and diastolic (LOINC#85354-9 \"Blood pressure panel with all children optional\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: Encounter/1036

effective: 1999-07-02

component

code: Systolic blood pressure (LOINC#8480-6)

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (LOINC#8462-4)

dataAbsentReason: Unknown (DataAbsentReason#unknown)

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"85354-9","display":"Blood pressure panel with all children optional"}],"text":"Blood pressure systolic and diastolic"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"reference":"Encounter/1036"},"effectiveDateTime":"1999-07-02","component":[{"code":{"coding":[{"system":"http://loinc.org","code":"8480-6","display":"Systolic blood pressure"}],"text":"Systolic blood pressure"},"valueQuantity":{"value":109,"unit":"mmHg","system":"http://unitsofmeasure.org","code":"mm[Hg]"}},{"code":{"coding":[{"system":"http://loinc.org","code":"8462-4","display":"Diastolic blood pressure"}],"text":"Diastolic blood pressure"},"dataAbsentReason":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/data-absent-reason","code":"unknown","display":"Unknown"}],"text":"Unknown"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bun.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bun.json new file mode 100644 index 00000000000..a608ea4264b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-bun.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"bun","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"BUN Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a BUN example for the *US Core Observation Lab Profile*."}],"versionId":"1237","lastUpdated":"2016-03-09T15:29:58.597+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"bun\" Version \"1237\" Updated \"2016-03-09 03:29:58+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: BUN SerPl-mCnc (LOINC#3094-0)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 10.0 mg/dL

ReferenceRanges

-LowHighType
*5.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')20.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"3094-0","display":"BUN SerPl-mCnc"}],"text":"BUN SerPl-mCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":10.0,"unit":"mg/dL","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":5.0,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"high":{"value":20.0,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-capillary-refill-time-nail-bed.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-capillary-refill-time-nail-bed.json new file mode 100644 index 00000000000..fd1748905d4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-capillary-refill-time-nail-bed.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"capillary-refill-time-nail-bed","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Capillary refill Time Nail Bed Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Capillary refill Time Nail Bed Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"capillary-refill-time-nail-bed\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: Capillary refill Time Nail Bed (LOINC#44963-7)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: 1 s (Details: UCUM code s = 's')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"44963-7","display":"Capillary refill Time Nail Bed"}],"text":"Capillary refill Time Nail Bed"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueQuantity":{"value":1,"unit":"s","system":"http://unitsofmeasure.org","code":"s"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-armass-bmd.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-armass-bmd.json new file mode 100644 index 00000000000..1f591541777 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-armass-bmd.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"dxa-femur-l-armass-bmd","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DXA Femur-L ArMass BMD Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DXA Femur-L ArMass BMD Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"dxa-femur-l-armass-bmd\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: DXA Femur-L ArMass BMD (LOINC#80954-1)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Bone Scan

effective: 2021-11-10 07:14:41-0800

value: 0.631 g/cm2 (Details: UCUM code g/cm2 = 'g/cm2')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"80954-1","display":"DXA Femur-L ArMass BMD"}],"text":"DXA Femur-L ArMass BMD"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Bone Scan"},"effectiveDateTime":"2021-11-10T19:14:41.088720-08:00","valueQuantity":{"value":0.631,"unit":"g/cm2","system":"http://unitsofmeasure.org","code":"g/cm2"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-t-score-bmd.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-t-score-bmd.json new file mode 100644 index 00000000000..8372ec1b3be --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-t-score-bmd.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"dxa-femur-l-t-score-bmd","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DXA Femur-L T-score BMD Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DXA Femur-L T-score BMD Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"dxa-femur-l-t-score-bmd\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: DXA Femur-L T-score BMD (LOINC#80948-3)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Bone Scan

effective: 2021-11-10 07:14:41-0800

value: -1.48 T-Score (Details: UCUM code {T-Score} = '{T-Score}')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"80948-3","display":"DXA Femur-L T-score BMD"}],"text":"DXA Femur-L T-score BMD"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Bone Scan"},"effectiveDateTime":"2021-11-10T19:14:41.088720-08:00","valueQuantity":{"value":-1.48,"unit":"T-Score","system":"http://unitsofmeasure.org","code":"{T-Score}"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-z-score-bmd.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-z-score-bmd.json new file mode 100644 index 00000000000..ca0220daa0a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-femur-l-z-score-bmd.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"dxa-femur-l-z-score-bmd","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DXA Femur-L Z-score BMD Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DXA Femur-L Z-score BMD Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"dxa-femur-l-z-score-bmd\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: DXA Femur-L Z-score BMD (LOINC#80940-0)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Bone Scan

effective: 2021-11-10 07:14:41-0800

value: 0.05 Z-Score (Details: UCUM code {Z-Score} = '{Z-Score}')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"80940-0","display":"DXA Femur-L Z-score BMD"}],"text":"DXA Femur-L Z-score BMD"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Bone Scan"},"effectiveDateTime":"2021-11-10T19:14:41.088720-08:00","valueQuantity":{"value":0.05,"unit":"Z-Score","system":"http://unitsofmeasure.org","code":"{Z-Score}"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-armass-bmd.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-armass-bmd.json new file mode 100644 index 00000000000..83126025d82 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-armass-bmd.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"dxa-hip-l-armass-bmd","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DXA Hip-L ArMass BMD Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DXA Hip-L ArMass BMD Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"dxa-hip-l-armass-bmd\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: DXA Hip-L ArMass BMD (LOINC#46278-8)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Bone Scan

effective: 2021-11-10 07:14:41-0800

value: 0.734 g/cm2 (Details: UCUM code g/cm2 = 'g/cm2')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"46278-8","display":"DXA Hip-L ArMass BMD"}],"text":"DXA Hip-L ArMass BMD"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Bone Scan"},"effectiveDateTime":"2021-11-10T19:14:41.088720-08:00","valueQuantity":{"value":0.734,"unit":"g/cm2","system":"http://unitsofmeasure.org","code":"g/cm2"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-t-score-bmd.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-t-score-bmd.json new file mode 100644 index 00000000000..e6c9e3cf2fd --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-t-score-bmd.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"dxa-hip-l-t-score-bmd","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DXA Hip-L T-score BMD Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DXA Hip-L T-score BMD Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"dxa-hip-l-t-score-bmd\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: DXA Hip-L T-score BMD (LOINC#80946-7)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Bone Scan

effective: 2021-11-10 07:14:41-0800

value: -1.62 T-Score (Details: UCUM code {T-Score} = '{T-Score}')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"80946-7","display":"DXA Hip-L T-score BMD"}],"text":"DXA Hip-L T-score BMD"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Bone Scan"},"effectiveDateTime":"2021-11-10T19:14:41.088720-08:00","valueQuantity":{"value":-1.62,"unit":"T-Score","system":"http://unitsofmeasure.org","code":"{T-Score}"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-z-score-bmd.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-z-score-bmd.json new file mode 100644 index 00000000000..5ed5a34a57d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-dxa-hip-l-z-score-bmd.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"dxa-hip-l-z-score-bmd","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"DXA Hip-L Z-score BMD Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a DXA Hip-L Z-score BMD Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"dxa-hip-l-z-score-bmd\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: DXA Hip-L Z-score BMD (LOINC#80938-4)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Bone Scan

effective: 2021-11-10 07:14:41-0800

value: -0.19 Z-Score (Details: UCUM code {Z-Score} = '{Z-Score}')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"80938-4","display":"DXA Hip-L Z-score BMD"}],"text":"DXA Hip-L Z-score BMD"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Bone Scan"},"effectiveDateTime":"2021-11-10T19:14:41.088720-08:00","valueQuantity":{"value":-0.19,"unit":"Z-Score","system":"http://unitsofmeasure.org","code":"{Z-Score}"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ekg-impression.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ekg-impression.json new file mode 100644 index 00000000000..1063d4a950c --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ekg-impression.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"ekg-impression","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"EKG impression Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a EKG impression Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"ekg-impression\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: EKG impression (LOINC#8601-7)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: Normal Sinus Rhythm (NSR)

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"8601-7","display":"EKG impression"}],"text":"EKG impression"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueString":"Normal Sinus Rhythm (NSR)"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ekg-lead.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ekg-lead.json new file mode 100644 index 00000000000..454567cea4d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ekg-lead.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"ekg-lead","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"EKG lead Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a EKG lead Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: EKG lead (LOINC#44967-8)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: II

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"44967-8","display":"EKG lead"}],"text":"EKG lead"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueString":"II"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-erythrocytes.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-erythrocytes.json new file mode 100644 index 00000000000..08561f118e7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-erythrocytes.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"erythrocytes","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Erythrocytes Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a erythrocytes example for the *US Core Observation Lab Profile*."}],"versionId":"1189","lastUpdated":"2016-03-09T15:29:58.419+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"erythrocytes\" Version \"1189\" Updated \"2016-03-09 03:29:58+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: RBC # Bld Auto (LOINC#789-8)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 4.58 10*6/uL

ReferenceRanges

-LowHighType
*4.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')6.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"789-8","display":"RBC # Bld Auto"}],"text":"RBC # Bld Auto"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":4.58,"unit":"10*6/uL","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":4.1,"unit":"10*6/uL","system":"http://unitsofmeasure.org","code":"10*6/uL"},"high":{"value":6.1,"unit":"10*6/uL","system":"http://unitsofmeasure.org","code":"10*6/uL"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-head-circumference.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-head-circumference.json new file mode 100644 index 00000000000..ca951a2b3d7 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-head-circumference.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"head-circumference","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Head Circumference Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a head circumference example for the *US Core Head Circumference Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-head-circumference"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"head-circumference\"

Profile: US Core Head Circumference Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: Head Circumference (LOINC#9843-4 \"Head Occipital-frontal circumference\")

subject: Patient/infant-example \" EXAMPLE\"

effective: 2020-11-18 04:19:31-0800

value: 51.2 cm (Details: UCUM code cm = 'cm')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"9843-4","display":"Head Occipital-frontal circumference"}],"text":"Head Circumference"},"subject":{"reference":"Patient/infant-example"},"effectiveDateTime":"2020-11-18T16:19:31-08:00","valueQuantity":{"value":51.2,"unit":"cm","system":"http://unitsofmeasure.org","code":"cm"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-heart-rate-rhythm.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-heart-rate-rhythm.json new file mode 100644 index 00000000000..697934c1a93 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-heart-rate-rhythm.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"heart-rate-rhythm","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Heart rate rhythm Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Heart rate rhythm Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"heart-rate-rhythm\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: Heart rate rhythm (LOINC#8884-9)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: Regular (R)

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"8884-9","display":"Heart rate rhythm"}],"text":"Heart rate rhythm"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueString":"Regular (R)"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-heart-rate.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-heart-rate.json new file mode 100644 index 00000000000..343999642e6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-heart-rate.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"heart-rate","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Heart Rate Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a heart rate example for the *Vitalsigns Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"heart-rate\"

Profile: US Core Heart Rate Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: heart_rate (LOINC#8867-4 \"Heart Rate\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

value: 44.0 beats/min (Details: UCUM code /min = '/min')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"8867-4","display":"Heart Rate"}],"text":"heart_rate"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","valueQuantity":{"value":44.0,"unit":"beats/min","system":"http://unitsofmeasure.org","code":"/min"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-height.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-height.json new file mode 100644 index 00000000000..320ccedddf8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-height.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"height","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Height Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a height example for the *Vitalsigns Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"height\"

Profile: US Core Body Height Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: height (LOINC#8302-2 \"Body height\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

value: 111.506 cm (Details: UCUM code cm = 'cm')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"8302-2","display":"Body height"}],"text":"height"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","valueQuantity":{"value":111.506,"unit":"cm","system":"http://unitsofmeasure.org","code":"cm"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-hemoglobin.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-hemoglobin.json new file mode 100644 index 00000000000..cbc0e627315 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-hemoglobin.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"hemoglobin","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Hemoglobin Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a hemoglobin example for the *US Core Observation Lab Profile*."}],"versionId":"1046","lastUpdated":"2016-03-09T15:29:57.818+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"hemoglobin\" Version \"1046\" Updated \"2016-03-09 03:29:57+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Hgb Bld-mCnc (LOINC#718-7)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 17.0 g/dL

ReferenceRanges

-LowHighType
*16.5 g/dL (Details: UCUM code g/dL = 'g/dL')21.5 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"718-7","display":"Hgb Bld-mCnc"}],"text":"Hgb Bld-mCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":17.0,"unit":"g/dL","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":16.5,"unit":"g/dL","system":"http://unitsofmeasure.org","code":"g/dL"},"high":{"value":21.5,"unit":"g/dL","system":"http://unitsofmeasure.org","code":"g/dL"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-jugular-vein-distension.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-jugular-vein-distension.json new file mode 100644 index 00000000000..2cf5dbc6e68 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-jugular-vein-distension.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"jugular-vein-distension","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Jugular vein distension Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Jugular vein distension Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"jugular-vein-distension\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: Jugular vein distension (LOINC#69428-1)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: Absent (LOINC#LA9634-2)

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"69428-1","display":"Jugular vein distension"}],"text":"Jugular vein distension"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA9634-2","display":"Absent"}],"text":"Absent"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-length.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-length.json new file mode 100644 index 00000000000..1924bd745a1 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-length.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"length","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Length Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a length example for the *Vitalsigns Profile* which shows how body length (typically used for infants) is represented using 8306-3 -*Body height - lying* as an additional observation code."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-height"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"length\"

Profile: US Core Body Height Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: length (LOINC#8306-3 \"Body height --lying\"; LOINC#8302-2 \"Body height\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

value: 25 cm (Details: UCUM code cm = 'cm')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"8306-3","display":"Body height --lying"},{"system":"http://loinc.org","code":"8302-2","display":"Body height"}],"text":"length"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","valueQuantity":{"value":25,"unit":"cm","system":"http://unitsofmeasure.org","code":"cm"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-mchc.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-mchc.json new file mode 100644 index 00000000000..484adefbfbf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-mchc.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"mchc","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"MCHC Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a MCHC example for the *US Core Observation Lab Profile*."}],"versionId":"879","lastUpdated":"2016-03-09T15:29:57.124+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"mchc\" Version \"879\" Updated \"2016-03-09 03:29:57+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: MCHC RBC Auto-mCnc (LOINC#786-4)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 34.7 g/dL

ReferenceRanges

-LowHighType
*30.0 g/dL (Details: UCUM code g/dL = 'g/dL')34.0 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"786-4","display":"MCHC RBC Auto-mCnc"}],"text":"MCHC RBC Auto-mCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":34.7,"unit":"g/dL","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":30.0,"unit":"g/dL","system":"http://unitsofmeasure.org","code":"g/dL"},"high":{"value":34.0,"unit":"g/dL","system":"http://unitsofmeasure.org","code":"g/dL"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-neutrophils.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-neutrophils.json new file mode 100644 index 00000000000..5938cd5191e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-neutrophils.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"neutrophils","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Neutrophils Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a neutrophils example for the *US Core Observation Lab Profile*."}],"versionId":"1106","lastUpdated":"2016-03-09T15:29:58.052+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"neutrophils\" Version \"1106\" Updated \"2016-03-09 03:29:58+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Neutrophils % (LOINC#770-8 \"Neutrophils/100 leukocytes in Blood by Automated count\")

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 40.0 %

ReferenceRanges

-LowHighType
*37.0 % (Details: UCUM code % = '%')67.0 % (Details: UCUM code % = '%')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"770-8","display":"Neutrophils/100 leukocytes in Blood by Automated count"}],"text":"Neutrophils %"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":40.0,"unit":"%","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":37.0,"unit":"%","system":"http://unitsofmeasure.org","code":"%"},"high":{"value":67.0,"unit":"%","system":"http://unitsofmeasure.org","code":"%"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ofc-percentile.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ofc-percentile.json new file mode 100644 index 00000000000..55550422055 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-ofc-percentile.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"ofc-percentile","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"OFC Percentile Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a OFC percentile example for the *Head Occipital Frontal Circumference Percentile Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/head-occipital-frontal-circumference-percentile"]},"text":{"status":"generated","div":"

Generated Narrative

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: Head Occipital-frontal circumference Percentile (LOINC#8289-1)

subject: Patient/infant-example: Infant Example \" EXAMPLE\"

effective: 2020-07-01

value: 82 % (Details: UCUM code % = '%')

note: WHO Males, 0-2 years Chart

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"8289-1","display":"Head Occipital-frontal circumference Percentile"}],"text":"Head Occipital-frontal circumference Percentile"},"subject":{"reference":"Patient/infant-example","display":"Infant Example"},"effectiveDateTime":"2020-07-01","valueQuantity":{"value":82,"unit":"%","system":"http://unitsofmeasure.org","code":"%"},"note":[{"text":"WHO Males, 0-2 years Chart"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-oxygen-saturation.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-oxygen-saturation.json new file mode 100644 index 00000000000..f6de532a49a --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-oxygen-saturation.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"oxygen-saturation","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Oxygen Saturation Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a typical oxygen saturation example for the *US Core Pulse Oximetry Profile* on room air where no oxygen concentration is recorded."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"oxygen-saturation\"

Profile: US Core Pulse Oximetry Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: oxygen_saturation (LOINC#2708-6 \"Oxygen saturation in Arterial blood\"; LOINC#59408-5 \"Oxygen saturation in Arterial blood by Pulse oximetry\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

value: 99.0 %O2 (Details: UCUM code % = '%')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"2708-6","display":"Oxygen saturation in Arterial blood"},{"system":"http://loinc.org","code":"59408-5","display":"Oxygen saturation in Arterial blood by Pulse oximetry"}],"text":"oxygen_saturation"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","valueQuantity":{"value":99.0,"unit":"%O2","system":"http://unitsofmeasure.org","code":"%"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-p-r-interval-ekg-lead.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-p-r-interval-ekg-lead.json new file mode 100644 index 00000000000..a37fe718af3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-p-r-interval-ekg-lead.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"p-r-interval-ekg-lead","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"P-R interval {EKG lead} Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a P-R interval {EKG lead} Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"p-r-interval-ekg-lead\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: P-R interval {EKG lead} (LOINC#44976-9)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: 0.2 s (Details: UCUM code s = 's')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"44976-9","display":"P-R interval {EKG lead}"}],"text":"P-R interval {EKG lead}"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueQuantity":{"value":0.2,"unit":"s","system":"http://unitsofmeasure.org","code":"s"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pediatric-bmi-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pediatric-bmi-example.json new file mode 100644 index 00000000000..59e9a07ecef --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pediatric-bmi-example.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"pediatric-bmi-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Pediatric BMI Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a pediatric BMI example for the *Pediatric BMI For Age Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"pediatric-bmi-example\"

Profile: US Core Pediatric BMI for Age Observation Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: BMI (LOINC#59576-9 \"Body mass index (BMI) [Percentile] Per age and sex\")

subject: Patient/child-example: Child Example \" EXAMPLE\"

encounter: : GP Visit

effective: 2019-05-04 12:12:29-0700

value: 65 % (Details: UCUM code % = '%')

note: CDC Males, 2-20 years Chart

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"59576-9","display":"Body mass index (BMI) [Percentile] Per age and sex"}],"text":"BMI"},"subject":{"reference":"Patient/child-example","display":"Child Example"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"2019-05-04T12:12:29-07:00","valueQuantity":{"value":65,"unit":"%","system":"http://unitsofmeasure.org","code":"%"},"note":[{"text":"CDC Males, 2-20 years Chart"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pediatric-wt-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pediatric-wt-example.json new file mode 100644 index 00000000000..7a62152e87e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pediatric-wt-example.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"pediatric-wt-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Pediatric Wt Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a pediatric wt example for the *Pediatric Weight For Height Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"pediatric-wt-example\"

Profile: US Core Pediatric Weight for Height Observation Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: BMI (LOINC#77606-2 \"Weight-for-length Per age and sex\")

subject: Patient/infant-example: Infant Example \" EXAMPLE\"

encounter: : GP Visit

effective: 2020-07-02

value: 65 % (Details: UCUM code % = '%')

note: WHO Males, 0-2 years Chart

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"77606-2","display":"Weight-for-length Per age and sex"}],"text":"BMI"},"subject":{"reference":"Patient/infant-example","display":"Infant Example"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"2020-07-02","valueQuantity":{"value":65,"unit":"%","system":"http://unitsofmeasure.org","code":"%"},"note":[{"text":"WHO Males, 0-2 years Chart"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pulse-intensity-palpation.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pulse-intensity-palpation.json new file mode 100644 index 00000000000..e52505f02e9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-pulse-intensity-palpation.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"pulse-intensity-palpation","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Pulse intensity Palpation Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Pulse intensity Palpation Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"pulse-intensity-palpation\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: Pulse intensity Palpation (LOINC#44974-4)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: 1+ (LOINC#LA11841-6)

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"44974-4","display":"Pulse intensity Palpation"}],"text":"Pulse intensity Palpation"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueCodeableConcept":{"coding":[{"system":"http://loinc.org","code":"LA11841-6","display":"1+"}],"text":"1+"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-q-t-interval-ekg-lead.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-q-t-interval-ekg-lead.json new file mode 100644 index 00000000000..81e0ced6b01 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-q-t-interval-ekg-lead.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"q-t-interval-ekg-lead","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Q-T interval {EKG lead} Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Q-T interval {EKG lead} Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"q-t-interval-ekg-lead\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: Q-T interval {EKG lead} (LOINC#44975-1)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: 0.4 s (Details: UCUM code s = 's')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"44975-1","display":"Q-T interval {EKG lead}"}],"text":"Q-T interval {EKG lead}"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueQuantity":{"value":0.4,"unit":"s","system":"http://unitsofmeasure.org","code":"s"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-qrs-dur-ekg-lead.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-qrs-dur-ekg-lead.json new file mode 100644 index 00000000000..dbb2ed64a28 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-qrs-dur-ekg-lead.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"qrs-dur-ekg-lead","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"QRS dur {EKG lead} Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a QRS dur {EKG lead} Example for the *Clinical Test Result Observation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-test"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"qrs-dur-ekg-lead\"

Profile: US Core Observation Clinical Test Result Profile

status: final

category: Clinical Test (US Core Observation Category Extension Codes#clinical-test)

code: QRS dur {EKG lead} (LOINC#44973-6)

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : Cardiology Consult

effective: 2021-11-10 04:48:57-0800

value: 60 ms (Details: UCUM code ms = 'ms')

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-observation-category","code":"clinical-test","display":"Clinical Test"}],"text":"Clinical Test"}],"code":{"coding":[{"system":"http://loinc.org","code":"44973-6","display":"QRS dur {EKG lead}"}],"text":"QRS dur {EKG lead}"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"Cardiology Consult"},"effectiveDateTime":"2021-11-10T16:48:57.246958-08:00","valueQuantity":{"value":60,"unit":"ms","system":"http://unitsofmeasure.org","code":"ms"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-respiratory-rate.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-respiratory-rate.json new file mode 100644 index 00000000000..c2fd018ea42 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-respiratory-rate.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"respiratory-rate","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Respiratory Rate Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a respiratory rate example for the *Vitalsigns Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"respiratory-rate\"

Profile: US Core Respiratory Rate Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: respiratory_rate (LOINC#9279-1 \"Respiratory rate\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

value: 26.0 breaths per minute (Details: UCUM code /min = '/min')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"9279-1","display":"Respiratory rate"}],"text":"respiratory_rate"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","valueQuantity":{"value":26.0,"unit":"breaths per minute","system":"http://unitsofmeasure.org","code":"/min"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-satO2-fiO2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-satO2-fiO2.json new file mode 100644 index 00000000000..186e28e73c4 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-satO2-fiO2.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"satO2-fiO2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Observation SatO2 FiO2 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a observation satO2 fiO2 example for the *US Core Pulse Oximetry Profile* representing a spO2 value with a for a patient on 6 l/min of O2 suppplemental oxygen."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"satO2-fiO2\"

Profile: US Core Pulse Oximetry Profile

identifier: id: o1223435-10

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: Oxygen saturation in Arterial blood (LOINC#2708-6; LOINC#59408-5 \"Oxygen saturation in Arterial blood by Pulse oximetry\"; ISO 11073-10101 Health informatics - Point-of-care#150456 \"MDC_PULS_OXIM_SAT_O2\")

subject: Patient/example \" SHAW\"

effective: 2014-12-05 09:30:10+0100

value: 95 % (Details: UCUM code % = '%')

interpretation: Normal (applies to non-numeric results) (ObservationInterpretation#N \"Normal\")

device: : Acme Pulse Oximeter 2000

ReferenceRanges

-LowHigh
*90 % (Details: UCUM code % = '%')99 % (Details: UCUM code % = '%')

Components

-CodeValue[x]
*Inhaled oxygen flow rate (LOINC#3151-8)6 liters/min (Details: UCUM code L/min = 'L/min')
"},"identifier":[{"system":"http://goodcare.org/observation/id","value":"o1223435-10"}],"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"2708-6","display":"Oxygen saturation in Arterial blood"},{"system":"http://loinc.org","code":"59408-5","display":"Oxygen saturation in Arterial blood by Pulse oximetry"},{"system":"urn:iso:std:iso:11073:10101","code":"150456","display":"MDC_PULS_OXIM_SAT_O2"}]},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2014-12-05T09:30:10+01:00","valueQuantity":{"value":95,"unit":"%","system":"http://unitsofmeasure.org","code":"%"},"interpretation":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation","code":"N","display":"Normal"}],"text":"Normal (applies to non-numeric results)"}],"device":{"display":"Acme Pulse Oximeter 2000"},"referenceRange":[{"low":{"value":90,"unit":"%","system":"http://unitsofmeasure.org","code":"%"},"high":{"value":99,"unit":"%","system":"http://unitsofmeasure.org","code":"%"}}],"component":[{"code":{"coding":[{"system":"http://loinc.org","code":"3151-8","display":"Inhaled oxygen flow rate"}],"text":"Inhaled oxygen flow rate"},"valueQuantity":{"value":6,"unit":"liters/min","system":"http://unitsofmeasure.org","code":"L/min"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-calcium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-calcium.json new file mode 100644 index 00000000000..84991a57269 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-calcium.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"serum-calcium","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Serum Calcium Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a serum calcium example for the *US Core Observation Lab Profile*."}],"versionId":"902","lastUpdated":"2016-03-09T15:29:57.227+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"serum-calcium\" Version \"902\" Updated \"2016-03-09 03:29:57+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Calcium SerPl-mCnc (LOINC#17861-6)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 7.7 mg/dL

ReferenceRanges

-LowHighType
*8.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')10.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"17861-6","display":"Calcium SerPl-mCnc"}],"text":"Calcium SerPl-mCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":7.7,"unit":"mg/dL","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":8.5,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"high":{"value":10.5,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-chloride.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-chloride.json new file mode 100644 index 00000000000..dcfd240b0af --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-chloride.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"serum-chloride","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Serum Chloride Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a serum chloride example for the *US Core Observation Lab Profile*."}],"versionId":"950","lastUpdated":"2016-03-09T15:29:57.427+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"serum-chloride\" Version \"950\" Updated \"2016-03-09 03:29:57+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Chloride SerPl-sCnc (LOINC#2075-0)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 105.0 mmol/L

ReferenceRanges

-LowHighType
*95.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')105.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"2075-0","display":"Chloride SerPl-sCnc"}],"text":"Chloride SerPl-sCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":105.0,"unit":"mmol/L","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":95.0,"unit":"mmol/L","system":"http://unitsofmeasure.org","code":"mmol/L"},"high":{"value":105.0,"unit":"mmol/L","system":"http://unitsofmeasure.org","code":"mmol/L"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-co2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-co2.json new file mode 100644 index 00000000000..087c93fae44 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-co2.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"serum-co2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Serum CO2 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a serum CO2 example for the *US Core Observation Lab Profile*."}],"versionId":"962","lastUpdated":"2016-03-09T15:29:57.477+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"serum-co2\" Version \"962\" Updated \"2016-03-09 03:29:57+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: CO2 SerPl-sCnc (LOINC#2028-9)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 24.0 mmol/L

ReferenceRanges

-LowHighType
*22.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')29.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"2028-9","display":"CO2 SerPl-sCnc"}],"text":"CO2 SerPl-sCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":24.0,"unit":"mmol/L","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":22.0,"unit":"mmol/L","system":"http://unitsofmeasure.org","code":"mmol/L"},"high":{"value":29.0,"unit":"mmol/L","system":"http://unitsofmeasure.org","code":"mmol/L"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-creatinine.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-creatinine.json new file mode 100644 index 00000000000..7d8fd50da5b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-creatinine.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"serum-creatinine","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Serum Creatinine Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a serum creatinine example for the *US Core Observation Lab Profile*."}],"versionId":"926","lastUpdated":"2016-03-09T15:29:57.327+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"serum-creatinine\" Version \"926\" Updated \"2016-03-09 03:29:57+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Creat SerPl-mCnc (LOINC#2160-0)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 1.0 mg/dL

ReferenceRanges

-LowHighType
*0.2 mg/dL (Details: UCUM code mg/dL = 'mg/dL')0.6 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"2160-0","display":"Creat SerPl-mCnc"}],"text":"Creat SerPl-mCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":1.0,"unit":"mg/dL","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":0.2,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"high":{"value":0.6,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-potassium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-potassium.json new file mode 100644 index 00000000000..7cff604bc0b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-potassium.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"serum-potassium","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Serum Potassium Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a serum potassium example for the *US Core Observation Lab Profile*."}],"versionId":"938","lastUpdated":"2016-03-09T15:29:57.376+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"serum-potassium\" Version \"938\" Updated \"2016-03-09 03:29:57+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Potassium SerPl-sCnc (LOINC#2823-3)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 5.4 mmol/L

ReferenceRanges

-LowHighType
*3.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')5.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"2823-3","display":"Potassium SerPl-sCnc"}],"text":"Potassium SerPl-sCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":5.4,"unit":"mmol/L","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":3.5,"unit":"mmol/L","system":"http://unitsofmeasure.org","code":"mmol/L"},"high":{"value":5.5,"unit":"mmol/L","system":"http://unitsofmeasure.org","code":"mmol/L"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-sodium.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-sodium.json new file mode 100644 index 00000000000..4b396bb4796 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-sodium.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"serum-sodium","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Serum Sodium Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a serum sodium example for the *US Core Observation Lab Profile*."}],"versionId":"914","lastUpdated":"2016-03-09T15:29:57.277+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"serum-sodium\" Version \"914\" Updated \"2016-03-09 03:29:57+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Sodium SerPl-sCnc (LOINC#2951-2)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 137.0 mmol/L

ReferenceRanges

-LowHighType
*135.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')145.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"2951-2","display":"Sodium SerPl-sCnc"}],"text":"Sodium SerPl-sCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":137.0,"unit":"mmol/L","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":135.0,"unit":"mmol/L","system":"http://unitsofmeasure.org","code":"mmol/L"},"high":{"value":145.0,"unit":"mmol/L","system":"http://unitsofmeasure.org","code":"mmol/L"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-total-bilirubin.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-total-bilirubin.json new file mode 100644 index 00000000000..8b60747fabf --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-serum-total-bilirubin.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"serum-total-bilirubin","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Serum Total Bilirubin Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a serum total bilirubin example for the *US Core Observation Lab Profile*."}],"versionId":"1364","lastUpdated":"2016-03-09T15:29:59.089+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"serum-total-bilirubin\" Version \"1364\" Updated \"2016-03-09 03:29:59+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: Bilirub SerPl-mCnc (LOINC#1975-2)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-07

value: 8.6 mg/dL

ReferenceRanges

-LowHighType
*2.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')7.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Observation Reference Range Meaning Codes#normal)
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"1975-2","display":"Bilirub SerPl-mCnc"}],"text":"Bilirub SerPl-mCnc"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-07","valueQuantity":{"value":8.6,"unit":"mg/dL","system":"http://unitsofmeasure.org"},"referenceRange":[{"low":{"value":2.0,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"high":{"value":7.0,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/referencerange-meaning","code":"normal","display":"Normal Range"}],"text":"Normal Range"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-sexual-orientation-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-sexual-orientation-example.json new file mode 100644 index 00000000000..5a72b85af2d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-sexual-orientation-example.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"sexual-orientation-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Sexual Orientation Observation Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is an sexual orientation example for the *US Core Observation Sexual Orientation Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-sexual-orientation"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"sexual-orientation-example\"

Profile: US Core Observation Sexual Orientation Profile

status: final

category: Social History (Observation Category Codes#social-history)

code: Sexual orientation (LOINC#76690-7)

subject: Patient/example \" SHAW\"

effective: 2021-11-11

value: asked but unknown (NullFlavor#ASKU)

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history","display":"Social History"}]}],"code":{"coding":[{"system":"http://loinc.org","code":"76690-7","display":"Sexual orientation"}],"text":"Sexual orientation"},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2021-11-11","valueCodeableConcept":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-NullFlavor","code":"ASKU","display":"asked but unknown"}],"text":"asked but unknown"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-socialhistory-assessment-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-socialhistory-assessment-example.json new file mode 100644 index 00000000000..43a41eb50df --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-socialhistory-assessment-example.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"socialhistory-assessment-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Social History Assessment Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Social History Assessment Example for the *US Core Observation Social History Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-social-history"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"socialhistory-assessment-example\"

Profile: US Core Observation Social History Profile

status: final

category: SDOH (US Core Tags CodeSystem#sdoh), Social History (Observation Category Codes#social-history)

code: Transport too expensive (SNOMED CT#160695008)

subject: Patient/example \" SHAW\"

effective: 2021-05-10 09:56:54+0000

value: true

"},"status":"final","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}]},{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history","display":"Social History"}]}],"code":{"coding":[{"system":"http://snomed.info/sct","code":"160695008","display":"Transport too expensive"}]},"subject":{"reference":"Patient/example"},"effectiveDateTime":"2021-05-10T21:56:54.671Z","valueBoolean":true} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-some-day-smoker.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-some-day-smoker.json new file mode 100644 index 00000000000..847d0d0bfaa --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-some-day-smoker.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"some-day-smoker","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Some Day Smoker Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a some day smoker example for the *US Core Smokingstatus Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"some-day-smoker\"

Profile: US Core Smoking Status Observation Profile

status: final

category: Social History (Observation Category Codes#social-history)

code: Tobacco smoking status (LOINC#72166-2)

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2016-03-18 05:27:04+0000

value: Current some day smoker (SNOMED CT#428041000124106)

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"social-history","display":"Social History"}],"text":"Social History"}],"code":{"coding":[{"system":"http://loinc.org","code":"72166-2","display":"Tobacco smoking status"}],"text":"Tobacco smoking status"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2016-03-18T05:27:04Z","valueCodeableConcept":{"coding":[{"system":"http://snomed.info/sct","code":"428041000124106"}],"text":"Current some day smoker"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-temperature.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-temperature.json new file mode 100644 index 00000000000..d91edb87bb5 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-temperature.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"temperature","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Temperature Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a temperature example for the *Vitalsigns Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"temperature\"

Profile: US Core Body Temperature Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: temperature (LOINC#8310-5 \"Body temperature\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

value: 36.55556 Cel (Details: UCUM code Cel = 'Cel')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"8310-5","display":"Body temperature"}],"text":"temperature"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","valueQuantity":{"value":36.55556,"unit":"Cel","system":"http://unitsofmeasure.org","code":"Cel"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-urobilinogen.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-urobilinogen.json new file mode 100644 index 00000000000..e3b780c8933 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-urobilinogen.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"urobilinogen","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Urobilinogen Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a urobilinogen example for the *US Core Observation Lab Profile*."}],"versionId":"206612","lastUpdated":"2016-04-18T04:20:46.618+00:00","profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"urobilinogen\" Version \"206612\" Updated \"2016-04-18 04:20:46+0000\"

Profile: US Core Laboratory Result Observation Profile

status: final

category: Laboratory (Observation Category Codes#laboratory)

code: UROBILINOGEN (LOINC#20405-7 \"Urobilinogen [Mass/volume] in Urine by Test strip\")

subject: Patient/example: Amy Shaw \" SHAW\"

effective: 2005-07-05

value: 0.3 mg/dL (Details: UCUM code mg/dL = 'mg/dL')

ReferenceRanges

-LowHigh
*0.1 mg/dL (Details: UCUM code mg/dL = 'mg/dL')1.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')
"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"laboratory","display":"Laboratory"}],"text":"Laboratory"}],"code":{"coding":[{"system":"http://loinc.org","code":"20405-7","display":"Urobilinogen [Mass/volume] in Urine by Test strip"}],"text":"UROBILINOGEN"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"effectiveDateTime":"2005-07-05","valueQuantity":{"value":0.3,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"referenceRange":[{"low":{"value":0.1,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"},"high":{"value":1.0,"unit":"mg/dL","system":"http://unitsofmeasure.org","code":"mg/dL"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-weight.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-weight.json new file mode 100644 index 00000000000..c8aa0c275d6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-weight.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"weight","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Weight Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a weight example for the *Vitalsigns Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-weight"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"weight\"

Profile: US Core Body Weight Profile

status: final

category: Vital Signs (Observation Category Codes#vital-signs)

code: weight (LOINC#29463-7 \"Body Weight\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : GP Visit

effective: 1999-07-02

value: 20.09414 kg (Details: UCUM code kg = 'kg')

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}],"text":"Vital Signs"}],"code":{"coding":[{"system":"http://loinc.org","code":"29463-7","display":"Body Weight"}],"text":"weight"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"GP Visit"},"effectiveDateTime":"1999-07-02","valueQuantity":{"value":20.09414,"unit":"kg","system":"http://unitsofmeasure.org","code":"kg"}} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-xray-chest-findings.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-xray-chest-findings.json new file mode 100644 index 00000000000..61c6e34d5e8 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-xray-chest-findings.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"xray-chest-findings","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Xray Chest Findings Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Observation Imaging Result Profile illustrates its use to capture information about a patient's radiology study findings."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"xray-chest-findings\"

Profile: US Core Observation Imaging Result Profile

status: final

category: Imaging (Observation Category Codes#imaging)

code: Findings (LOINC#18782-3 \"Radiology Study observation (narrative)\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : ER Visit

effective: 2019-02-03 07:43:30+0000

value: LINES AND TUBES: None.\\n LUNGS AND PLEURA:\\n Clear lungs. Normal pulmonary vascularity.\\n No pleural effusion.\\n No pneumothorax.\\n HEART, MEDIASTINUM AND HILA:\\n Heart is normal in size.\\n Normal mediastinal and hilar contour.\\n BONES AND SOFT TISSUES:\\n No acute abnormality.\\n

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"imaging","display":"Imaging"}],"text":"Imaging"}],"code":{"coding":[{"system":"http://loinc.org","code":"18782-3","display":"Radiology Study observation (narrative)"}],"text":"Findings"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"ER Visit"},"effectiveDateTime":"2019-02-03T19:43:30.000Z","valueString":"LINES AND TUBES: None.\\n LUNGS AND PLEURA:\\n Clear lungs. Normal pulmonary vascularity.\\n No pleural effusion.\\n No pneumothorax.\\n HEART, MEDIASTINUM AND HILA:\\n Heart is normal in size.\\n Normal mediastinal and hilar contour.\\n BONES AND SOFT TISSUES:\\n No acute abnormality.\\n"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-xray-chest-impression.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-xray-chest-impression.json new file mode 100644 index 00000000000..93ac584a60d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Observation-xray-chest-impression.json @@ -0,0 +1 @@ +{"resourceType":"Observation","id":"xray-chest-impression","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Xray Chest Impression Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This example of a US Core Observation Imaging Result Profile illustrates its use to capture information about a patient's radiology study impression."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-imaging"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"xray-chest-impression\"

Profile: US Core Observation Imaging Result Profile

status: final

category: Imaging (Observation Category Codes#imaging)

code: Impression (LOINC#19005-8 \"Radiology Imaging study [Impression] (narrative)\")

subject: Patient/example: Amy Shaw \" SHAW\"

encounter: : ER Visit

effective: 2019-02-03 07:43:30+0000

value: No acute abnormality

"},"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"imaging","display":"Imaging"}],"text":"Imaging"}],"code":{"coding":[{"system":"http://loinc.org","code":"19005-8","display":"Radiology Imaging study [Impression] (narrative)"}],"text":"Impression"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"encounter":{"display":"ER Visit"},"effectiveDateTime":"2019-02-03T19:43:30.000Z","valueString":"No acute abnormality"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-acme-lab.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-acme-lab.json new file mode 100644 index 00000000000..2a62121b099 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-acme-lab.json @@ -0,0 +1 @@ +{"resourceType":"Organization","id":"acme-lab","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Acme Lab Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a acme lab example for the *US Core Organization Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"acme-lab\"

Profile: US Core Organization Profile

identifier: id: 1144221847, id: 12D4567890

active: true

type: Healthcare Provider (Organization type#prov)

name: Acme Labs

telecom: ph: (+1) 734-677-7777, hq@acme.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

"},"identifier":[{"system":"http://hl7.org/fhir/sid/us-npi","value":"1144221847"},{"system":"urn:oid:2.16.840.1.113883.4.7","value":"12D4567890"}],"active":true,"type":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/organization-type","code":"prov","display":"Healthcare Provider"}]}],"name":"Acme Labs","telecom":[{"system":"phone","value":"(+1) 734-677-7777"},{"system":"email","value":"hq@acme.org"}],"address":[{"line":["3300 Washtenaw Avenue, Suite 227"],"city":"Amherst","state":"MA","postalCode":"01002","country":"USA"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-example-organization-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-example-organization-2.json new file mode 100644 index 00000000000..6319523efa6 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-example-organization-2.json @@ -0,0 +1 @@ +{"resourceType":"Organization","id":"example-organization-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Organization 2 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a organization 2 example for the *US Core Organization Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"example-organization-2\"

Profile: US Core Organization Profile

identifier: id: 1407071236, id: 121111111

active: true

type: Healthcare Provider (Organization type#prov)

name: Acme Clinic

telecom: ph: (+1) 734-677-7777, customer-service@acme-clinic.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

"},"identifier":[{"system":"http://hl7.org/fhir/sid/us-npi","value":"1407071236"},{"system":"http://example.org/fhir/sid/us-tin","value":"121111111"}],"active":true,"type":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/organization-type","code":"prov","display":"Healthcare Provider"}]}],"name":"Acme Clinic","telecom":[{"system":"phone","value":"(+1) 734-677-7777"},{"system":"email","value":"customer-service@acme-clinic.org"}],"address":[{"line":["3300 Washtenaw Avenue, Suite 227"],"city":"Amherst","state":"MA","postalCode":"01002","country":"USA"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-saint-luke-w-endpoint.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-saint-luke-w-endpoint.json new file mode 100644 index 00000000000..deab0636e01 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Organization-saint-luke-w-endpoint.json @@ -0,0 +1 @@ +{"resourceType":"Organization","id":"saint-luke-w-endpoint","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Saint Luke W Endpoint Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a saint luke w endpoint example for the *US Core Organization Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization"]},"text":{"status":"generated","div":"
\n

Organization

\n
\n

ID: 393872

\n

Name: Saint Luke's Hospital of Kansas City

\n

NPI: 1063494177

\n

Phone:(816)932-2000

\n

Address:4401 Wornall Rd,, MO, 64111

\n
\n
"},"contained":[{"resourceType":"Endpoint","id":"75","status":"active","connectionType":{"system":"http://terminology.hl7.org/CodeSystem/endpoint-connection-type","code":"direct-project"},"name":"Dr. Ronald Bone Direct Address","managingOrganization":{"reference":"Organization/example-organization-2"},"payloadType":[{"coding":[{"system":"urn:oid:1.3.6.1.4.1.19376.1.2.3","code":"urn:hl7-org:sdwg:ccda-structuredBody:1.1"}]}],"payloadMimeType":["text/xml"],"address":"mailto:Interoperability@DirectAddress.com"}],"identifier":[{"system":"http://hl7.org/fhir/sid/us-npi","value":"1063494177"},{"system":"http://example.org/fhir/us/argo/sid/us-ein","value":"00-0000000"}],"active":true,"name":"Saint Luke's Hospital of Kansas City","telecom":[{"system":"phone","value":"(816)932-2000","use":"work"},{"system":"other","value":"http://www.saintlukeshealthsystem.org/locations/saint-lukes-hospital-kansas-city","use":"work"}],"address":[{"text":"3300 Washtenaw Avenue, Suite 227 Amherst MA 01002","line":["4401 Wornall Rd,"],"city":"Amherst","state":"MA","postalCode":"64111"}],"endpoint":[{"reference":"#75"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-child-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-child-example.json new file mode 100644 index 00000000000..58f87a1cc9e --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-child-example.json @@ -0,0 +1 @@ +{"resourceType":"Patient","id":"child-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Patient Child Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a patient child example for the *US Core Patient Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]},"text":{"status":"generated","div":"

Child Example male, DoB: 2016-01-15 ( Medical Record Number: 1032704 (USUAL))

"},"extension":[{"extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2028-9","display":"Asian"}},{"url":"text","valueString":"Asian"}],"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"},{"extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}],"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"},{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"M"}],"identifier":[{"use":"usual","type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MR","display":"Medical Record Number"}],"text":"Medical Record Number"},"system":"http://hospital.smarthealthit.org","value":"1032704"}],"active":true,"name":[{"family":"Example","given":["Child"]}],"telecom":[{"system":"phone","value":"555-555-5555","use":"home"}],"gender":"male","birthDate":"2016-01-15","address":[{"line":["49 Meadow St"],"city":"Mounds","state":"OK","postalCode":"74047","country":"US"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-example.json new file mode 100644 index 00000000000..d1a427f13e3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-example.json @@ -0,0 +1 @@ +{"resourceType":"Patient","id":"example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Patient Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a patient example for the *US Core Patient Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]},"text":{"status":"generated","div":"

Amy V. Baxter female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (USUAL))

"},"extension":[{"extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2106-3","display":"White"}},{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"1002-5","display":"American Indian or Alaska Native"}},{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2028-9","display":"Asian"}},{"url":"detailed","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"1586-7","display":"Shoshone"}},{"url":"detailed","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2036-2","display":"Filipino"}},{"url":"text","valueString":"Mixed"}],"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"},{"extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2135-2","display":"Hispanic or Latino"}},{"url":"detailed","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2184-0","display":"Dominican"}},{"url":"detailed","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2148-5","display":"Mexican"}},{"url":"text","valueString":"Hispanic or Latino"}],"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"},{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"F"},{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity","valueCodeableConcept":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-NullFlavor","code":"ASKU","display":"asked but unknown"}],"text":"asked but unknown"}}],"identifier":[{"use":"usual","type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MR","display":"Medical Record Number"}],"text":"Medical Record Number"},"system":"http://hospital.smarthealthit.org","value":"1032702"}],"active":true,"name":[{"use":"old","family":"Shaw","given":["Amy","V."],"period":{"start":"2016-12-06","end":"2020-07-22"}},{"family":"Baxter","given":["Amy","V."],"suffix":["PharmD"],"period":{"start":"2020-07-22"}}],"telecom":[{"system":"phone","value":"555-555-5555","use":"home"},{"system":"email","value":"amy.shaw@example.com"}],"gender":"female","birthDate":"1987-02-20","address":[{"use":"old","line":["49 Meadow St"],"city":"Mounds","state":"OK","postalCode":"74047","country":"US","period":{"start":"2016-12-06","end":"2020-07-22"}},{"line":["183 Mountain View St"],"city":"Mounds","state":"OK","postalCode":"74048","country":"US","period":{"start":"2020-07-22"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-infant-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-infant-example.json new file mode 100644 index 00000000000..43d70fb644b --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Patient-infant-example.json @@ -0,0 +1 @@ +{"resourceType":"Patient","id":"infant-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Patient Infant Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a patient infant example for the *US Core Patient Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient"]},"text":{"status":"generated","div":"

Infant Example male, DoB: 2020-06-02 ( Medical Record Number: 1032703 (USUAL))

"},"extension":[{"extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2028-9","display":"Asian"}},{"url":"text","valueString":"Asian"}],"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"},{"extension":[{"url":"ombCategory","valueCoding":{"system":"urn:oid:2.16.840.1.113883.6.238","code":"2186-5","display":"Not Hispanic or Latino"}},{"url":"text","valueString":"Not Hispanic or Latino"}],"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"},{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex","valueCode":"M"}],"identifier":[{"use":"usual","type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MR","display":"Medical Record Number"}],"text":"Medical Record Number"},"system":"http://hospital.smarthealthit.org","value":"1032703"}],"active":true,"name":[{"family":"Example","given":["Infant"]}],"telecom":[{"system":"phone","value":"555-555-5555","use":"home"}],"gender":"male","birthDate":"2020-06-02","address":[{"line":["49 Meadow St"],"city":"Mounds","state":"OK","postalCode":"74047","country":"US"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Practitioner-practitioner-1.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Practitioner-practitioner-1.json new file mode 100644 index 00000000000..bb19542a022 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Practitioner-practitioner-1.json @@ -0,0 +1 @@ +{"resourceType":"Practitioner","id":"practitioner-1","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Practitioner 1 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a practitioner 1 example for the *US Core Practitioner Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"practitioner-1\"

Profile: US Core Practitioner Profile

identifier: id: 9941339108, id: 25456

name: Ronald Bone

address: 1003 Healthcare Drive Amherst MA 01002 (HOME)

"},"identifier":[{"system":"http://hl7.org/fhir/sid/us-npi","value":"9941339108"},{"system":"http://www.acme.org/practitioners","value":"25456"}],"name":[{"family":"Bone","given":["Ronald"],"prefix":["Dr"]}],"address":[{"use":"home","line":["1003 Healthcare Drive"],"city":"Amherst","state":"MA","postalCode":"01002"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Practitioner-practitioner-2.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Practitioner-practitioner-2.json new file mode 100644 index 00000000000..d910bd070ea --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Practitioner-practitioner-2.json @@ -0,0 +1 @@ +{"resourceType":"Practitioner","id":"practitioner-2","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Practitioner 2 Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a practitioner 2 example for the *US Core Practitioner Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"practitioner-2\"

Profile: US Core Practitioner Profile

identifier: id: 1245319599, id: 456789

name: Fielding Kathy

telecom: Kathy.Fielding@direct.ExampleMedicalPractice.net

address: 1080 FIRST COLONIAL RD Virginia Beach VA 21454-2406 (WORK)

"},"identifier":[{"system":"http://hl7.org/fhir/sid/us-npi","value":"1245319599"},{"system":"http://www.acme.org/practitioners","value":"456789"}],"name":[{"family":"Kathy","given":["Fielding"],"prefix":["Dr"]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct","valueBoolean":true}],"system":"email","value":"Kathy.Fielding@direct.ExampleMedicalPractice.net","use":"work"}],"address":[{"use":"work","line":["1080 FIRST COLONIAL RD"],"city":"Virginia Beach","state":"VA","postalCode":"21454-2406"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Procedure-defib-implant.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Procedure-defib-implant.json new file mode 100644 index 00000000000..70fe4e0bbc9 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Procedure-defib-implant.json @@ -0,0 +1 @@ +{"resourceType":"Procedure","id":"defib-implant","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Procedure R4 Defib Implant Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a Procedure R4 defib implant example for the *US Core Procedure Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"defib-implant\"

Profile: US Core Procedure Profile

identifier: id: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff

status: completed

code: Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber (Current Procedural Terminology (CPT®)#33249)

subject: Patient/example \" SHAW\"

performed: 2019-03-26 12:55:26-0700 --> 2019-03-26 01:25:26-0700

Performers

-Actor
*Practitioner/practitioner-1 \" BONE\"

FocalDevices

-Manipulated
*Device/udi-2
"},"identifier":[{"system":"urn:ietf:rfc:3986","value":"urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff"}],"status":"completed","code":{"coding":[{"system":"http://www.ama-assn.org/go/cpt","code":"33249"}],"text":"Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber"},"subject":{"reference":"Patient/example"},"performedPeriod":{"start":"2019-03-26T12:55:26-07:00","end":"2019-03-26T13:25:26-07:00"},"performer":[{"actor":{"reference":"Practitioner/practitioner-1"}}],"focalDevice":[{"manipulated":{"reference":"Device/udi-2"}}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Procedure-rehab.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Procedure-rehab.json new file mode 100644 index 00000000000..ae50a052bd3 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/Procedure-rehab.json @@ -0,0 +1 @@ +{"resourceType":"Procedure","id":"rehab","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Rehab Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a rehab example for the *US Core Procedure Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"rehab\"

Profile: US Core Procedure Profile

status: completed

code: Alcohol rehabilitation (SNOMED CT#24165007 \"Alcoholism counseling\"; ICD-10 Procedure Codes#HZ30ZZZ \"Individual Counseling for Substance Abuse Treatment, Cognitive\")

subject: Patient/example: Amy Shaw \" SHAW\"

performed: 2002-05-23

"},"status":"completed","code":{"coding":[{"system":"http://snomed.info/sct","code":"24165007","display":"Alcoholism counseling"},{"system":"http://www.cms.gov/Medicare/Coding/ICD10","code":"HZ30ZZZ","display":"Individual Counseling for Substance Abuse Treatment, Cognitive"}],"text":"Alcohol rehabilitation"},"subject":{"reference":"Patient/example","display":"Amy Shaw"},"performedDateTime":"2002-05-23"} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-AHC-HRSN-screening-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-AHC-HRSN-screening-example.json new file mode 100644 index 00000000000..576f4407937 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-AHC-HRSN-screening-example.json @@ -0,0 +1 @@ +{"resourceType":"QuestionnaireResponse","id":"AHC-HRSN-screening-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"AHC HRSN Screening Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"'An example of an SDC QuestionnaireResponse that represents questions and selected answers from the Accountable health communities (AHC) health-related social needs screening (HRSN) tool in LOINC (code 96777-8). The example is generated using the LHC-Forms SDC Questionnaire App.'"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse"],"tag":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh"}]},"text":{"status":"generated","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
LinkIdTextDefinitionAnswer\"doco\"
\".\"\".\" AHC-HRSN-screening-exampleQuestionnaireResponse
\".\"\".\"\".\" /76513-1How hard is it for you to pay for the very basics like food, housing, medical care, and heating?LOINC LA31980-8: Not hard at all
\".\"\".\"\".\" /96780-2Do you want help finding or keeping work or a job?LOINC LA31983-2: I do not need or want help
\".\"\".\"\".\" /96781-0If for any reason you need help with day-to-day activities such as bathing, preparing meals, shopping, managing finances, etc., do you get the help you need?LOINC LA31976-6: I don't need any help
\".\"\".\"\".\" /93159-2How often do you feel lonely or isolated from those around you?LOINC LA6270-8: Never
\".\"\".\"\".\" /97027-7Do you speak a language other than English at home?LOINC LA32-8: No
\".\"\".\"\".\" /96782-8Do you want help with school or training? For example, starting or completing job training or getting a high school diploma, GED or equivalent.LOINC LA32-8: No
\".\"\".\"\".\" /89555-7In the last 30 days, other than the activities you did for work, on average, how many days per week did you engage in moderate exercise (like walking fast, running, jogging, dancing, swimming, biking, or other similar activities)?LOINC LA10137-0: 5
\".\"\".\"\".\" /68516-4On average, how many minutes did you usually spend exercising at this level on one of those days?LOINC LA28853-2: 60
\".\"\".\"\".\" /68517-2How many times in the past 12 months have you had 5 or more drinks in a day (males) or 4 or more drinks in a day (females)?LOINC LA6270-8: Never
\".\"\".\"\".\" /96842-0How often have you used any tobacco product in past 12 months?LOINC LA6270-8: Never
\".\"\".\"\".\" /95530-2How many times in the past year have you used prescription drugs for non-medical reasons?LOINC LA6270-8: Never
\".\"\".\"\".\" /68524-8How many times in the past year have you used illegal drugs?LOINC LA6270-8: Never
\".\"\".\"\".\" /44250-9Little interest or pleasure in doing things?LOINC LA6568-5: Not at all
\".\"\".\"\".\" /44255-8Feeling down, depressed, or hopeless?LOINC LA6568-5: Not at all
\".\"\".\"\".\" /93038-8Stress means a situation in which a person feels tense, restless, nervous, or anxious, or is unable to sleep at night because his or her mind is troubled all the time. Do you feel this kind of stress these days?LOINC LA13863-8: A little bit
\".\"\".\"\".\" /69858-9Because of a physical, mental, or emotional condition, do you have serious difficulty concentrating, remembering, or making decisions?LOINC LA32-8: No
\".\"\".\"\".\" /69861-3Because of a physical, mental, or emotional condition, do you have difficulty doing errands alone such as visiting a physician's office or shopping?LOINC LA32-8: No

\"doco\" Documentation for this format
"},"questionnaire":"http://example.org/Questionnaire/lforms-ahn-hrsn-screening","_questionnaire":{"extension":[{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri","valueUri":"http://example.org/Questionnaire/lforms-ahn-hrsn-screening"}]},"status":"completed","subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"authored":"2022-03-29T22:38:59.084Z","item":[{"linkId":"/76513-1","text":"How hard is it for you to pay for the very basics like food, housing, medical care, and heating?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA31980-8","display":"Not hard at all"}}]},{"linkId":"/96780-2","text":"Do you want help finding or keeping work or a job?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA31983-2","display":"I do not need or want help"}}]},{"linkId":"/96781-0","text":"If for any reason you need help with day-to-day activities such as bathing, preparing meals, shopping, managing finances, etc., do you get the help you need?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA31976-6","display":"I don't need any help"}}]},{"linkId":"/93159-2","text":"How often do you feel lonely or isolated from those around you?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}}]},{"linkId":"/97027-7","text":"Do you speak a language other than English at home?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]},{"linkId":"/96782-8","text":"Do you want help with school or training? For example, starting or completing job training or getting a high school diploma, GED or equivalent.","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]},{"linkId":"/89555-7","text":"In the last 30 days, other than the activities you did for work, on average, how many days per week did you engage in moderate exercise (like walking fast, running, jogging, dancing, swimming, biking, or other similar activities)?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA10137-0","display":"5"}}]},{"linkId":"/68516-4","text":"On average, how many minutes did you usually spend exercising at this level on one of those days?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA28853-2","display":"60"}}]},{"linkId":"/68517-2","text":"How many times in the past 12 months have you had 5 or more drinks in a day (males) or 4 or more drinks in a day (females)?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}}]},{"linkId":"/96842-0","text":"How often have you used any tobacco product in past 12 months?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}}]},{"linkId":"/95530-2","text":"How many times in the past year have you used prescription drugs for non-medical reasons?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}}]},{"linkId":"/68524-8","text":"How many times in the past year have you used illegal drugs?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA6270-8","display":"Never"}}]},{"linkId":"/44250-9","text":"Little interest or pleasure in doing things?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA6568-5","display":"Not at all"}}]},{"linkId":"/44255-8","text":"Feeling down, depressed, or hopeless?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA6568-5","display":"Not at all"}}]},{"linkId":"/93038-8","text":"Stress means a situation in which a person feels tense, restless, nervous, or anxious, or is unable to sleep at night because his or her mind is troubled all the time. Do you feel this kind of stress these days?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA13863-8","display":"A little bit"}}]},{"linkId":"/69858-9","text":"Because of a physical, mental, or emotional condition, do you have serious difficulty concentrating, remembering, or making decisions?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]},{"linkId":"/69861-3","text":"Because of a physical, mental, or emotional condition, do you have difficulty doing errands alone such as visiting a physician's office or shopping?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-PRAPARE-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-PRAPARE-example.json new file mode 100644 index 00000000000..50ab97b4a3d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-PRAPARE-example.json @@ -0,0 +1 @@ +{"resourceType":"QuestionnaireResponse","id":"PRAPARE-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"PRAPARE Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"'An example of an US Core QuestionnaireResponse that represents questions and selected answers from the PRAPARE questionnaire represented in LOINC (code 93025-5). The example is generated using the LHC-Forms SDC Questionnaire App.'"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse"],"tag":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh"}]},"text":{"status":"generated","div":"
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
LinkIdTextDefinitionAnswer\"doco\"
\".\"\".\" PRAPARE-exampleQuestionnaireResponse
\".\"\".\"\".\" /93025-5Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences [PRAPARE]
\".\"\".\"\".\"\".\" /93043-8Personal characteristics
\".\"\".\"\".\"\".\"\".\" /93043-8/56051-6Do you consider yourself Hispanic/Latino?LOINC LA32-8: No
\".\"\".\"\".\"\".\"\".\" /93043-8/32624-9Race
\".\"\".\"\".\"\".\"\".\" /93043-8/93035-4At any point in the past 2 years, has season or migrant farm work been your or your family's main source of income?LOINC LA33-6: Yes
\".\"\".\"\".\"\".\"\".\" /93043-8/93034-7Have you been discharged from the armed forces of the United States?LOINC LA32-8: No
\".\"\".\"\".\"\".\"\".\" /93043-8/54899-0Preferred languageLOINC LA43-5: English
\".\"\".\"\".\"\".\" /93042-0Family and home
\".\"\".\"\".\"\".\"\".\" /93042-0/63512-8How many people are living or staying at this address?6
\".\"\".\"\".\"\".\"\".\" /93042-0/71802-3Housing statusLOINC LA30190-5: I do not have housing (staying with others, in a hotel, in a shelter, living outside on the street, on a beach, in a car, or in a park)
\".\"\".\"\".\"\".\"\".\" /93042-0/93033-9Are you worried about losing your housing?LOINC LA30122-8: I choose not to answer this question
\".\"\".\"\".\"\".\"\".\" /93042-0/56799-0AddressBroadway
\".\"\".\"\".\"\".\" /93041-2Money and resources
\".\"\".\"\".\"\".\"\".\" /93041-2/82589-3Highest level of educLOINC LA30191-3: Less than high school degree
\".\"\".\"\".\"\".\"\".\" /93041-2/67875-5Employment status currentLOINC LA17956-6: Unemployed
\".\"\".\"\".\"\".\"\".\" /93041-2/76437-3Primary insuranceLOINC LA17849-3: Medicaid
\".\"\".\"\".\"\".\"\".\" /93041-2/63586-2What was your best estimate of the total income of all family members from all sources, before taxes, in last year?25000
\".\"\".\"\".\"\".\"\".\" /93041-2/93031-3In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?
\".\"\".\"\".\"\".\"\".\" /93041-2/93030-5Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living?LOINC LA30134-3: Yes, it has kept me from non-medical meetings, appointments, work, or from getting things that I need
\".\"\".\"\".\"\".\" /93040-4Social and emotional health
\".\"\".\"\".\"\".\"\".\" /93040-4/93029-7How often do you see or talk to people that you care about and feel close to (For example: talking to friends on the phone, visiting friends or family, going to church or club meetings)?LOINC LA30130-1: 1 or 2 times a week
\".\"\".\"\".\"\".\"\".\" /93040-4/93038-8Stress is when someone feels tense, nervous, anxious or can't sleep at night because their mind is troubled. How stressed are you?LOINC LA13909-9: Somewhat
\".\"\".\"\".\"\".\" /93039-6Optional additional questions
\".\"\".\"\".\"\".\"\".\" /93039-6/93028-9In the past year, have you spent more than 2 nights in a row in a jail, prison, detention center, or juvenile correctional facility?LOINC LA32-8: No
\".\"\".\"\".\"\".\"\".\" /93039-6/93027-1Are you a refugee?LOINC LA32-8: No
\".\"\".\"\".\"\".\"\".\" /93039-6/93026-3Do you feel physically and emotionally safe where you currently live?LOINC LA32-8: No
\".\"\".\"\".\"\".\"\".\" /93039-6/76501-6Within the last year, have you been afraid of your partner or ex-partner?LOINC LA32-8: No

\"doco\" Documentation for this format
"},"questionnaire":"http://hl7.org/fhir/us/sdoh-clinicalcare/Questionnaire/SDOHCC-QuestionnairePRAPARE","_questionnaire":{"extension":[{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri","valueUri":"https://example.org/forms/PRAPARE"}]},"status":"completed","subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"authored":"2022-03-28T18:30:40-07:00","item":[{"linkId":"/93025-5","text":"Protocol for Responding to and Assessing Patients' Assets, Risks, and Experiences [PRAPARE]","item":[{"linkId":"/93043-8","text":"Personal characteristics","item":[{"linkId":"/93043-8/56051-6","text":"Do you consider yourself Hispanic/Latino?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]},{"linkId":"/93043-8/32624-9","text":"Race","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA4457-3","display":"White"}},{"valueCoding":{"system":"http://loinc.org","code":"LA30187-1","display":"Pacific Islander"}}]},{"linkId":"/93043-8/93035-4","text":"At any point in the past 2 years, has season or migrant farm work been your or your family's main source of income?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA33-6","display":"Yes"}}]},{"linkId":"/93043-8/93034-7","text":"Have you been discharged from the armed forces of the United States?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]},{"linkId":"/93043-8/54899-0","text":"Preferred language","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA43-5","display":"English"}}]}]},{"linkId":"/93042-0","text":"Family and home","item":[{"linkId":"/93042-0/63512-8","text":"How many people are living or staying at this address?","answer":[{"valueInteger":6}]},{"linkId":"/93042-0/71802-3","text":"Housing status","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA30190-5","display":"I do not have housing (staying with others, in a hotel, in a shelter, living outside on the street, on a beach, in a car, or in a park)"}}]},{"linkId":"/93042-0/93033-9","text":"Are you worried about losing your housing?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA30122-8","display":"I choose not to answer this question"}}]},{"linkId":"/93042-0/56799-0","text":"Address","answer":[{"valueString":"Broadway"}]}]},{"linkId":"/93041-2","text":"Money and resources","item":[{"linkId":"/93041-2/82589-3","text":"Highest level of educ","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA30191-3","display":"Less than high school degree"}}]},{"linkId":"/93041-2/67875-5","text":"Employment status current","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA17956-6","display":"Unemployed"}}]},{"linkId":"/93041-2/76437-3","text":"Primary insurance","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA17849-3","display":"Medicaid"}}]},{"linkId":"/93041-2/63586-2","text":"What was your best estimate of the total income of all family members from all sources, before taxes, in last year?","answer":[{"valueDecimal":25000}]},{"linkId":"/93041-2/93031-3","text":"In the past year, have you or any family members you live with been unable to get any of the following when it was really needed?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA30126-9","display":"Clothing"}},{"valueCoding":{"system":"http://loinc.org","code":"LA30127-7","display":"Child care"}}]},{"linkId":"/93041-2/93030-5","text":"Has lack of transportation kept you from medical appointments, meetings, work, or from getting things needed for daily living?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA30134-3","display":"Yes, it has kept me from non-medical meetings, appointments, work, or from getting things that I need"}}]}]},{"linkId":"/93040-4","text":"Social and emotional health","item":[{"linkId":"/93040-4/93029-7","text":"How often do you see or talk to people that you care about and feel close to (For example: talking to friends on the phone, visiting friends or family, going to church or club meetings)?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA30130-1","display":"1 or 2 times a week"}}]},{"linkId":"/93040-4/93038-8","text":"Stress is when someone feels tense, nervous, anxious or can't sleep at night because their mind is troubled. How stressed are you?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA13909-9","display":"Somewhat"}}]}]},{"linkId":"/93039-6","text":"Optional additional questions","item":[{"linkId":"/93039-6/93028-9","text":"In the past year, have you spent more than 2 nights in a row in a jail, prison, detention center, or juvenile correctional facility?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]},{"linkId":"/93039-6/93027-1","text":"Are you a refugee?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]},{"linkId":"/93039-6/93026-3","text":"Do you feel physically and emotionally safe where you currently live?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]},{"linkId":"/93039-6/76501-6","text":"Within the last year, have you been afraid of your partner or ex-partner?","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA32-8","display":"No"}}]}]}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-glascow-coma-score.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-glascow-coma-score.json new file mode 100644 index 00000000000..a190a48d890 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-glascow-coma-score.json @@ -0,0 +1 @@ +{"resourceType":"QuestionnaireResponse","id":"glascow-coma-score","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Glascow Coma Score Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"'This example of a US Core QuestionnaireResponse illustrate using Questionnaire as a *stand alone* resource. It does not point to the definition of the questions in a FHIR Questionnaire, but represents the answers from a non FHIR survey instrument (in this case a pdf).'"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse"]},"text":{"status":"generated","div":"
\r\n\r\n\r\n\r\n
LinkIdTextDefinitionAnswer\"doco\"
\".\"\".\" glascow-coma-scoreQuestionnaireResponse
\".\"\".\"\".\" 1Eye Opening Response4
\".\"\".\"\".\" 2Verbal Response4
\".\"\".\"\".\" 3Motor Response4

\"doco\" Documentation for this format
"},"_questionnaire":{"extension":[{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri","valueUri":"https://www.cdc.gov/masstrauma/resources/gcs.pdf"}]},"status":"completed","subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"authored":"2014-12-11T04:44:16Z","author":{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"},"item":[{"linkId":"1","text":"Eye Opening Response","answer":[{"valueDecimal":4}]},{"linkId":"2","text":"Verbal Response","answer":[{"valueDecimal":4}]},{"linkId":"3","text":"Motor Response","answer":[{"valueDecimal":4}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-hunger-vital-sign-example.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-hunger-vital-sign-example.json new file mode 100644 index 00000000000..0583b71f032 --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/QuestionnaireResponse-hunger-vital-sign-example.json @@ -0,0 +1 @@ +{"resourceType":"QuestionnaireResponse","id":"hunger-vital-sign-example","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Hunger Vital Sign [HVS] Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"'An example of an SDC QuestionnaireResponse that represents questions and selected answers from the Hunger Vital Sign Example questionnaire represented in LOINC (code 88122-7). The example is generated using the LHC-Forms SDC Questionnaire App.'"}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse"],"tag":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh"}]},"text":{"status":"generated","div":"
\r\n\r\n\r\n\r\n
LinkIdTextDefinitionAnswer\"doco\"
\".\"\".\" hunger-vital-sign-exampleQuestionnaireResponse
\".\"\".\"\".\" /88122-7(I/We) worried whether (my/our) food would run out before (I/we) got money to buy more.LOINC LA28397-0: Often true
\".\"\".\"\".\" /88123-5The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more.LOINC LA28397-0: Often true
\".\"\".\"\".\" /88124-3Food insecurity riskLOINC LA19952-3: At risk

\"doco\" Documentation for this format
"},"questionnaire":"http://hl7.org/fhir/us/sdoh-clinicalcare/Questionnaire/SDOHCC-QuestionnaireHungerVitalSign","_questionnaire":{"extension":[{"url":"http://hl7.org/fhir/us/core/StructureDefinition/us-core-extension-questionnaire-uri","valueUri":"https://example.org/forms/hsv"}]},"status":"completed","subject":{"reference":"Patient/example","display":"Amy V. Shaw"},"authored":"2020-09-10T21:56:54.671Z","author":{"reference":"Practitioner/practitioner-1","display":"Ronald Bone"},"item":[{"linkId":"/88122-7","text":"(I/We) worried whether (my/our) food would run out before (I/we) got money to buy more.","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA28397-0","display":"Often true"}}]},{"linkId":"/88123-5","text":"The food that (I/we) bought just didn't last, and (I/we) didn't have money to get more.","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA28397-0","display":"Often true"}}]},{"linkId":"/88124-3","text":"Food insecurity risk","answer":[{"valueCoding":{"system":"http://loinc.org","code":"LA19952-3","display":"At risk"}}]}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/RelatedPerson-shaw-niece.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/RelatedPerson-shaw-niece.json new file mode 100644 index 00000000000..b3f7947f3aa --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/RelatedPerson-shaw-niece.json @@ -0,0 +1 @@ +{"resourceType":"RelatedPerson","id":"shaw-niece","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"Patient Niece Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a patient niece example for the *US Core RelatedPerson Profile Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"shaw-niece\"

Profile: US Core RelatedPerson Profile

active: true

patient: Patient/example: Amy V. Shaw \" SHAW\"

relationship: niece (RoleCode#NIECE)

name: Sarah van Putten (OFFICIAL)

telecom: ph: 555-555-5555(HOME), sarah.vanputten@example.com

birthDate: 1996-01-28

address: 80A Village Street New Holland PA 17557 (HOME)

"},"active":true,"patient":{"reference":"Patient/example","display":"Amy V. Shaw"},"relationship":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-RoleCode","code":"NIECE","display":"niece"}]}],"name":[{"use":"official","family":"van Putten","given":["Sarah"]}],"telecom":[{"system":"phone","value":"555-555-5555","use":"home"},{"system":"email","value":"sarah.vanputten@example.com","use":"home"}],"birthDate":"1996-01-28","address":[{"use":"home","line":["80A Village Street"],"city":"New Holland","state":"PA","postalCode":"17557"}]} \ No newline at end of file diff --git a/conformance/fhir-ig-us-core/src/test/resources/JSON/500/ServiceRequest-foodpantry-referral.json b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/ServiceRequest-foodpantry-referral.json new file mode 100644 index 00000000000..3e0fe70f26d --- /dev/null +++ b/conformance/fhir-ig-us-core/src/test/resources/JSON/500/ServiceRequest-foodpantry-referral.json @@ -0,0 +1 @@ +{"resourceType":"ServiceRequest","id":"foodpantry-referral","meta":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/instance-name","valueString":"ServiceRequest Example"},{"url":"http://hl7.org/fhir/StructureDefinition/instance-description","valueMarkdown":"This is a service request example for the *US Core ServiceRequest Profile Profile*."}],"profile":["http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest"]},"text":{"status":"generated","div":"

Generated Narrative

Resource \"foodpantry-referral\"

Profile: US Core ServiceRequest Profile

status: active

intent: order

category: Social Determinants Of Health (US Core Tags CodeSystem#sdoh \"SDOH\")

code: Assistance with application for food pantry program (SNOMED CT#467771000124109)

subject: Patient/example \" SHAW\"

occurrence: 2021-11-20

authoredOn: 2021-11-12 10:59:38-0800

requester: Practitioner/practitioner-1 \" BONE\"

"},"status":"active","intent":"order","category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/us-core-tags","code":"sdoh","display":"SDOH"}],"text":"Social Determinants Of Health"}],"code":{"coding":[{"system":"http://snomed.info/sct","code":"467771000124109","display":"Assistance with application for food pantry program"}]},"subject":{"reference":"Patient/example"},"occurrenceDateTime":"2021-11-20","authoredOn":"2021-11-12T10:59:38-08:00","requester":{"reference":"Practitioner/practitioner-1"}} \ No newline at end of file diff --git a/fhir-registry/src/test/java/com/ibm/fhir/registry/test/ExampleIndex.java b/fhir-registry/src/test/java/com/ibm/fhir/registry/test/ExampleIndex.java new file mode 100644 index 00000000000..8b71a3b6707 --- /dev/null +++ b/fhir-registry/src/test/java/com/ibm/fhir/registry/test/ExampleIndex.java @@ -0,0 +1,344 @@ +/* + * (C) Copyright IBM Corp. 2020, 2022 + * + * SPDX-License-Identifier: Apache-2.0 + */ + +package com.ibm.fhir.registry.test; + +import static com.ibm.fhir.registry.util.FHIRRegistryUtil.isDefinitionalResource; + +import java.io.BufferedReader; +import java.io.InputStream; +import java.io.InputStreamReader; +import java.io.OutputStream; +import java.io.OutputStreamWriter; +import java.io.Reader; +import java.io.Writer; +import java.nio.charset.StandardCharsets; +import java.util.Collections; +import java.util.Objects; +import java.util.Set; +import java.util.TreeSet; +import java.util.logging.Level; +import java.util.logging.Logger; + +import com.ibm.fhir.model.resource.Resource; +import com.ibm.fhir.model.resource.SearchParameter; +import com.ibm.fhir.model.resource.StructureDefinition; +import com.ibm.fhir.registry.util.FHIRRegistryUtil; +import com.ibm.fhir.registry.util.Index; + +import jakarta.json.spi.JsonProvider; +import jakarta.json.stream.JsonGenerator; +import jakarta.json.stream.JsonGeneratorFactory; +import jakarta.json.stream.JsonParser; +import jakarta.json.stream.JsonParser.Event; +import jakarta.json.stream.JsonParserFactory; + +/** + * Based on {@link Index} but for examples instead of conformance artifacts + */ +public class ExampleIndex { + private static final Logger log = Logger.getLogger(ExampleIndex.class.getName()); + + private static final JsonProvider PROVIDER = JsonProvider.provider(); + private static final JsonParserFactory PARSER_FACTORY = PROVIDER.createParserFactory(null); + private static final JsonGeneratorFactory GENERATOR_FACTORY = PROVIDER.createGeneratorFactory(Collections.singletonMap(JsonGenerator.PRETTY_PRINTING, true)); + + private int version = -1; + private final Set entries = new TreeSet<>(); + + public ExampleIndex() { } + + public ExampleIndex(int version) { + if (version < 1) { + throw new IllegalArgumentException("index version must be a positive integer"); + } + this.version = version; + } + + public Set getEntries() { + return Collections.unmodifiableSet(entries); + } + + public void load(InputStream in) { + load(new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8))); + } + + public void load(Reader reader) { + JsonParser parser = PARSER_FACTORY.createParser(reader); + + String keyName = null; + while (parser.hasNext()) { + Event event = parser.next(); + switch (event) { + case KEY_NAME: + keyName = parser.getString(); + break; + case VALUE_NUMBER: + if ("index-version".equals(keyName)) { + version = parser.getInt(); + } + case START_ARRAY: + if ("files".equals(keyName)) { + parseFiles(parser); + } + break; + default: + break; + } + } + + parser.close(); + + if (version < 1) { + throw new IllegalStateException("index version was not set"); + } + } + + private void parseFiles(JsonParser parser) { + int i = 0; + while (parser.hasNext()) { + Event event = parser.next(); + switch (event) { + case START_OBJECT: + try { + parseFile(parser); + } catch (NullPointerException e) { + log.log(Level.WARNING, "Skipping index entry " + i + " due to " + + "one or more missing required fields, beginning with: " + e.getMessage()); + } + i++; + break; + case END_ARRAY: + return; + default: + break; + } + } + } + + private void parseFile(JsonParser parser) { + String fileName = null; + String resourceType = null; + String id = null; + String url = null; + String version = null; + String kind = null; + String type = null; + + String keyName = null; + while (parser.hasNext()) { + Event event = parser.next(); + switch (event) { + case KEY_NAME: + keyName = parser.getString(); + break; + case VALUE_STRING: + switch (keyName) { + case "filename": + fileName = parser.getString(); + break; + case "resourceType": + resourceType = parser.getString(); + break; + case "id": + id = parser.getString(); + break; + case "url": + url = parser.getString(); + break; + case "version": + version = parser.getString(); + break; + case "kind": + kind = parser.getString(); + break; + case "type": + type = parser.getString(); + break; + } + break; + case END_OBJECT: + entries.add(new Entry(fileName, resourceType, id, url, version, kind, type)); + return; + default: + break; + } + } + } + + public void store(OutputStream out) { + store(new OutputStreamWriter(out, StandardCharsets.UTF_8)); + } + + public void store(Writer writer) { + if (version < 1) { + throw new IllegalStateException("index version was not set"); + } + if (entries.isEmpty()) { + throw new IllegalStateException("index contains no entries"); + } + JsonGenerator generator = GENERATOR_FACTORY.createGenerator(writer); + generator.writeStartObject(); + generator.write("index-version", version); + generator.writeStartArray("files"); + for (Entry entry : entries) { + write(generator, entry); + } + generator.writeEnd(); + generator.writeEnd(); + generator.flush(); + generator.close(); + } + + private void write(JsonGenerator generator, Entry entry) { + generator.writeStartObject(); + generator.write("filename", entry.getFileName()); + generator.write("resourceType", entry.getResourceType()); + generator.write("id", entry.getId()); + generator.writeEnd(); + } + + public boolean add(Entry entry) { + if (entry == null) { + return false; + } + return entries.add(entry); + } + + public static class Entry implements Comparable { + private final String fileName; + private final String resourceType; + private final String id; + private final String url; + private final String version; + private final String kind; + private final String type; + + private Entry( + String fileName, + String resourceType, + String id, + String url, + String version, + String kind, + String type) { + this.fileName = Objects.requireNonNull(fileName, "fileName"); + this.resourceType = Objects.requireNonNull(resourceType, "resourceType"); + this.id = id; + this.url = url; + this.version = version; + this.kind = kind; + this.type = type; + } + + public String getFileName() { + return fileName; + } + + public String getResourceType() { + return resourceType; + } + + public String getId() { + return id; + } + + public static Entry entry(Resource resource) { + Objects.requireNonNull(resource); + + if (!isDefinitionalResource(resource)) { + return null; + } + + String id = resource.getId(); + if (id == null) { + return null; + } + + String url = FHIRRegistryUtil.getUrl(resource); + String version = FHIRRegistryUtil.getVersion(resource); + if (url == null) { + return null; + } + + int idx = url.indexOf("|"); + if (idx != -1) { + version = url.substring(idx + 1); + url = url.substring(0, idx); + } + + String resourceType = resource.getClass().getSimpleName(); + String fileName = resourceType + "-" + id + ".json"; + String kind = null; + String type = null; + + if (resource instanceof StructureDefinition) { + StructureDefinition structureDefinition = (StructureDefinition) resource; + kind = structureDefinition.getKind().getValue(); + type = structureDefinition.getType().getValue(); + } else if (resource instanceof SearchParameter) { + SearchParameter searchParameter = (SearchParameter) resource; + type = searchParameter.getType().getValue(); + } + + return new Entry(fileName, resourceType, id, url, version, kind, type); + } + + @Override + public boolean equals(Object obj) { + if (this == obj) { + return true; + } + if (obj == null) { + return false; + } + if (getClass() != obj.getClass()) { + return false; + } + Entry other = (Entry) obj; + return Objects.equals(fileName, other.fileName) && + Objects.equals(resourceType, other.resourceType) && + Objects.equals(id, other.id) && + Objects.equals(url, other.url) && + Objects.equals(version, other.version) && + Objects.equals(kind, other.kind) && + Objects.equals(type, other.type); + } + + @Override + public int hashCode() { + return Objects.hash( + fileName, + resourceType, + id, + url, + version, + kind, + type); + } + + @Override + public int compareTo(Entry other) { + return this.fileName.compareTo(other.fileName); + } + } + + public static Set readIndex(String indexPath) { + log.info("Loading index: " + indexPath); + try (InputStream in = FHIRRegistryUtil.class.getClassLoader().getResourceAsStream(indexPath)) { + if (in == null) { + log.log(Level.WARNING, "Index '" + indexPath + "' was not found"); + return Collections.emptySet(); + } + ExampleIndex index = new ExampleIndex(); + index.load(in); + return index.getEntries(); + } catch (Exception e) { + log.log(Level.WARNING, "Unexpected error while loading index '" + indexPath + "'", e); + } + return Collections.emptySet(); + } +} diff --git a/term/fhir-term/src/main/java/com/ibm/fhir/term/util/ValueSetSupport.java b/term/fhir-term/src/main/java/com/ibm/fhir/term/util/ValueSetSupport.java index 75499e6bafc..09eb842f8c2 100644 --- a/term/fhir-term/src/main/java/com/ibm/fhir/term/util/ValueSetSupport.java +++ b/term/fhir-term/src/main/java/com/ibm/fhir/term/util/ValueSetSupport.java @@ -149,7 +149,7 @@ public static List getContains(Expansion expansion) { * Get the value set associated with the given url from the FHIR registry. * * @param url - * the url of the value set + * the url of the value set (with optional version postfix and optional fragment id for contained resources) * @return * the value set associated with the given input parameter, or null if no such value set exists */